PDA

View Full Version : problem with php scripts


adonai
3-7-02, 03:25 AM
The php scripts does not run on unlogic.net. I've changed CHMOD to 755 for cgi-bin folder and for all scripts there.
I've added the path to php translator to the top of script file like wrote in FAQ.
But it shows error 500.

Ronski
3-7-02, 03:33 AM
I think--I'm not sure--but I think your scripts need to be in htdocs or a subdirectory of it. Seems like I tried putting a php subdirectory inside CGI-BIN a few days ago when I was starting out, and it wouldn't work.

Try making your php directory a subfolder of htdocs. 755 the folder and the scripts again. See if that'll do it.

MannInc
3-15-02, 04:32 AM
Also, make sure that you're upload the php pages in ASCII mode.

Hope this helps!

adonai
3-15-02, 11:44 PM
Problem realy was in ASCII mode. ;)

Thanks Ronski and Mann.