I have installed php-5.3 from source on a VM containing Ubuntu 14.04. The build commands are
./configure --enable-fpm --with-curl --with-pdo-mysql=/path/to/mysql --withgd --with-jpeg-dir --with-png-dir
make
make test
sudo make install
While make test
fails on some tests, the output of make install
is
Installing PHP SAPI module: cgi
Installing PHP CGI binary: /usr/local/bin/
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 1.3.12
[PEAR] Console_Getopt - already installed: 1.3.1
[PEAR] Structures_Graph- already installed: 1.0.4
[PEAR] XML_Util - already installed: 1.2.3
[PEAR] PEAR - already installed: 1.9.5
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
Problem is that I don't see any php.ini
in anywhere, e.g. /
. What does the last sentence mean?
You may want to add: /usr/local/lib/php to your php.ini include_path
Actually /usr/local/lib/php
is a directory.
Regards,
Mahmood
Mahmood