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
php installation not working
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: php installation not working
Installing WAMP (Windows, Apache, MySQL, and PHP) is much easier.
http://www.wampserver.com/en/
It installs the whole stack for you.
http://www.wampserver.com/en/
It installs the whole stack for you.
Re: php installation not working
Hi
Thanks, but I'd prefer to install MySQL myself and I still don't understand why the recommended installer fails to load a page.
Graham
Thanks, but I'd prefer to install MySQL myself and I still don't understand why the recommended installer fails to load a page.
Graham
Re: php installation not working
Update.
The above problems occurred with my new laptop running Window 7 Home Premium.
I repeated the msi installer installation on another laptop running Windows 7 Enterprise and it worked fine first time.
Now I'm totally baffled.
Graham
The above problems occurred with my new laptop running Window 7 Home Premium.
I repeated the msi installer installation on another laptop running Windows 7 Enterprise and it worked fine first time.
Now I'm totally baffled.
Graham
Re: php installation not working
Hi
Problem solved.
The test info.php file was corrupt and contained a character that apache did not like.
Graham
Problem solved.
The test info.php file was corrupt and contained a character that apache did not like.
Graham