I upgrade to php 4.3.8 like described in /usr/ports/UPDATING that means installing the port /php4-extensions instead of /php4 install process worked fine, but still the extensions (mysql, xml, etc) did not work. Any idea for help
Hello, make sure you have included the extensions in your php.ini file. The php-4.3.8 port installs its extensions in /usr/local/lib/php/20020429/ so in php.ini include it via extension_dir = /usr/local/lib/php/20020429/ . This should help. Cheers, - Matej Hutterer Robert wrote:>I upgrade to php 4.3.8 like described in /usr/ports/UPDATING >that means installing the port /php4-extensions instead of /php4 > >install process worked fine, but still the extensions (mysql, xml, etc) did not work. > >Any idea for help > >------------------------------------------------------------------------ > >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >
I have been bitten by this as well. You probably have something like this in your php.ini: extension_dir = "./" This is not good. You can either set it to "/usr/local/lib/php/20040412/" or don't set it at all, because the correct path is compiled into the php binary anyway. regards, Derkjan ----- Original Message ----- From: "Hutterer Robert" <robert.hutterer@univie.ac.at> To: <freebsd-stable@freebsd.org> Sent: Saturday, July 24, 2004 2:50 PM Subject: php 4.3.8> I upgrade to php 4.3.8 like described in /usr/ports/UPDATING > that means installing the port /php4-extensions instead of /php4 > > install process worked fine, but still the extensions (mysql, xml, etc)did not work.> > Any idea for help---------------------------------------------------------------------------- ----> _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >