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

FreeBSD Port: php4-4.4.1_3

0 views
Skip to first unread message

Thomas Wenzel

unread,
Dec 1, 2005, 7:40:26 AM12/1/05
to a...@freebsd.org, po...@freebsd.org
Hallo Ale,

My Question is how to correctly configure portinstall for 'lang/php4' for the php4-modules like curl, openssl etc.


I tried hard to install lang/php4 with the curl option and other modules.
I also googled for that point and found the :
'PHP4_OPTIONS="... CURL ..."'
But these options are not found with portinstall.

-----------------------------------------------------------------
I am using:
MAKE_ARGS =
'lang/php4' => [
'WITH_OPENSSL=yes',
'WITH_APACHE2=yes',
'PHP4_OPTIONS="CURL"'
],
------------------------------------------
php -m:

[PHP Modules]
openssl
pcre
standard
xml
------------------------------------------
php_version Configure Command:
'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--with-openssl=/usr/local' '--with-openssl-dir=/usr/local' '--with-apxs2=/usr/local/sbin/apxs' '--disable-ipv6' '--prefix=/usr/local' 'i386-portbld-freebsd6.0'
-----------------------------------------------------------------


Formerly I used:

-----------------------------------------------------------------
MAKE_ARGS =
'lang/php4' => [
'CONFIGURE_ARGS+=--with-curl',
'CONFIGURE_ARGS+=--with-openssl',
'CONFIGURE_ARGS+=--with-apxs2',
],
------------------------------------------
php -m:

[PHP Modules]
ctype
curl
mysql
openssl
overload
pcre
posix
session
standard
tokenizer
xml
------------------------------------------
php_version Configure Command:
'./configure' '--with-curl' '--with-openssl' '--with-apxs2'

------------------------------------------
But I do run into problems with php4-pear while doing this because some values are not set or set wrong.
-----------------------------------------------------------------

Thanks for advice.

Mit freundlichen Grüßen

Thomas F. Wenzel
Geschäftsleitung

escape GmbH
Niddastraße 84
60329 Frankfurt am Main
Telefon +49 69 46 09 61 - 0
Telefax +49 69 46 09 61 - 99
Mobil +49 179 69 57 460
mailto:thomas...@escape-germany.de
www.escape-germany.de

________________________________________________________________________________
ESC58 - eine Kooperation der Firmen escape GmbH und fiftyeight GmbH www.esc58.de

Björn König

unread,
Dec 1, 2005, 8:01:20 AM12/1/05
to Thomas Wenzel, po...@freebsd.org, a...@freebsd.org
Thomas Wenzel schrieb:

> Hallo Ale,

I'm not Alex (ale), but I try to answer your question. ;-)

> My Question is how to correctly configure portinstall for 'lang/php4' for the php4-modules like curl, openssl etc.

Use the port lang/php4-extensions. You will be prompted to select the
modules that you need. Another way (in fact it's same way, but manually)
would be to install each module separately

/usr/ports/ftp/php4-curl
/usr/ports/security/php4-openssl
/usr/ports/mail/php4-imap

etc.


Gruß Björn

0 new messages