From owner-freebsd-questions@FreeBSD.ORG Thu Jul 29 23:07:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0723116A4CF for ; Thu, 29 Jul 2004 23:07:18 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1D1243D55 for ; Thu, 29 Jul 2004 23:07:17 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd49554 (utd49554.utdallas.edu [129.110.3.85]) by smtp1.utdallas.edu (Postfix) with ESMTP id 0A0C9388FA4 for ; Thu, 29 Jul 2004 18:06:57 -0500 (CDT) Date: Thu, 29 Jul 2004 18:06:54 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <005467CB63EA2B94FA1CCAA6@utd49554.utdallas.edu> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Problems after php upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 23:07:18 -0000 I just upgraded php today, and php no longer works on the web server. I upgraded the php4 port, and then installed the extensions. When I try to load a php page, it's blank, and I get errors like these in httpd-errors.log: PHP Warning: Unknown(): Unable to load dynamic library './openssl.so' - Cannot open "./openssl.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './overload.so' - Cannot open "./overload.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - Cannot open "./pcre.so" in Unknown on line 0 The php.ini file has this in it: extensions_dir = "/usr/local/lib/php/20020429" (which is where the extensions are.) The perms are root:wheel r--r--r. There's also a php.conf file now (in /usr/local/etc/) and it has PHP_EXT_DIR=20020249. I have the correct stuff in httpd.conf (otherwise php wouldn't have worked before.) I looked through the pkg-message files in the extensions and base dirs, but no luck. What did I miss? Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/