-4
Following this tutorial video https://www.youtube.com/watch?v=onVSVC_C1GE&t=717s. Already at the beginning of the default change, made the default changes, the default Nginx index should be "subscribed" by the index.php configured more for some reason nothing changes even after the settings suggested in the video anyone has any suggestions? I’m not getting the settings right. And I already formatted the machine to reset the settings, because the last time I tried so hard not even localhost was clicking on the browsers. I use Mint 18.3 distribution The content of my default follows this link only way I managed to paste the code the way it is without breaking. https://gist.githubusercontent.com/rafaumeu/333ba4ad4757566fe517d25a40871c2f/raw/855c0328d2a5f376c2b6df50ad8d6bc6a1f65141/gistfile1.txt
only thing I changed in php.ini was the line where it was written cgi.fix_pathinfo=0, which was commented and with value equal to 1 and I withdrew the comment and put zero according to the tutorials I followed so that it works correctly with php7.0-fpm.
If you want to carry the index php. need to change the configuration of Nginx. Normally this setting is in
/etc/nginx/sites-available/default
. After changes, just restart the server Nginx with thesudo nginx -s reload
– Valdeir Psr
@Valdeirpsr was done I did a test creating a file named phpinfo.php and the information is displayed correctly in the localhost/phpinfo.php url but in the index where I call phpinfo(); when typing localhost I expected q the default index Nginx was replaced by php information, q ñ occurred continues to display the default index
– Rafael Dias Zendron
If possible click on [Edit] and post the code of the Nginx configuration file.
– Valdeir Psr
@Valdeirpsr will do it the night you speak the default ñ is?
– Rafael Dias Zendron
If possible post the refente configuration file to your website. It may be the default or another.
– Valdeir Psr
You edit the question and add the default
– Rafael Dias Zendron