To Check apache and php are configured successfully together on Vista - TechRepublic
Question
March 7, 2009 at 07:25 AM
kinjal.amin14

To Check apache and php are configured successfully together on Vista

by kinjal.amin14 . Updated 17 years, 4 months ago

Hi I have installed apache_2.2.8-win32-x86-no_ssl and php-5.5.5-Win32 on Windows Vista .. I have check with apache it by typing //localhost and it works fine than I have installed php and make necessary changes to httpd fine and php.ini fine .After this i have restarted apache and then have wrtien follwoing code

and have save this file as phpinfo.php in root directory (c:\apache\htdocs). but when I run this by http://localhost/phpinfo.php in browser .. it is not showing me php version screen in browser and insted of this it is showing the content of phpinfo.php file in my browser i.e.

Could anyone please tell me what’s wrong with it ?

Thanks
Kinjal

This discussion is locked

All Comments