From owner-freebsd-questions@FreeBSD.ORG Mon Apr 9 21:20:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48CFC16A400 for ; Mon, 9 Apr 2007 21:20:01 +0000 (UTC) (envelope-from poni1111@yahoo.com) Received: from web51702.mail.re2.yahoo.com (web51702.mail.re2.yahoo.com [206.190.38.220]) by mx1.freebsd.org (Postfix) with SMTP id 02FED13C45E for ; Mon, 9 Apr 2007 21:20:00 +0000 (UTC) (envelope-from poni1111@yahoo.com) Received: (qmail 8391 invoked by uid 60001); 9 Apr 2007 20:53:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=xSnma23uWU0JOtO9MqE6/xyNKg89A+6o0f2wsE6dJA1CVG6DGiByTE/Trx7JABULDaKogMhS6gL88s245QFyxVJqhlDmwASGG8cScJSv8Silow14RcGn452G2TnTZEsQQnit6YFBNp68WJ01HaPuG+dp23soF8R7N5DnoL1cuIM=; X-YMail-OSG: eiz_.soVM1l8Zjphh16wBnyorqhQdFWZ9U6df0JQsv168dtecGZtn.Fo7YdwMPZt4dDevAYEa0N43WDYsKqI6kutW8uLgyR8LgHIhjc80So_GFh_Gx0L7pakEG_uyYe6BGUU1Rl8nQ-- Received: from [89.40.222.110] by web51702.mail.re2.yahoo.com via HTTP; Mon, 09 Apr 2007 13:53:18 PDT Date: Mon, 9 Apr 2007 13:53:18 -0700 (PDT) From: Andrei Iarus To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <977285.6927.qm@web51702.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: PHP, pear, session problems on FreeBSD 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 21:20:01 -0000 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: >>uname -a FreeBSD hostname 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #3: Thu Mar 8 10:01:45 EET 2007 root@hostname:/usr/obj/usr/src/sys/krnl_namel i386 >>pkg_info|grep php5 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 >>pear list 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) >>pecl list 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.