RE: php files displayed as 'text'

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

 



At 02:37 PM 3/15/2007, Mark Lavi wrote:
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.

Ok, I think I found part of the problem. Following directions at
http://www.php.net/manual/en/install.macosx.php

In the section with all the other LoadModules:
  LoadModule php4_module       libexec/httpd/libphp4.so</div>

Directly below that section should be the AddModules; you need:
  AddModule mod_php4.c


The LoadModule is fine, but when I uncomment AddModule, I get

Syntax error on line 159 of /Library/Apache2/conf/httpd.conf:
Invalid command 'AddModule', perhaps misspelled or defined by a module not included in the server configuration

Is this no longer correct?

Now it no longer shows a php as text, but just 'hangs' when I load a php page.

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