From owner-freebsd-ports@FreeBSD.ORG Fri Dec 3 20:46:36 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C034E16A4ED for ; Fri, 3 Dec 2004 20:46:36 +0000 (GMT) Received: from s01060050fc24de67.cg.shawcable.net (S01060050fc24de67.cg.shawcable.net [68.144.193.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 19A2843D5D for ; Fri, 3 Dec 2004 20:46:34 +0000 (GMT) (envelope-from admin@bsdhelp.net) Received: (qmail 65610 invoked by uid 89); 3 Dec 2004 20:24:04 -0000 Received: from unknown (HELO jomoms) (192.168.0.9) by s01060050fc24de67.cg.shawcable.net with SMTP; 3 Dec 2004 20:24:04 -0000 From: "Joe St.Louis" To: Date: Fri, 3 Dec 2004 13:47:43 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <19954.209.213.222.98.1102104293.squirrel@mail.schmut.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTZcDaroaR/eqRSTgSSD+o1uqu4kwACOgAQ Message-Id: <20041203204634.19A2843D5D@mx1.FreeBSD.org> cc: freebsd-ports@freebsd.org Subject: RE: PHP Splittup issues (aka preg_replace missing) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 20:46:37 -0000 Just did a pkg_delete -f on mod_php4. and I am rebuilding php4. I will keep you updated on what happens. And yes php -v does state it is using 4.3.9. If this doesn't work the only thing left I can think of is if I might need to add a --with-pcre to the Makefile. Any thoughts? -----Original Message----- From: Mario Theodoridis [mailto:mario@houseofsites.net] Sent: Friday, December 03, 2004 1:05 PM To: admin@bsdhelp.net Cc: mario@houseofsites.net; freebsd-ports@freebsd.org Subject: RE: PHP Splittup issues (aka preg_replace missing) ok, so aparently php doesn't like your modules. I don't think the mod_php4 should be in there because it duplicates php4. >> mod_php4-4.3.9,1 PHP Apache Module >> php4-4.3.9 PHP Scripting Language (Apache Module and CLI) maybe uninstall mod_php then reinstall php4 to make sure that the correct libs are in place. also what's php -v say does it claim 4.3.9? mario;> So, Joe St.Louis wrote: > Not sure exactly what I am looking for in those out puts, but doing a > search for pcre produced no results. > > I did however notice that if I attempt to pipe the output of php -i > somewhere other than 'more' I get an bunch of errors, one of them > relating to pcre. > > Here is the errors: > PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - > Cannot open "./pcre.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './xml.so' - > Cannot open "./xml.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './mysql.so' - > Cannot open "./mysql.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './ctype.so' - > Cannot open "./ctype.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './gd.so' - > Cannot open "./gd.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './imagick.so' - > Cannot open "./imagick.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './imap.so' - > Cannot open "./imap.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './overload.so' > - Cannot open "./overload.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './posix.so' - > Cannot open "./posix.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './session.so' - > Cannot open "./session.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './tokenizer.so' > - Cannot open "./tokenizer.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './zlib.so' - > Cannot open "./zlib.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './mbstring.so' > - Cannot open "./mbstring.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './openssl.so' - > Cannot open "./openssl.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './mhash.so' - > Cannot open "./mhash.so" in Unknown on line 0 > PHP Warning: Unknown(): Unable to load dynamic library './gettext.so' - > Cannot open "./gettext.so" in Unknown on line 0 > > > I don't know what I did but apparently I need to rebuild these all into > php, but am not sure how. > > Any suggestions? > > > -----Original Message----- > From: owner-freebsd-ports@freebsd.org > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Mario Theodoridis > Sent: Thursday, December 02, 2004 10:17 PM > To: admin@bsdhelp.net > Cc: freebsd-ports@freebsd.org > Subject: Re: PHP Splittup issues (aka preg_replace missing) > > so preg_replace i beieve is in pcre which you have installed. > Does a php -i from the command prompt or phpinfo() from within a page > reflect > that these modules are installed too? If not maybe php.ini got fat > fingered? > > mario;> > > > So, Joe St.Louis wrote: >> Howdy yall, >> >> While doing some upgrading to my ports I noticed my php stop working >> properly. I am getting an error stating "undefined function: >> preg_replace" in numerous web based programs such as squirrelmail and >> postnuke. >> >> After reading the UPGRADING file in the ports dir. I found that it is >> now split into the base and the others. What I need to find out is >> where preg_replace went to. >> >> Php.net says they cant help me cause its supposed to be in the base >> package. >> >> I have tried doing a portinstall -rf php4 with options in the Makefile >> such as --with-mysql and --with-session and --with-pear. But nothing >> seems to get that function back for me. >> >> Here is a listing of the modules I currently have installed. >> >> # pkg_info | grep php >> mod_php4-4.3.9,1 PHP Apache Module >> php4-4.3.9 PHP Scripting Language (Apache Module and CLI) >> php4-ctype-4.3.9 The ctype shared extension for php >> php4-extensions-1.0 A "meta-port" to install PHP extensions >> php4-gd-4.3.9 The gd shared extension for php >> php4-gettext-4.3.9 The gettext shared extension for php >> php4-imap-4.3.9 The imap shared extension for php >> php4-mbstring-4.3.9 The mbstring shared extension for php >> php4-mhash-4.3.9 The mhash shared extension for php >> php4-mysql-4.3.9 The mysql shared extension for php >> php4-openssl-4.3.9 The openssl shared extension for php >> php4-overload-4.3.9 The overload shared extension for php >> php4-pcre-4.3.9 The pcre shared extension for php >> php4-pear-4.3.9 PEAR framework for PHP >> php4-posix-4.3.9 The posix shared extension for php >> php4-session-4.3.9 The session shared extension for php >> php4-tokenizer-4.3.9 The tokenizer shared extension for php >> php4-xml-4.3.9 The xml shared extension for php >> php4-zlib-4.3.9 The zlib shared extension for php >> >> also incase you are curious I am running 4.7. >> >> >> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to >> "freebsd-ports-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"