Report this

What is the reason for this report?

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

Posted on April 5, 2015
Teng

By Teng

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

Why is this happening and how to solve this?

Appreciate with all your help.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.