Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 80970 invoked from network); 12 Mar 2009 02:04:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 02:04:38 -0000 Received: (qmail 12264 invoked by uid 500); 12 Mar 2009 02:04:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 12240 invoked by uid 500); 12 Mar 2009 02:04:26 -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 12228 invoked by uid 99); 12 Mar 2009 02:04:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 19:04:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.187.86.1] (HELO mail.isot.com) (66.187.86.1) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 02:04:16 +0000 Received: from localhost ([127.0.0.1]) by mail.isot.com (ISOT) with SMTP id TFP17155 for ; Wed, 11 Mar 2009 20:03:55 -0600 Date: Wed, 11 Mar 2009 20:03:55 -0600 From: Squirrel To: users@httpd.apache.org Message-ID: X-Mailer: ISOT Web Mail 5.6.1 X-Originating-IP: 66.187.95.74 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] After recompile site down - SOLVED Solved!! Although, specified during make of php5-extensions, for some reason it had to be specified during make of php5 as well. After I recompiled php5 --with-gd, it all worked out ok. Another thing was I had to specify --with-jpeg-dir=/usr/local/lib to have GD support jpeg. Strangely, path for png and gif didn't to be specified. Little weir, but works. -----Original message----- From: Squirrel squirrel@mail.isot.com Date: Thu, 12 Mar 2009 01:22:43 -0600 To: users@httpd.apache.org Subject: Re: [users@httpd] After recompile site down > After recompiling PHP5.2.8 and php5-extensions, the sites are back up again!!! Heewww! > > Funny thing though, I selected GD option in php5-extensions, and it went without a hitch, but phpinfo() does not show GD2 support. I've checked the pkg_info and gd2 and php5-gd are both there, and also in extensions.ini contains the line extension=gd.so. Any ideas please? > > > ------------------ > PCShare.Com > > > -----Original message----- > From: Squirrel squirrel@mail.isot.com > Date: Wed, 11 Mar 2009 19:46:38 -0600 > To: users@httpd.apache.org > Subject: Re: [users@httpd] After recompile site down > > > Another thing I noticed is that, now the httpd process is using nearly 100% of the CPU, making the server very slow. > > > > > > -----Original message----- > > From: Squirrel squirrel@mail.isot.com > > Date: Wed, 11 Mar 2009 19:28:09 -0600 > > To: users@httpd.apache.org > > Subject: [users@httpd] After recompile site down > > > > > I've made Apache 2.2.11 port yesterday: > > > ...# make clean > > > ...# make > > > ...# make deinstall > > > ...#make install > > > > > > And all went well and all my normal websites come up without a problem. But since then non of my Joomla 1.0.15 sites are coming up. The log shows: > > > > > > PHP Warning: Wrong parameter count for chr() in ..../includes/phpInputFilter/class.inputfilter.php(457) : regexp code on line 1 > > > PHP Parse error: syntax error, unexpected T_STRING in ..../includes/phpInputFilter/class.inputfilter.php(459) : regexp code on line 1 > > > PHP Fatal error: preg_replace(): Failed evaluating code: \nchr(0x) in ..../includes/phpInputFilter/class.inputfilter.php on line 459 > > > > > > It seems all of sudden after recompiling Apache, it developed a problem with chr(\\1) and chr(0x\\1). I didn't touch PHP or MySQL, just recompile of Apache, and it still has all same configurations and host info. > > > > > > Below is the code that's causing it. > > > > > > function decode($source) > > > { > > > // url decode > > > $source = html_entity_decode($source, ENT_QUOTES, "ISO-8859-1"); > > > // convert decimal > > > $source = preg_replace('/&#(\d+);/me', "chr(\\1)", $source); // decimal notation > > > // convert hex > > > $source = preg_replace('/&#x([a-f0-9]+);/mei', "chr(0x\\1)", $source); // hex notation > > > return $source; > > > } > > > > > > I've googled and tried all suggestions but nothings helping. I'm using FreeBSD 6.2, Apache 2.2.11, PHP 5.1.6_3, MySQL 5.0.27. Should I missed a something during remake of Apache? > > > > > > Please help!!! > > > > > > --------------------------------------------------------------------- > > > 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 > > > > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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