0

I recently switched to a new server... But I am facing problem. On opening every .php page I am getting following error. Html pages are working fine but .php files not. I uploaded a simple php page that have a single echo statement... still I am getting below error..

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@pghostels.co.in and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Edited by rohit.k2903: n/a

3
Contributors
8
Replies
9
Views
5 Years
Discussion Span
Last Post by Smeagel13
0

Perhaps an .htaccess file that is now incorrect ? If not, check your logfiles.

here is the code written in .htacces file

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName pghostels.co.in
AuthUserFile /home/pghostel/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/pghostel/public_html/_vti_pvt/service.grp

Also I wrote following statements into .htacces but my problem is not solved yet

Options +FollowSymLinks
Options +Indexes
RewriteEngine on

and access-logs directory is empty.

Edited by rohit.k2903: n/a

0

Have you tried (temporarily) removing the .htaccess ?

Getting same error..

0

If even

<?php echo phpinfo(); ?>

without a htaccess file gives that error, I suggest you contact your host's support.

0

If even

<?php echo phpinfo(); ?>

without a htaccess file gives that error, I suggest you contact your host's support.

The problem is that I can't run any php file..

Edited by rohit.k2903: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.