Uploaded PHP files not running on Amazon cloud ,while files created there are running well
I have deployed my PHP web app on Amazon Ec2 cloud , but my files are not running ,because my my files's are uploed using ec-user account while if i create a file there using root it can run easily. i have changed the owner and group of all uploaded files to root , but then also server response is
The website encountered an error while retrieving 开发者_如何转开发mydns/index.php It may be down for maintenance or configured incorrectly.
while if i run another file which i create there using putty then it runs perfectly.
Please help me if u think a some configuration is required there I have deployed the website there inside /var/www/html/somefolder/
check the permissions of a .php file which is working and one which isn't with ls -l. I believe the permissions need to be 744.
Unix is case sensitive while Windows is not when i am referring any files in case sensitively the PHP gives error in Unix only so, to make it woking I need to make all paths and file referencing like various include ,require,src and action varible and methods case sensitive.
Thanks to all of you.
精彩评论