Re: Installing PHP from source and no php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does php info run (php -info | grep php.ini)? It should show the location of the file (if locate isn't finding it).

On Fri, Mar 13, 2020 at 4:34 PM Mahmood Naderan <mahmood.nt@xxxxxxxxx> wrote:

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux