RE: [PHP-WIN] Running under Windows Vista?

From: Date: Tue, 13 May 2008 00:42:18 +0000
Subject: RE: [PHP-WIN] Running under Windows Vista?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28894@lists.php.net to get a copy of this message
Hello Alan, I have Apache2.2/MySQL/PHP on Vista Home working. Here are a few lines from my httpd.conf to consider: In the "LoadModule" section: LoadModule php5_module "C:/php/php5apache2_2.dll" In the "<IfModule mime_module>" section: AddType application/x-httpd-php .php At the end of httpd.conf: PHPIniDir "C:/PHP/" Of course, if you have PHP installed into a different directory than noted here, you'll have to make the necessary adjustments to the paths. Jeff -----Original Message----- From: Alan M Dunsmuir [mailto:alan@moonrake.demon.co.uk] Sent: Monday, May 12, 2008 4:45 To: php-windows@lists.php.net Subject: [PHP-WIN] Running under Windows Vista? Is there some trick to getting PHP5 to install properly under Windows Vista? I had a successful Windows 'localhost' installation of Apache/MySQL/PHP about a year ago, and I've been trying to get the same thing up under Vista (Home Premium). MySQL and Apache2 install fine, but I just cannot get Apache to recognise php coding. If I try to run phpinfo() as a "Hello, World!" example, I get the full contents of the source file displayed on the monitor: <?php phpinfo() ; ?> I've made what I thought were the required changes to httpd.conv, and stopped and restarted Apache, but php just won't kick in. Would somebody please hold my hand, and walk me through what I need to do step by step? Many thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#28894) next »