Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

php 4.3.8

0 views
Skip to first unread message

Hutterer Robert

unread,
Jul 24, 2004, 8:50:47 AM7/24/04
to freebsd...@freebsd.org
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

Matej Duracka

unread,
Jul 24, 2004, 9:27:34 AM7/24/04
to Hutterer Robert, freebsd...@freebsd.org
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:

>------------------------------------------------------------------------
>
>_______________________________________________
>freebsd...@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"
>
>

Derkjan de Haan

unread,
Jul 24, 2004, 9:58:32 AM7/24/04
to Hutterer Robert, freebsd...@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


----------------------------------------------------------------------------

David W. Chapman Jr.

unread,
Jul 24, 2004, 10:05:02 AM7/24/04
to Derkjan de Haan, freebsd...@freebsd.org
On Sat, Jul 24, 2004 at 03:58:32PM +0200, Derkjan de Haan wrote:
>
> 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.
>
>
I was told to delete the extension_dir from php.ini as its hardcoded
into the mod_php port.

--
David W. Chapman Jr.
dw...@inethouston.net Raintree Network Services, Inc. <www.inethouston.net>

0 new messages