php-windows Digest 25 May 2008 20:30:45 -0000 Issue 3479

Topics (messages 28913 through 28913):

Re: Running under Windows Vista?
        28913 by: Christian Flickinger

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message --- 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"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
Sent: Monday, May 12, 2008 4:45
To: [EMAIL PROTECTED]
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



--- End Message ---

Reply via email to