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

Posted April 5, 2015 14.3k views

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 [—-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.

Submit an Answer
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.