curl-and-php
Re: Help Please? - php-4.1.1 + curl + openssl = SSL: couldn't create a context! :(
Date: Mon, 07 Jan 2002 13:02:47 +0200
This seems to work: (tested with php 4.1.0 curl 7.9.2 openssl 0.9.6b)
./configure --disable-debug --without-mysql --with-curl=<curl-dir>
( as long as there's no --with-ssl= )
Same goes for building curl.so but --with-curl=shared,<curl-dir>
For the building curl.so the ext/curl/config.m4 needs patching:
--- ext/curl/config.m4 Mon Jan 7 12:55:36 2002
+++ ext/curl/config.m4.new Mon Jan 7 12:54:51 2002
@@ -40,8 +40,9 @@
fi
PHP_ADD_INCLUDE($CURL_DIR/include)
- PHP_EVAL_LIBLINE($CURL_LIBS, CURL_SHARED_LIBADD)
+dnl PHP_EVAL_LIBLINE($CURL_LIBS, CURL_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/lib, CURL_SHARED_LIBADD)
+ CURL_SHARED_LIBADD="$CURL_LIBS $CURL_SHARED_LIBADD"
AC_CHECK_LIB(curl,curl_easy_perform,
[
Received on 2002-01-07