beefa
01-27-2005, 05:54 AM
Hi all,
I recently have had a .php file uploaded into my root directory. I open the web page on my main computer by typing in my fileserver's address.
My page successfully linked to the .php file, but it just displayed as text. I have installed AppServ and that is all. Is there some config I need to fool with?
Thanks guys,
Curtis
Burhan
01-27-2005, 06:48 AM
You need to edit your server so that it sends .php files to the php engine.
Depending on your webserver, this can mean different steps -- so post what webserver you are using, or read the official installation guide (http://www.php.net/installation) at php.net.
S-Comm
01-27-2005, 01:39 PM
You may need to take a look at your webserver software documentation & Installing php on that.
rtstats
01-27-2005, 01:52 PM
Maybe your server don't understand the script is a PHP-script. Are you absolutely sure the script has a .php extension? If so, open httpd.conf and check if .php is a registered extension.
Originally posted by fyrestrtr
You need to edit your server so that it sends .php files to the php engine.
Depending on your webserver, this can mean different steps -- so post what webserver you are using, or read the official installation guide (http://www.php.net/installation) at php.net.
If you can't work that out and all else fails then have a look at the appserv forums. I'm sure someone on there can assist you.
http://www.appservnetwork.com/yabbse/index.php?board=1
I Just realised that he has in fact already started a thread on the appserv forums. Silly me.
Jason.NXH
01-28-2005, 05:43 AM
But installing AppServ should automatically setup the PHP module with Apache. Make sure you install AppServ 2.5.1, as I have discovered bugs with AppServ 2.5.2 with MySQL and PHP
beefa
01-28-2005, 07:17 AM
thanks!
problem fixed! yay 4 me!
thanks guys,
curtis
Jason.NXH
01-28-2005, 07:20 AM
No problems, we're all here to help. If you have anymore problems, just post :P