Recompile PHP with bundled GD support
I have installed a LAMP server in Mint Helena Gnome 64-bit.
This is basically an Ubuntu Karmic clone, so I have an Ubuntu server.
From phpinfo():
PHP Version 5.2.10-2ubuntu6.4
System Linux HelenaGNOME 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64
I downloaded the source code and decompressed in /home/"
CD to directory php5.2.10 and typed ./configure --help.
Got a bunch of options which tells me that I am in the right directory.
I need to reconfigure PHP with bundled GD support.
What is the correct syntax to do this?
Inside /home/"
./configure --with-gd=shared --enable-
dpkg-buildpackage -rfakeroot
dpkg -i php5-gd 5.2.10-
/etc/init.d/apache2 restart
Please modify as needed.
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu php5 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Carlos Kosloff for more information if necessary.