httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lavi" <ml...@sgi.com>
Subject RE: [users@httpd] php files displayed as 'text'
Date Thu, 15 Mar 2007 21:37:31 GMT
You should insure that PHP module available and loaded.

If you compiled it in as a static module, you can look at the httpd -l
option to see if it is there.
Otherwise, you can enable mod_status to check your configuration in real
time.

--Mark 
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:mlavi@sgi.com || phone:+1-650-933-7707

-----Original Message-----
From: Evan Platt [mailto:evan@espphotography.com] 
Sent: Thursday, March 15, 2007 12:49 PM
To: users@httpd.apache.org
Subject: [users@httpd] php files displayed as 'text'

Ok FINALLY got apache back up and running on my os/x box (don't ask. 
Don't know what I did). 2.2.4

Now when I try to load index.php, the 'text' is displayed.

I don't know what information is needed to help troubleshoot...

Relvent (AFAICT) lines from my httpd.conf:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddHandler php-script   php
AddType text/html       php


I don't see any modules (in my modules directory) that look like 
they're needed?

I compiled apache with ./configure --enable-mods-shared=most 
--prefix=/Library/Apache2 --enable-ssl

Any help appreciated.

I'm using Php 4.4.4.

Thanks.

Evan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message