Problems after php upgrade
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 quot;./openssl.soquot; in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './overload.so' - Cannot open quot;./overload.soquot; in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - Cannot open quot;./pcre.soquot; 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 ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems after php upgrade
On Thu, 29 Jul 2004 18:06:54 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: 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 quot;./openssl.soquot; in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './overload.so' - Cannot open quot;./overload.soquot; in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - Cannot open quot;./pcre.soquot; 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. Stupid question: Are this the perms of the 20020429 directory ? They should be rwxr-xr-x on the dir and r--r--r-- on the .so -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems after php upgrade
Paul - From /usr/ports/UPDATING: If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. I missed this too the first time through, but it fixed the same exact problem. (possibly s/same exact/similar/) Hope this helps ~j Paul Schmehl wrote: 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 quot;./openssl.soquot; in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './overload.so' - Cannot open quot;./overload.soquot; in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - Cannot open quot;./pcre.soquot; 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 ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Jonathan T. Sage Theatrical Lighting / Set Designer Professional Web Design Homer: ...and when a woman says something sounds funny, you'd better not laugh your ass off. [HTTP://www.JTSage.com] [EMAIL PROTECTED] [See Headers for Contact Info] signature.asc Description: OpenPGP digital signature
Re: Problems after php upgrade
--On Friday, July 30, 2004 2:20 AM +0300 Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: Stupid question: Are this the perms of the 20020429 directory ? They should be rwxr-xr-x on the dir and r--r--r-- on the .so Not a stupid question at all. Perms on the dir are rwxr-xr-x. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems after php upgrade
--On Thursday, July 29, 2004 8:13 PM -0400 Jonathan T. Sage [EMAIL PROTECTED] wrote: Paul - From /usr/ports/UPDATING: If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. I missed this too the first time through, but it fixed the same exact problem. (possibly s/same exact/similar/) Hope this helps ~j Yep, that was it. Thanks. Missed it completely. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems after php upgrade
On Thu, 29 Jul 2004 20:13:11 -0400 Jonathan T. Sage [EMAIL PROTECTED] wrote: Paul - From /usr/ports/UPDATING: If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. I missed this too the first time through, but it fixed the same exact problem. (possibly s/same exact/similar/) Hope this helps ~j My php's recode.so make apache to dump core. I wonder if ti happens to anyone else. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]