timlondon Posted February 4, 2007 Share Posted February 4, 2007 I've just upgraded to Vista from XP. Anyone know what the deal is with Vista and Apache 2.0.52? I've installed the server, mysql and php and I can access the index page ("If you can see this, it means that the installation of the Apache web server software on this system was successful...") on localhost but I get a 404 when I try to access my phpinfo page and any other of my html pages in htdocs. I've tried searching for help online but I can't find anything about this. Quote Link to comment Share on other sites More sharing options...
trq Posted February 4, 2007 Share Posted February 4, 2007 Have you configured php within the httpd.conf file and resterted Apache? Quote Link to comment Share on other sites More sharing options...
timlondon Posted February 4, 2007 Author Share Posted February 4, 2007 Yeah, I added: LoadModule php5_module c:/php5/php5apache2.dll AddType application/x-httpd-php .php .phtml .html I've also added php.ini to c:\windows and php5ts to c:\windows\system32 I've also noticed that if I look at the htdocs folder in explorer the phpinfo.php and my own basic html test file don't appear until I click on a "Compatibility Files" button. When I click on this button all of the default files in htdocs disappear and phpinfo and test.html (my simple test page) appear. Quote Link to comment Share on other sites More sharing options...
timlondon Posted February 5, 2007 Author Share Posted February 5, 2007 I've kind of found a solution. By moving phpinfo.php to a new subfolder of htdocs it works. I think the original problem is something to do with the vista permissions. 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.