Re: error installing pear manager.

From: Date: Sat, 12 Mar 2005 21:22:58 +0000
Subject: Re: error installing pear manager.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18005@lists.php.net to get a copy of this message
On Sat, 12 Mar 2005 09:54:06 -0800, redspade@verizon.net <redspade@verizon.net> wrote: > I hope I sent this to the correct place (I'm a newbie), forgive me and then > direct me if I errored. This is the right place. > > I'm trying to install the PEAR Installation Manager and I received the > following error. Can someone please guide me as to what I've done wrong or > what I need to correct the problem? I'm running, PHP version 4.3.8 under > Apache 1.3.33 on Linux (SuSE 9.2). Thanks in advance. > > wbar10:/usr/local/apache/bin # lynx -source http://go-pear.org > | php > Content-type: text/html > X-Powered-By: PHP/4.3.8 > > Welcome to go-pear! > > Go-pear will install the 'pear' command and all the files needed by > it. This command is your tool for PEAR installation and maintenance. > > Go-pear also lets you download and install the PEAR packages bundled > with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit. > > If you wish to abort, press Control-C now, or press Enter to continue: > > HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: > > Below is a suggested file layout for your new PEAR installation. To > change individual locations, type the number in front of the > directory. Type 'all' to change all of them or simply press Enter to > accept these locations. > > 1. Installation prefix : /usr/local > 2. Binaries directory : $prefix/bin > 3. PHP code directory ($php_dir) : $prefix/lib/php > 4. Documentation base directory : $php_dir/docs > 5. Data base directory : $php_dir/data > 6. Tests base directory : $php_dir/tests > > 1-6, 'all' or Enter to continue: > > Fatal error: Call to undefined function: preg_match() in - on line 509 > That the....how did you get PHP without PCRE (Perl Compatible Regular Expressions)? If you compiled this yourself, recompile with PCRE. If you didn't, tell the person who you got it from to put it in there. -- Justin Patrin

« previous php.pear.general (#18005) next »