Date: Thu, 29 Jul 2004 20:13:11 -0400 From: "Jonathan T. Sage" <sagejona@theatre.msu.edu> To: Paul Schmehl <pauls@utdallas.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Problems after php upgrade Message-ID: <41099297.7080501@theatre.msu.edu> In-Reply-To: <005467CB63EA2B94FA1CCAA6@utd49554.utdallas.edu> References: <005467CB63EA2B94FA1CCAA6@utd49554.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6F16CD0FC524B664DAE6AD06 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 "./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/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- 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] [sagejona@msu.edu] [See Headers for Contact Info] --------------enig6F16CD0FC524B664DAE6AD06 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.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBCZKboVmW2UUup/ERAsgOAJ9EeDsZIxbP3IcKevxM/z3pjlWpawCfeGA/ l+VFlIsv5RcP/4Ks+vXzKRc= =Z8fb -----END PGP SIGNATURE----- --------------enig6F16CD0FC524B664DAE6AD06--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41099297.7080501>