baraxil Posted April 2, 2007 Share Posted April 2, 2007 i put this in my httpd.conf file.. ScriptAlias /php/" C:/Program Files/php" AddType application/x-httpd-php .php Action application/x-httpd-php "C:/Program Files/PHP/php.exe" and i get an error that says.. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 2, 2007 Share Posted April 2, 2007 Load it as a Module instead of cgi (script alias) Apache module lines: LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll" AddType application/x-httpd-php .php Note: if you are using apache2.2.x then replace php5apache2.dll with php5apache2_2.dll, or if you are using PHP4 then replace php5 with php4 Save the httpd.conf and restart Apache. Quote Link to comment Share on other sites More sharing options...
baraxil Posted April 2, 2007 Author Share Posted April 2, 2007 wow thanks Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 2, 2007 Share Posted April 2, 2007 As a side note I would not recommend installing anything server related in C:\program files. I prefer to install these in C:\server instead. This keeps everything centralised and keeps paths short and space free. Having spaces involved in paths may cause problems. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.