httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Dunne <>
Subject Re: [users@httpd] php5 mysql localhost
Date Fri, 28 Dec 2007 11:41:00 GMT
I'm still not having any luck with my apache config for PHP5.  I am still getting a blank page
when viewing http://localhost/phpinfo.php
I have the following in my http.conf
<IfModule mod_php5>
<Location />
AddType text/html .php .phps
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
<IfModule alias_module>
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
    ScriptAlias /php/ "c:/PHP"
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
<IfModule mime_module>
Action application/x-httpd-php "/PHP/php.exe"
    AddHandler application/x-httpd-php .php

Can anyone suggest a remedy?

----- Original Message ----
From: "William A. Rowe, Jr." <>
To: users@httpd.apache.orgI
Sent: Saturday, December 22, 2007 1:07:35 AM
Subject: Re: [users@httpd] php5 mysql localhost

The PHPIniDir directive is really useful ;-)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
  "  from the digest:
For additional commands, e-mail:

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.
View raw message