PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, October 10, 2022

[FIXED] How can I Enable Webp support in php GD library in xampp on linux

 October 10, 2022     gd, linux, php, php-7, xampp     No comments   

Issue

I have XAMPP for Linux 7.0.8.

And enabled with GD Support.

screenshot of phpinfo(); about GD

I want to use imagewebp();. I have error while using this,

Fatal error: Uncaught Error: Call to undefined function imagewebp()

while searching for a solution I have concluded with is solution from http://php.net/manual/en/image.installation.php

Image Format | Configure Switch

webp | To enable support for webp add --with-vpx-dir=DIR . Available as of PHP 5.5.

I want to enable webp support.

What I want to do?


Solution

I finally came up with a Solution of Uninstalling XAMPP Application and installing Native LAMP stack server.

Why Because I cannot Recompile PHP in XAMPP. It will be more difficult.

I used My native Linux Apache/PHP installation instead, So I can download source packages and recompile PHP to my needs.



Answered By - GanesH RahuL
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing