Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2004 21:16:49 -0800 (PST)
From:      "Mario Theodoridis" <mario@houseofsites.net>
To:        <admin@bsdhelp.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: PHP Splittup issues (aka preg_replace missing)
Message-ID:  <64621.192.168.23.86.1102051009.squirrel@mail.schmut.com>
In-Reply-To: <20041203042616.8515C43D31@mx1.FreeBSD.org>
References:  <20041203042616.8515C43D31@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64621.192.168.23.86.1102051009.squirrel>