Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 36028 invoked from network); 22 May 2006 04:08:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 May 2006 04:08:32 -0000 Received: (qmail 81991 invoked by uid 500); 22 May 2006 04:08:22 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 81797 invoked by uid 500); 22 May 2006 04:08:22 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 81784 invoked by uid 99); 22 May 2006 04:08:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 May 2006 21:08:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gfrank@neoservers.com designates 208.185.249.15 as permitted sender) Received: from [208.185.249.15] (HELO mail.neoservers.com) (208.185.249.15) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 21 May 2006 21:08:20 -0700 Received: (qmail 10852 invoked by uid 399); 22 May 2006 04:13:25 -0000 Received: from unknown (HELO jakki) (63.27.231.119) by ip208-185-249-15.yomiko.neoservers.com with SMTP; 22 May 2006 04:13:25 -0000 From: "Graham Frank" To: Date: Sun, 21 May 2006 23:07:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20060522035928.M49083@enabled.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZ9VaFjuSkGvi7ERRiCfhrECRS5ygAAInSg X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20060522040821.8C4F110FB00F@asf.osuosl.org> Subject: RE: [users@httpd] Invalid command 'php_flag' X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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. --Graham Frank -----Original Message----- From: Noah [mailto:admin2@enabled.com] Sent: Sunday, May 21, 2006 11:04 PM To: users@httpd.apache.org Subject: Re: [users@httpd] 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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org