Running under Windows Vista?

Running under Windows Vista?

am 12.05.2008 10:44:42 von Alan M Dunsmuir

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:

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

RE: Running under Windows Vista?

am 13.05.2008 02:42:18 von Jeff White

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 "" 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:

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

Re: Running under Windows Vista?

am 25.05.2008 22:10:20 von Christian Flickinger

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"" wrote in message
news:C190C58BD20047379C3E72EEC6037BC7@MANIaC...
> 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 "" 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:
>
> > 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