|
Posted by Jerry on 01/02/06 16:55
I successfully installed Apache 2 and am trying to install php 5
Whenever I go to my index.php, it brings it up in an editor rather than
running it.
here's what I have done so far:
I have renamed the php.ini-recommended file to php.ini
I added the "extension_dir = c:\php" to the ini
I have placed it in my windows directory
I took the php5ts.dll and placed it in the system32 directory
I have inserted the following in the httpd.conf:
LoadModule php5_module c:/php/php5apache2.dll
ScriptAlias /php/ "c:/php"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd.php .php .phtml
Anything else I have missed or any ideas?
Navigation:
[Reply to this message]
|