Re: undefined function preg_replace()
- From: Jason Bourne <j_bourne_treadstone@xxxxxxxxxxx>
- Date: Tue, 29 May 2007 11:53:49 GMT
pp wrote:
Hi,
I got a problem with calling preg_replace() in php5.2
The system s running a FreeBSD 6.2.
I installed php5 first, then compiled php5-xxxx extensions one-by-one
from the ports.
Here is what I have installed:
# pkg_info | grep -i php
adodb-4.80 Database library for PHP
php5-5.2.0 PHP Scripting Language (Apache Module and CLI)
php5-gettext-5.2.0 The gettext shared extension for php
php5-mbstring-5.2.0 The mbstring shared extension for php
php5-mhash-5.2.0 The mhash shared extension for php
php5-mysql-5.2.0 The mysql shared extension for php
php5-openssl-5.2.0 The openssl shared extension for php
php5-pcre-5.2.0 The pcre shared extension for php
php5-pgsql-5.2.0 The pgsql shared extension for php
php5-session-5.2.0 The session shared extension for php
php5-xml-5.2.0 The xml shared extension for php
phppgadmin-4.0.1 Web Based Postgres Administration
the php5-pcre extension is already here. why my php script still giving
the undefined preg_replace() error?
Thanks
S
Just a wild guess before I run off to work, but do you have the pcre port
installed? I'm behind in my upgrading and still using php-5.2.1 and pcre
7.0 here. Currently they are up to php-5.2.2 and pcre 7.1. Time for a
portupgrade run here real soon - :-)
-Jason
.
- Follow-Ups:
- References:
- undefined function preg_replace()
- From: pp
- undefined function preg_replace()
- Prev by Date: undefined function preg_replace()
- Next by Date: Re: undefined function preg_replace()
- Previous by thread: undefined function preg_replace()
- Next by thread: Re: undefined function preg_replace()
- Index(es):
Relevant Pages
|