On Sun, 21 May 2006 23:07:58 -0500, Graham Frank wrote
> 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 libphp4.so file.
> 


Excellent - Thanks Graham.

Cheers,

Noah



> --Graham Frank
> 
> -----Original Message-----
> From: Noah [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, May 21, 2006 11:04 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Invalid command 'php_flag'
> 
> On Sun, 21 May 2006 15:00:00 -0500, Graham Frank wrote
> > Check if the libphp4.so 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 a new error.  looks like libphp4.so does not exist.  the 
> php4 build from usr ports is not putting it in there or something.
> 
> --- snip ---
> 
> # pwd
> /usr/local/etc/apache22
> # grep php4 httpd.conf
> LoadModule php4_module        libexec/apache22/libphp4.so
> 
> # /usr/local/etc/rc.d/apache22.sh restart
> Performing sanity check on apache22 configuration:
> httpd: Syntax error on line 101 of 
> /usr/local/etc/apache22/httpd.conf: Cannot load 
> /usr/local/libexec/apache22/libphp4.so into server: Cannot open
"/usr/local/libexec/apache22/libphp4.so"
> 
> # find /usr -name libphp4.so
> /usr/ports/lang/php4-horde/work/php-4.3.6/.libs/libphp4.so
> /usr/ports/lang/php4-horde/work/php-4.3.6/libs/libphp4.so
> 
> # ls /usr/local/libexec/apache22
> httpd.exp               mod_cache.so            mod_log_config.so
> mod_actions.so          mod_cern_meta.so        mod_logio.so
> mod_alias.so            mod_cgi.so              mod_mime.so
> mod_asis.so             mod_charset_lite.so     mod_mime_magic.so
> mod_auth_basic.so       mod_dav.so              mod_negotiation.so
> mod_auth_digest.so      mod_dav_fs.so           mod_rewrite.so
> mod_authn_anon.so       mod_deflate.so          mod_setenvif.so
> mod_authn_dbm.so        mod_dir.so              mod_speling.so
> mod_authn_default.so    mod_disk_cache.so       mod_ssl.so
> mod_authn_file.so       mod_env.so              mod_status.so
> mod_authz_dbm.so        mod_expires.so          mod_unique_id.so
> mod_authz_default.so    mod_file_cache.so       mod_userdir.so
> mod_authz_groupfile.so  mod_filter.so           mod_usertrack.so
> mod_authz_host.so       mod_headers.so          mod_version.so
> mod_authz_owner.so      mod_imagemap.so         mod_vhost_alias.so
> mod_authz_user.so       mod_include.so
> mod_autoindex.so        mod_info.so
> 
> --- snip ---
> 
> more clues please?
> 
> Cheers,
> 
> Noah
> 
> ---------------------------------------------------------------------
> 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]


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