Best unofficial Apache Server developers community |
|
Hello Guys, 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/
posted via StackOverflow
|
|
 
|
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. |
|
 
|
Have you tried using the chmod() function in PHP? |
![]()  
|
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. |