As Jeff showed, make sure you are using AddType if you are using apache 2.2.
Some people may have old config files containing AddHandler directives. It
may not be a Vista issue, but rather an apache config issue.
- spoon
""Jeff White"" <bitslayer@xxxxxxxxxxx> wrote in message
news:C190C58BD20047379C3E72EEC6037BC7@xxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxx]
Sent: Monday, May 12, 2008 4:45
To: php-windows@xxxxxxxxxxxxx
Subject: 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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php