From owner-freebsd-questions@FreeBSD.ORG Tue Apr 10 11:15:06 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 BCE5316A400 for ; Tue, 10 Apr 2007 11:15:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 79B9913C4BA for ; Tue, 10 Apr 2007 11:15:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HbEJS-0008SN-97 for freebsd-questions@freebsd.org; Tue, 10 Apr 2007 13:15:02 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Apr 2007 13:15:02 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Apr 2007 13:15:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Tue, 10 Apr 2007 13:14:15 +0200 Lines: 49 Message-ID: References: <977285.6927.qm@web51702.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAA592940D53BC84235F0B8E1" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <977285.6927.qm@web51702.mail.re2.yahoo.com> X-Enigmail-Version: 0.94.2.0 Sender: news Subject: Re: 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: Tue, 10 Apr 2007 11:15:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAA592940D53BC84235F0B8E1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Andrei Iarus wrote: > 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_matc= h function =3D> I reinstalled all php extensions (with portupgrade -rf ph= p-5.2.1_3), including pcre. After this, my apache server didn't start ("a= pachectl start" didn't give me any errors, but after switching to the deb= ug 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 commenti= ng the line in the extensions.ini). Then I noticed that listing the insta= lled pear/pecl packages gave me a lot of php errors (some errors in Comma= nd.php). Trying to install the pear package using the ports, it would sto= p with stop with an "*** Signal 11 This may or may not help you: PHP is very (should probably say=20 "extremely") sensitive to the order its extensions are loaded. Due to=20 the way portupgrade works, the order of extensions is not kept during=20 upgrades (and is for-all-intents-and-purposes randomized). Thus, once=20 perfectly working server may be unusuable after a portupgrade run. The solution: find the order of extensions that work for you=20 (extensions.ini), and save it somewhere so you can restore it after=20 portupgrade. You should search the archives and the web for more information - it's a = common problem. --------------enigAA592940D53BC84235F0B8E1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGG3GHldnAQVacBcgRAnHGAKDyYYPNQ2IawM28evgBl77pqrag+gCfUCK4 rwNln6Dy7bSOFb/C3wZnqlo= =aIQL -----END PGP SIGNATURE----- --------------enigAA592940D53BC84235F0B8E1--