Pavlov
01-27-2002, 09:13 PM
Hi,
I am trying to install a .php script here (PHPLive) and it actually shows me code of the script as text in browser.
What am I doing wrong?
(I have 0 experience in PHP or any other lang)
You have to set up Apache so it knows how to deal with PHP files. Depending on how you installed PHP ( as a module or cgi ), you either need to add a LoadModule directive and point it to the php module, or add an Action directive that points to the php interpreter. You will also need AddType lines for each of the PHP extentions. This is all explained further in the PHP installation instructions.
HTH,
Justin
Pavlov
01-27-2002, 09:34 PM
Thanxs. I am trying it on another server now.
mkaufman
01-27-2002, 10:18 PM
You just need to edit httpd.conf and uncomment the php4 set of lines...that is, if php is even installed.
Pavlov
01-27-2002, 10:55 PM
cheers
it worked on the other server
I am playing around with PHPLive now. looks awesome.