Installing PHP from source and no php.ini
| From: | Mahmood Naderan | Date: | Fri, 13 Mar 2020 20:34:31 +0000 |
| Subject: | Installing PHP from source and no php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327027@lists.php.net to get a copy of this message | ||
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