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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to