By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,089 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,089 IT Pros & Developers. It's quick & easy.

module openssl for php

P: n/a
Hi,Bonjour,

I m running FreeBSD 4.10 STABLE and using Apache 1.3.x and PHP4.

Today, i updated php4 from Ports Tree and there was lot of change.

Indeed, no more php4-something package... only Php4 and php4-extensions
packages.

So, i installed :

php4-ftp-4.3.8_2
php4-openssl-4.3.8_2
(and others)

But, now, ftp_ssl_connect doesn't work !

The error message is:

Fatal error: Call to undefined function: ftp_ssl_connect() in index.php

I restarted many time apache without success.

i checked with phpinfo() if the extension is running and it s OK !!!

openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7d 17 Mar 2004
ftp
FTP support enabled
So, i checked the PHP module if there is the ftp_ssl_connect strings in
it... :

horus# strings openssl.so | grep ftp
horus# strings openssl.so | grep connect
horus#

nothing.

Where am i wrong ?

Thanks for help
Regards,
Nicolas


Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
next time don't multipost just make one message to multiple newsgroups,
that way. But one question is: why did you keep the english part on that
french newsgroup? You wanted [french] people to know you could fairly
write english?

Well, not that i really care, here's your answer:

You need to compile PHP with SSL support for that function to be available.

--
The most likely way for the world to be destroyed,
most experts agree, is by accident.
That's where we come in; we're computer professionals.
We cause accidents.
--Nathaniel Borenstein
Jul 17 '05 #2

P: n/a
Hi,
You need to compile PHP with SSL support for that function to be available.


I know this. Before php updates on FreeBSD, i was using this function.

If you read my post, you'll see that i installed php "modules" (OpenSSL,
FTP, etc)

You can see the phpinfo here: http://www.xmystic.com/info.php

Is there something wrong to use php extensions instead of using static
compilation ?
Regards,
Nicolas
Jul 17 '05 #3

P: n/a
Hi,

OpenSSL has to be installed in static and not in extensions modules.

in php.net manual:

Since ftp_ssl_connect() requires SSL compiled into PHP, Windows users will
need to compile their own PHP this way or download it from another source.
Here's one such (and trusted) source:

Nicolas


"nanard" <na****@tou.nu> wrote in message
news:cf**********@reader1.imaginet.fr...
Hi,
You need to compile PHP with SSL support for that function to be

available.


I know this. Before php updates on FreeBSD, i was using this function.

If you read my post, you'll see that i installed php "modules" (OpenSSL,
FTP, etc)

You can see the phpinfo here: http://www.xmystic.com/info.php

Is there something wrong to use php extensions instead of using static
compilation ?
Regards,
Nicolas

Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.