PHP, pear, session problems on FreeBSD 6.2
poni1111 at yahoo.com
Mon Apr 9 21:20:01 UTC 2007
After noticing that I get an php error (an Segmentation fault error), I reinstalled my php port. Than I got some errors related to the preg_match function => I reinstalled all php extensions (with portupgrade -rf php-5.2.1_3), including pcre. After this, my apache server didn't start ("apachectl start" didn't give me any errors, but after switching to the debug mode from the httpd.conf file, all I got was something like "[Mon Apr 9 23:34:15 2007] [info] mod_unique_id: using ip addr 10.0.0.1"). Then I discovered that it was because the php5-session extension (after commenting the line in the extensions.ini). Then I noticed that listing the installed pear/pecl packages gave me a lot of php errors (some errors in Command.php). Trying to install the pear package using the ports, it would stop with stop with an "*** Signal 11
Stop in /usr/ports/devel/pear." error, but it solved (in a way) the previous problem with that php errors (bringing another one: "Segmentation fault: 11 (core dumped)"). I don't know what else I can do...
Details about my system:
FreeBSD hostname 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #3: Thu Mar 8 10:01:45 EET 2007 root at hostname:/usr/obj/usr/src/sys/krnl_namel i386
php5-5.2.1_3 PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.2.1_3 The bz2 shared extension for php
php5-ctype-5.2.1_3 The ctype shared extension for php
php5-gd-5.2.1_3 The gd shared extension for php
php5-mbstring-5.2.1_3 The mbstring shared extension for php
php5-mcrypt-5.2.1_3 The mcrypt shared extension for php
php5-mysql-5.2.1_3 The mysql shared extension for php
php5-openssl-5.2.1_3 The openssl shared extension for php
php5-pcre-5.2.1_5 The pcre shared extension for php
php5-session-5.2.1_3 The session shared extension for php
php5-xml-5.2.1_3 The xml shared extension for php
php5-zlib-5.2.1_3 The zlib shared extension for php
Installed packages, channel pear.php.net:
Package Version State
Archive_Tar 1.3.2 stable
Console_Getopt 1.2.1 stable
DB 1.7.11 stable
PEAR 1.5.0 stable
Structures_Graph 1.0.2 stable
rar 0.3.1 beta
Segmentation fault: 11 (core dumped)
Fatal error: Call to undefined function preg_match() in /usr/local/share/pear/PEAR/Frontend/CLI.php on line 70
If these details are not enough, just let me know. Thank you in advance.
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
More information about the freebsd-questions