sunsetph Posted May 19, 2009 Share Posted May 19, 2009 Need help on Apache/PHP install/config problem: Running Windows Vista Ultimate 32-bit Installed Apache 2.2.11 win32-x86-no_ssl msi Installed php 5.2.9-2 win32 msi Modified php.ini: doc_root = "c:\Program Files\Apache Software Foundation\Apache2.2\htdocs" Verified: extension_dir ="C:\Program Files\PHP\ext" error_reporting = E_ALL Modified httpd.conf with: LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll" In <IfModule mime_module> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps DirectoryIndex index.html index.php PHPIniDir "C:/Program Files/PHP" Doubled-checked all directories and file names Created info.php with <?php phpinfo(); ?> Administrator stop-start apache http://localhost/ replies It Works http://localhost/info.php replies <?php phpinfo(); ?> instead of showing php info restarted computer, same result. Googled, did not see anybody with same problem. Tried some of the suggestions, reran installs to repair apache and php - with stop/start of course, same result. No error log file in PHP directory. Just rebooted to see if registry needs reloading, same result. So I am now stuck. Any suggestion on what I am missing? Quote Link to comment https://forums.phpfreaks.com/topic/158805-vista-apache-php-config/ Share on other sites More sharing options...
MadTechie Posted May 19, 2009 Share Posted May 19, 2009 #1 Welcome to PHP Freaks #2 this post is in the wrong section, this should be in PHP Installation & Configuration However, the problem at a guess is Microsoft well okay more Vista, try moving your webroot from c:\Program Files\Apache Software Foundation\Apache2.2\htdocs to somewhere outside program files also put PHP on the top level as well the User Account Control (UAC) are a pain but i'm not sure if they will affect PHP or apache, infact after a quick check, i found this Setting up Apache, PHP, MySQL under Vista it sounds like the solution for you Quote Link to comment https://forums.phpfreaks.com/topic/158805-vista-apache-php-config/#findComment-837590 Share on other sites More sharing options...
stelthius Posted May 19, 2009 Share Posted May 19, 2009 I have XAMPP Running on my local Vista 64x machine just for fast testing purposes, i dont have UAC on so i cant vouch for that but i do know i had to install XAMPP in C:/XAMPP otherwise it wouldnt work, hope it helps some Quote Link to comment https://forums.phpfreaks.com/topic/158805-vista-apache-php-config/#findComment-837594 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.