[solved] Where do I locate the PHP.INI for PHP-7 FPM

Discussion in 'Server Operation' started by fbarcenas, Mar 28, 2017.

  1. fbarcenas

    fbarcenas Member

    I followed this guide: https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
    I can't seem to locate the INI files for it. When I type ./php --ini in the /opt/php-7.1/bin directory it says NONE. So how would one go about adding something like max_execution_time = 300 ? Do the PHP properties option under the website option actually work with NGINX?

    root@server1:/opt/php-7.1/bin# ./php --ini
    Configuration File (php.ini) Path: /opt/php-7.1/lib
    Loaded Configuration File:         /opt/php-7.1/lib/php.ini
    Scan for additional .ini files in: (none)
    Additional .ini files parsed:      (none)
    Just this main?
    Last edited: Mar 28, 2017
  2. fbarcenas

    fbarcenas Member

    yeah aparently just /opt/php-7.1/lib/php.ini works.

Share This Page