Where is the PHP source directory location in ubuntu?
I have installed ubuntu 9.04 LAMP server, then installed ubuntu-dektop GUI
Now i have installed imagemagick, and im trying to install magickwand... But magickwand wants me to extract the package to the PHP source directory, and i cannot find it....
I know php is working because i've tested some code in the www folder.
PHP source directory location
Moderator: General Moderators
Re: PHP source directory location
By default there's no php source directory in Ubuntu because Ubuntu is a binary package based distro. You can install php5-dev package and compile the magickwand extension, then plug it into existing php install. For this you don't need to copy it anywhere - just unzip it, cd to the directory it created and run
Code: Select all
phpize && ./configure && make && sudo make install