Page 1 of 1

Help - Php source code prints to screen

Posted: Thu Nov 13, 2003 8:08 pm
by dangerousjohnny
Hi everyone,
I am fairly new to PHP, but I recently installed Apache and PHP and everything was working fine, but all of a sudden, when I run my perl scripts, the browser just displays the source code. These same scripts worked fine the other day, but now nothing works. help!

Posted: Thu Nov 13, 2003 8:33 pm
by m3mn0n
check your apache httpd.conf file, is .cgi or .pl, which ever you use, identified as a perl filetype?

Posted: Thu Nov 13, 2003 8:34 pm
by scorphus
Hi dangerousjohnny, welcome to PHP Developers Network.

Please, do not post same topic two times, oppening a new thread on same topic/problem, like you did with this.

This topic is already being discussed here: viewtopic.php?t=14575

Please some mod lock this thread...

Cheers,
Scorphus.

Posted: Thu Nov 13, 2003 8:35 pm
by dangerousjohnny
scorphus wrote:Hi dangerousjohnny, welcome to PHP Developers Network.

Please, do not post same topic two times, oppening a new thread on same topic/problem, like you did with this.

This topic is already being discussed here: viewtopic.php?t=14575

Please some mod lock this thread...

Cheers,
Scorphus.
I was told to post it here, rather than the code section

Posted: Thu Nov 13, 2003 8:41 pm
by scorphus
Yes, I've read it on the other thread. It's a board moderator's job. That's ok, don't worry. Let's wait for some of them fix things...

Keep on the other thread then, and as Sami said, check your httpd.conf.

Cheers,
Scorphus.

Posted: Thu Nov 13, 2003 8:43 pm
by dangerousjohnny
Thanks for the reply, but check the conf file for what? Sorry but Im new to this.

Posted: Fri Nov 14, 2003 1:03 am
by infolock
ok, let's ask a few questions then.

What Web Server do you have? Did you download Apache ? Also what OS are you using?

If you are using windows XP, follow the steps (this is also assuming you have Apache ) located at :

http://www.onlygeeks.com/read/15

it's an article I wrote up just for these special occations :)

Posted: Fri Nov 14, 2003 2:58 am
by twigletmac
Topic continues/was split from here:
viewtopic.php?t=14575

Mac