RE: php files displayed as 'text'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx || phone:+1-650-933-7707

-----Original Message-----
From: Evan Platt [mailto:evan@xxxxxxxxxxxxxxxxxx] 
Sent: Thursday, March 15, 2007 12:49 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux