timtam Posted October 29, 2005 Share Posted October 29, 2005 Hey guys, I was hoping someone might be able to tell me what I have done wrong with my installation of php and apache. I am using apache 2 and php5 on a windows xp OS (with sp2). My installation of apache was fine. According to me. When I typed in the localhost in firefox I got the desired page. The problem I have is installing php. This is what I have done thus far. I got the zip file and extracted it to C:\php From here took the php-recomended file into C:\windows and renamed it to php.ini I placed (as i want to install as a module instead of the a cgi) # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" at the bottom of the httpd.conf file. I have also set the path ;C:\php; I have done (as far as I know) everything that the documents have said. But it is not working. I get a 404 error what have I missed out? Quote Link to comment Share on other sites More sharing options...
timtam Posted October 30, 2005 Author Share Posted October 30, 2005 I don't know what happened between yesterday and today. But when I put on the computer I get the desired results. That is to say that in the when i use phpinfo(); to check and see if the php installation is working I was getting a 404 error message. Anyway, just thought I would say that the php installation is up and running; 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.