Jump to content

Recompile PHP using ./configure


deecee2000

Recommended Posts

Hi All,

 

    I have installed xampp on my linux box. I want to recompile PHP by using ./configure command.

 

    The directory structure is below on my linux box.

 

    /opt/lampp/htdocs (Where all my project stored here)

    /opt/lampp/etc/php.ini

    /opt/lampp/etc/httpd.conf

 

    When I tried ./configure it is giving me an error "./configure: No such file or directory"

 

  Can anyone focus here how I recompile php with exact which commands.

 

  Your help will be highly appreciated.

 

Thnx in Advance.

Deecee2000

Link to comment
https://forums.phpfreaks.com/topic/174638-recompile-php-using-configure/
Share on other sites

I want to install image magick. I made below changes in php.ini.

 

;extension=php_imagick.dll

to

extension=php_imagick.dll

Restarted apache server.

 

But still no luck.

 

And how do I accomplish it with yum or apt-get. (I mean what is exact syntax or source?)

 

Thnx.

Thanks for your prompt reply.

 

The Xampp comes with all php+apache and mysql. How do I remove only php from there?

 

I tried this command

# apt-get install php-imagick

 

I got

-bash: apt-get: command not found

 

what is the error in above command?

Thnx

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.