[PHP script problem] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



PHP script problem

(Click here to view the original thread with full colors/images)



Posted by: wan_14my

Hi all,

I'm trying to install a php script on my website. It's an autoresponder script. It's called unlimited autoresponder. However, when I'm trying to access the script from my browser, I get this error message

---------------------------------------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [email]webmaster@chuangcomputer.com[/email] 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."

-------------------------------------------------------

Can somebody help me?



Posted by: johnyB_24

Are you sure you typing the right address to the script?Also check that you have set the correct permissions to the script file.



Posted by: wan_14my

I'm not so sure about the address/path however, I've checked the permission to the script file and the permission is right.

I've also contacted my hosting server and they said maybe the path is wrong.

I'll check the path again



Posted by: Vormund

You can also try putting:
[php]<?php
phpinfo();
exit;
?>[/php]
At the top of your script. If that loads up, then it's just a problem in the script.



Posted by: wan_14my

you mean before the #! usr/sbin/perl ?



Posted by: wan_14my

My bad..it's a cgi script...sorry guys..But, still I don't know what's happening



Posted by: wan_14my

It's ok now. The problem is the permission. The manual said set it to 777 but when I set it to 755, everything work fine. Darn manual



Posted by: Vormund

777 doesn't work but 755 does? That seems a bit odd (but I've not done much with CGI either)... :rolleyes:



Posted by: wan_14my

yeah..It works. I don't know why. I reuploaded the script and set the permission to 755.





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon