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 3 6041
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DBenson |
last post by:
So far I've been unable to find anything that addresses this one...
Basically, if I am logged in as root and issue a "php -m", mysql is in the
list of installed modules. If I log in or su to a...
|
by: Carl Waldbieser |
last post by:
I tried to adapt the instructions for building the M2Crypto module
(http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version
compatible with Python2.3, but I've had some mixed results....
|
by: Christopher Murtagh |
last post by:
Greetings,
I'm trying to build 7.3.4 and I've come across two problems, one during
the configure and the other afterward.
Problem 1)
Trying to build with openssl support gives this:
...
|
by: cpptutor2000 |
last post by:
Could some C guru please help me? I have a simple piece of code as:
#include <stdio.h>
#include <stdlib.h>
#include <openssl/rand.h>
int main(){
unsigned char temp;
RAND_bytes(temp, 4);
|
by: laredotornado |
last post by:
Hello,
I downloaded PHP 4.4.4 and am trying to install for Apache 2 on Fedora
Core 5. However when trying to configure with openssl, I get this
error,
configure: error: Cannot find...
|
by: Patrick |
last post by:
Hello,
I'm currently trying the OpenSSL Library, but I got some problems. I
want to create a server and client application that communicate
through the OpenSSL API, but this code doesn't work.
I...
|
by: Matt McCredie |
last post by:
>
I don't have access to that type of system. I do know that you need
OpenSSL to use ssl. It might be as simple as just finding and
installing OpenSSL for fedora. You can also find the source in...
|
by: emallove |
last post by:
I'm running into the below "No modules named _sha256" issue, with a
python installed in a non-standard location.
$ python
Python 2.5.2 (r252:60911, May 20 2008, 09:46:50)
on linux2
Type...
|
by: Tan |
last post by:
Hi folk,
I'm trying to install latest OpenSSL version in VS2008 Express Edition
on WinXP. I have downloaded and installed the redistributable for VC+
+2008 (including SP1), and also installed...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |