httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Frank" <>
Subject RE: [users@httpd] Invalid command 'php_flag'
Date Mon, 22 May 2006 04:07:58 GMT
Try looking for just "libphp".  I'm not all that great with FreeBSD (I don't
use it), so I can't help you with the ports.  If all else fails, you could
try and compile your own PHP from source?  This should guarantee the
creation of the file.

--Graham Frank

-----Original Message-----
From: Noah [] 
Sent: Sunday, May 21, 2006 11:04 PM
Subject: Re: [users@httpd] Invalid command 'php_flag'

On Sun, 21 May 2006 15:00:00 -0500, Graham Frank wrote
> Check if the file is listed in the httpd.conf file in the 
> LoadModule section.

Okay I uncommented the php4_module line in my httpd.conf file.  now there is
new error.  looks like does not exist.  the php4 build from usr
ports is not putting it in there or something.

--- snip ---

# pwd
# grep php4 httpd.conf
LoadModule php4_module        libexec/apache22/

# /usr/local/etc/rc.d/ restart
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 101 of /usr/local/etc/apache22/httpd.conf:
load /usr/local/libexec/apache22/ into server: Cannot open

# find /usr -name

# ls /usr/local/libexec/apache22

--- snip ---

more clues please?



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:

View raw message