PHP script is not working.
I am less than a two week old User for Linux
I will be doing a web server for my office I wanted to test the phpinfo page but than when i go to //localhost/~mmsaulon/test.php It say Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster My command is very simple <?php phpinfo(); ?> Save at ~mmsaulon/public_html/test.php I wonder why is there a Access Forbidden Error I want to try to test this infopage localhost is working I am using SUSE Server 10, Apache, PHP, MySQL Hope that you guys could help me. Thank you for reading my help posting Have a Good Day. |
chmod -R 755 ~mmsaulon/public_html
|
Always remember, to access your public_html, enabling UserDir is not enough. All dirs in path of your public_html should have +x (executable) rights... then only it will work
|
actually the folder public_html is already with the permissions that you have question but im still getting the same result.
but anyways thanks for the reply. |
Difference between Linux server & windows server
|
by the way, is there an order in installing these softwares?
|
Post the document root, exact url your trying to accessing for displaying phpinfo, also which file is displaying when you are calling http://localhost/
|
All times are GMT -5. The time now is 12:10 AM. |