From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 20:55:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C7116A4CE for ; Wed, 2 Feb 2005 20:55:27 +0000 (GMT) Received: from rosewoodblues.com (complex.heavybit.com [216.127.86.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E0843D31 for ; Wed, 2 Feb 2005 20:55:26 +0000 (GMT) (envelope-from ken@complex.heavybit.com) Received: from localhost (ken@localhost) by rosewoodblues.com (8.11.6/8.11.6) with ESMTP id j12KtOn09609; Wed, 2 Feb 2005 12:55:24 -0800 Date: Wed, 2 Feb 2005 12:55:24 -0800 (PST) From: Ken Hawkins To: Ken Hawkins In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Ken Hawkins cc: " " Subject: Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 20:55:27 -0000 ok a bit of tearing around yields this: [web1:etc/apache/logs] root# find /usr \* -print | xargs grep -l bindtextdomain grep: /usr/bin/suidperl: No such file or directory /usr/local/man/man3 /usr/local/man/whatis /usr/local/lib/perl5/site_perl/5.8.5/mach/auto/Locale/gettext/gettext.so /usr/local/lib/perl5/site_perl/5.8.5/mach/Locale/gettext.pm /usr/local/lib/libintl.a /usr/local/lib/libintl.so [web1:etc/apache/logs] root# find /usr \* -print | xargs grep -l mysql_pconnect grep: /usr/bin/suidperl: No such file or directory /usr/local/lib/php/20020429/mysql.so /usr/local/include/php/ext/mysql/php_mysql.h where I am failing the functions are there I think that i have hosed my php.ini file which the include_path is: include_path = ./:/usr/local/lib/php/:/usr/local/share/pear/bootstrap/:/usr/local/www/data/psw/include/:/usr/local/www/data/psw/mods:/usr/local/www/data/mod:/usr/local/www/data/psw/polls/:/usr/local/www/data/polls ; UNIX: "/path1:/path2" Windows: "\path1;\path2" what should the entries be for this? I take it that the install from a port will not overwrite the php.ini file if it is found and this could be a hangover from an old install. anyone know what the include_path should look like? any help is greatly appreciated as I am ready to tear it out and go again.... ken; On Tue, 1 Feb 2005, Ken Hawkins wrote: > > > On Feb 1, 2005, at 3:42 PM, Ken Hawkins wrote: > > > > > > > On Feb 1, 2005, at 3:29 PM, Andras Kende wrote: > > > >> > >> > >> -----Original Message----- > >> From: owner-freebsd-questions@freebsd.org > >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Ken Hawkins > >> Sent: Tuesday, February 01, 2005 2:16 PM > >> To: freebsd-questions@freebsd.org > >> Subject: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* > >> +myphpadmin = ... > >> > >> [Tue Feb 1 11:58:29 2005] [error] PHP Fatal error: Call to undefined > >> function: preg_match() in > >> /usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36 > >> > >> > >> I have re-installed the above mentioned ports and everything is up and > >> running however from phpmyadmin I am getting the above mentioned error > >> when trying to use phpmyadmin from a webpage. > >> > >> I have seen the various supposed fixes and have tried a few. I do not > >> get the =20 after the error and have tried ripping out everything. > >> installing php4-pear then apache13-modssl, mysql323-server / client > >> and > >> myphpadmin yet i still get this! > >> > >> can someone please give me the definitive fix for this? is there one? > >> > >> sorry to sound frustrated, loosing a day tracking this down is no fun > >> > >> ken; > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > >> > >> > >> > >> Hello, > >> > >> Looks like PHP missing the PCRE (Perl Compatible Regular Expressions) > >> Support > >> > >> > >> Should have like: > >> > >> PCRE (Perl Compatible Regular Expressions) Support | enabled > >> PCRE Library Version | 4.5 01-December-2003 > > > > I have this: > > > > PWD /usr/ports/devel/php4-pcre > > and > > _ENV["PWD"] /usr/ports/devel/php4-pcre > > > > but that is it. i have as well installed php4-pcre to now avail ... > > > > any other? > > > > ken; > >> Its also here: > >> /usr/ports/devel/php4-pcre/ > >> > >> > >> > >> Best regards, > >> > >> Andras Kende > >> http://www.kende.com > >> > >> > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > not sure if this has something to do with it but when i tried to force > an install of php4-pcre i got: > > pkg_add: can't open dependency file > '/var/db/pkg/apache-1.3.33/+REQUIRED_BY'! > dependency registration is incomplete > pkg_add: warning: package 'php4-pcre-4.3.9' requires 'php4-4.3.9', but > 'php4-4.3.10_2' is installed > > this does not seem to be a problem however, > > [web1:ports/devel/php4-pcre] root# pkg_info | grep php > php4-4.3.10_2 PHP Scripting Language (Apache Module and CLI) > php4-bz2-4.3.10_2 The bz2 shared extension for php > php4-gd-4.3.10_2 The gd shared extension for php > php4-mysql-4.3.10_2 The mysql shared extension for php > php4-openssl-4.3.10_2 The openssl shared extension for php > php4-pcre-4.3.10_2 The pcre shared extension for php > php4-pcre-4.3.9 The pcre shared extension for php > php4-pear-4.3.10_2 PEAR framework for PHP > php4-xml-4.3.10_2 The xml shared extension for php > php4-zlib-4.3.10_2 The zlib shared extension for php > phpMyAdmin-2.6.1 A set of PHP-scripts to manage MySQL over the web > > show 2 pacakges! > > php4-pcre-4.3.10_2 The pcre shared extension for php > php4-pcre-4.3.9 The pcre shared extension for php > > is this correct? i have the webserver up on > > http://web1.prosoundweb.com/test/ if someone wants to see the phpinfo > and can spot a blatant error... > > thanks, > ken; > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >