php installation not working
Posted: Wed Dec 22, 2010 5:05 pm
Hi
I've just installed php 5.3 from:
http://windows.php.net/download/
and selected the windows installer thread safe v6; ie php-5.3.4-Win32-VC6-x86
I ran the installer and installed in c:\php. It finished stating success.
It edited my httpd.conf file with the following:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/php/"
LoadModule php5_module "C:/php/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
I added the standard info.php file to \htdocs:
<?php
phpinfo( );
?>
If I open my chrome browser and enter:
localhost/info.php
I get:
{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Calibri;}} {\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs22 \par }
displayed in the browser window.
Does anyone know what I'm doing wrong?
Thanks
Graham
I've just installed php 5.3 from:
http://windows.php.net/download/
and selected the windows installer thread safe v6; ie php-5.3.4-Win32-VC6-x86
I ran the installer and installed in c:\php. It finished stating success.
It edited my httpd.conf file with the following:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/php/"
LoadModule php5_module "C:/php/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
I added the standard info.php file to \htdocs:
<?php
phpinfo( );
?>
If I open my chrome browser and enter:
localhost/info.php
I get:
{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Calibri;}} {\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs22 \par }
displayed in the browser window.
Does anyone know what I'm doing wrong?
Thanks
Graham