1
I’m studying about Nginx and it seems to be faster than good old Apache. My doubt is. I have the Nginx already installed and running (with the welcome msg). I created an index.php page and automatically the server gives me a 403 return, if I create an index.html page the text file is interpreted. If I create a test/index.php directory the directory is recognized but the php file is not.
I’m sorry for the question but after searching a few hours I couldn’t understand exactly what happens, it seems that the server does not read php files. I wear a Buntu and install:
sudo apt-get install nginx php5-fpm
sudo apt-get install php5-cli php5-curl php5-xdebug php5-intl php-pear
I followed this tutorial:http://www.erikaheidi.com/pt_br/blog/nginx-php5-fpm-instalacao-passo-a-passo
If anyone can help me, it will be of great help. Abs
My default file
How is your
/etc/nginx/sites-available/default
?– Sergio
sorry I couldn’t post the file here but it’s on github now https://github.com/digomes87/your-portfolio/blob/master/nginx
– Diego Go
Only php files do not work? Appears some error message written "in input"?
– Guilherme Nascimento
only the php files, only return I have is the 403 Forbidden
– Diego Go