All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Nginx and php issue
Okay first of all I feel like an idiot as for over 10 hours I've struggled with this now.
I want to have Nginx plus php working but it never turns out that way.
I want to have a user called www-data which can upload and delete in the folder /home/web/www-data - this I also want to make the public_html folder basically.
I have been able to get this far but then when accessing said files via web even with correct perms and owned by correct user it throws forbidden errors and 404 errors to files I know are there. It also when trying to access php files just downloads the php file instead of displaying it...
Please somebody, can you post a good step by step tutorial for ubuntu 14.10 64bit so I can get this fixed and sleep easy tonight...
Comments
Why don't you start off by posting your config..
chown -R www-data:www-data /home/web/www-data-folder
pastebin your nginx config, hopefully somene will help you on 404 forbidden etc
I've asked for a tutorial first of all. I've done a fresh install so it's easier for me to work from.
Well if you are going to have a crappy attitude then why would anyone help? We are here to help you not do all the work for you!
How was that a crappy attitude? it was a simple response to the questions being asked of me... There was no bad attitude of the such, you are taking a response completely out of context.
Here you go dirt bag,
http://bit.ly/QTnHH0
First result works perfectly fine, I did it three days ago.
For fucks sake, why are you all being so fucking hostile... I asked for an easy to follow tutorial so I could get the basics out of the way because I've followed several thus far with no luck in getting this running... I really don't understand why you are bashing me for asking for help.
I didn't write anything in a poor attitude and I didn't write anything offensive to you guys yet you start attacking me?
http://tuxlite.com/
https://github.com/lj2007331/lnmp
Followed that DigitalOcean tutorial step by step. It works but all PHP files are download as filename.php. Also I need the www-data user to be accessible and it currently gives an error connecting to the server, unsure why.
Here's an auto installer for LEMP Stack (Linux, Nginx, MySQL, PHP)
http://www.comfortvps.com/VPS/Auto-installer-Nginx-PHP-php-fpm-MySql-CentOS.html
Credit to: ComfortVPS for making this bash installer.
I appreciate that problem is I've already installed it all and configured it but something is wrong. I also have Ubuntu 14.10 LTS instead of CentOS.
Again, post your nginx and php configs..
nginx.conf
http://pastebin.com/0z7BGBEk
sites-available/default
http://pastebin.com/FE7rpKLP
php-fpm.conf
http://pastebin.com/AzgfvJEc
php.ini
http://pastebin.com/X6dj9vtv
Anymore files you'd like me to supply?
Uncommenting that line throws an error of invalid host and then when modified it throws a duplicate entry.
I am using php-fpm
https://paste.ee/p/igon1#RtKKbccWKZMTC9x37HooKnK0ZJpwovRS
restart nginx
You are a god send. Thank you SO MUCH.