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 6064
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.n u> wrote in message
news:cf******** **@reader1.imag inet.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 normal user and do the
same then mysql is *not* in the list and I cannot use mysql_connect (or any
other mysql function)...
Any ideas on why this is or how to fix it?
|
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. I actually got
everything to build and install, but when I try to import M2Crypto-- well,
here is a sample session:
>>> import M2Crypto
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File...
|
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:
../configure --with-openssl --enable-odbc --with-perl --enable-multibyte
|
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 OpenSSL's <evp.h>
That file is located in /usr/include/openssl/evp.h but when I put the
directory in the configure option
| |
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 tried to understand the error messages but for me they aren't
useful. And now I'm here and hope that somebody has experience and can
tell me the error.
This is the Code for the server:
#define _CRT_SECURE_NO_DEPRECATE
|
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 the
python repository at:
http://svn.python.org/projects/external/openssl-0.9.8a
And build that yourself. I _think_ that if you have it installed,
configure might find it for you and autmatically build _ssl.pyd.
|
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 "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/ws/ompi-tools/lib/python2.5/md5.py", line 6, in <module>
|
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 the latest version of pre-compiled
version of OpenSSL from /www.shininglightpro.com/products/
Win32OpenSSL.html website. So AFAIK there is no need for Perl script
compilation and NASM, MASM issue as long as I have the pre-compiled
binaries. If I'm...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |