Question

I am not able to find "cgi.fix_pathinfo" in my php.ini file...

Posted April 5, 2015 10.3k views
Nginx MySQL LEMP

I am not able to find “cgi.fix_pathinfo” in my php.ini file (sudo nano /etc/php5/fpm/php.ini) after running the “sudo apt-get install php5-fpm php5-mysql” when configure the PHP Processor in LEMP (Ubuntu 14.04) according to [https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04#step-three-—-install-php-for-processing](http://)

Why is this happening and how to solve this?

Appreciate with all your help.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

The line should be there, according to the latest packages. Are you looking for it manually? Try using nano’s search function. Open php.ini in nano and press Ctrl-W, type “fix_pathinfo”, and press Enter.

Submit an Answer