curl-and-php
php w/ curl/ssl on HP-UX 10.2
Date: Mon, 16 Jul 2001 21:00:34 -0500
Hello all,
I have been able to successfully compile php with curl and openssl on my
home linux 6.2 system, but I have thus far been unsuccessful in getting
everything working on our HP Unix system at work.
This system is running HP-UX B.10.20. We have compiled php 4.0.6 with the
following configure options:
CC=cc CFLAGS="-Ae -O +Onolimit" LDFLAGS="-s" ./configure \
--prefix=/pkg/prdcrm/apache/php \
--with-system-regex \
--without-mysql \
--with-oracle --with-oci8 \
--with-curl=/usr/local/lib \
--with-openssl=/usr/local/ssl
phpinfo() reports:
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6 24 Sep 2000
curl
CURL support enabled
CURL Information libcurl 7.8 (OpenSSL 0.9.6)
When we use php curl function it works fine to retrieve regular pages, and
works well through the proxy. The problem come when trying to fetch secure
pages. I have tried the normal auto negotiate mode (not setting
CURLOPT_SSLVERSION), and explicitly setting CURLOPT_SSLVERSION to both 2 and
3 unsuccessfully. When using curl at the command line it works fine to
retrieve https request behind our firewall by just calling
curl https://the_rest_of_the_url
Does anyone have an idea how I can get the ssl connection working through
php?
TIA
Jason
_______________________________________________
Curl-and-php mailing list
http://curl.haxx.se/
Received on 2001-07-17