Page 1 of 1
What have I done wrong? newbie [solved]
Posted: Sun Jan 11, 2004 3:19 pm
by nutstretch
I have installed mysql and php on my machine as i thought i had on my other one. when i try the test.php thing all i get is the code and not the proper screen does anyone know where i acn start looking for what i have done wrong.
This machine has iis as well. my other doesn't could that be it?
Posted: Sun Jan 11, 2004 3:47 pm
by Pyrite
Yes, you must add the .php extensions telling IIS to parse them with php.
Read through this, under installing IIS on XP.
http://www.php.net/manual/en/install.iis.php
Posted: Sun Jan 11, 2004 3:50 pm
by nutstretch
i want to use apache server not iis does that makie a difference?
Sorry i am really thick until it clicks and as you can image it hasn't clicked yet
Posted: Sun Jan 11, 2004 3:52 pm
by basdog22
Posted: Sun Jan 11, 2004 4:01 pm
by Pyrite
So you use Apache server then. Still have to tell Apache to parse php files with php.
Posted: Sun Jan 11, 2004 4:22 pm
by nutstretch
i thought i had done that in the httpd file in conf.
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "php/php.exe"
Posted: Sun Jan 11, 2004 5:57 pm
by Straterra
http://www.php.net/manual/en/install.apache.php
Check out that link..
I would use the Module instead..The module has ALWAYS worked better for me..as a matter of fact..the Module has always worked..PERIOD..
Posted: Sun Jan 11, 2004 6:27 pm
by Pyrite
Yes, don't use the CGI .exe. use the Apache Module (the .dll file).