bmw57 Posted June 24, 2010 Share Posted June 24, 2010 When i type localhost in the url : Apache claims its working. However, PHP wont load. I have followed the instructions off this page : http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/ to install PHP-5 with Apache 2.2 After numerous re-installs of Apache and even changed directories from program files (86) to program files thinking it may have been a windows 7 thing. Added the Following code to the httpd.conf file LoadModule php5_module "c:/php-5/php5apache2_2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml PHPIniDir "c:/php-5" I put the proper Dll files from the PHP 5 dir it asked me to into system32 dir along with the php.ini into C:\Windows Final Test : All I get when I attempt to load the test page is : <?php phpinfo();?> in text. Can someone please help me ? I'm completely worn out from this .. thanks. Quote Link to comment https://forums.phpfreaks.com/topic/205757-php-5-not-loading-with-apache/ Share on other sites More sharing options...
premiso Posted June 25, 2010 Share Posted June 25, 2010 A few questions: 1. Are you browsing through Localhost? 2. Is the file in question located in the htdocs folder? 3. Is the file extension .php or .phtml? 4. After modifying the httpd.conf did you restart the server? From the sounds of it you are doing everything right but not knowing or having access to the server it is hard to say what you could be doing wrong. Quote Link to comment https://forums.phpfreaks.com/topic/205757-php-5-not-loading-with-apache/#findComment-1077302 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.