Menu

php.ini

Anonymous
2015-05-03
2015-05-04
  • Anonymous

    Anonymous - 2015-05-03

    I looked for php.ini after installing NGINX+PHP container, where it use to be in other distros, but I can not find it at any place.

    phpinfo() says that is at /usr/lib but it is not there.

    Is there another file that replace it?

     
  • Andrea Benini

    Andrea Benini - 2015-05-04

    As you may see you'll have a straight config with php+fpm+nginx.
    With a scratch compile of the FPM module there's a file called /etc/php-fpm.conf, in this file you may see most common php.ini params, if you'd like to use a php.ini file you can include it (and insert your settings as well) from php-fpm.conf. I have chosen phpfpm because it's the fastest module when you'd like php with a small and light httpd service (nginx is my preferred choice in this tight system). Services:
    /etc/init.d/php-fpm
    /etc/init.d/nginx

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB