deecee2000 Posted September 17, 2009 Share Posted September 17, 2009 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 More sharing options...
corbin Posted September 17, 2009 Share Posted September 17, 2009 You do have the source, right? Also, why do you want to recompile? What ever it is, I bet you can accomplish it with yum or apt-get. Link to comment https://forums.phpfreaks.com/topic/174638-recompile-php-using-configure/#findComment-920389 Share on other sites More sharing options...
deecee2000 Posted September 17, 2009 Author Share Posted September 17, 2009 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. Link to comment https://forums.phpfreaks.com/topic/174638-recompile-php-using-configure/#findComment-920397 Share on other sites More sharing options...
corbin Posted September 17, 2009 Share Posted September 17, 2009 Well, you will have to remove the PHP part of xampp (which you would've had to do if you recompiled anyway), and do something like the following: apt-get install php php-imagick php-mysql.... So on for all of the extensions you want. Link to comment https://forums.phpfreaks.com/topic/174638-recompile-php-using-configure/#findComment-920400 Share on other sites More sharing options...
deecee2000 Posted September 17, 2009 Author Share Posted September 17, 2009 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 Link to comment https://forums.phpfreaks.com/topic/174638-recompile-php-using-configure/#findComment-920402 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.