curl + php = error

hs-server

Verified User
Joined
Mar 25, 2005
Messages
11
Location
Sweden
Hello,

I have this error and can't find out how to fix it please help me out..

Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Enabling register_globals...
Increasing memory limit to 20M...
Installing php...
Installing PHP SAPI module: apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp4.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp4.la /usr/lib/apache/
cp .libs/libphp4.so /usr/lib/apache/libphp4.so
cp .libs/libphp4.lai /usr/lib/apache/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/customapache/php-4.4.2/libs'
chmod 755 /usr/lib/apache/libphp4.so
[activating module `php4' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
PHP Fatal error: Unable to start curl module in Unknown on line 0
make[1]: *** [install-pear-packages] Error 254
make: *** [install-pear] Error 2

------------------------------------------------------------------------------------

in build is this.

APACHE_VER=1.3.36
MODSSL_VER=2.8.27
APACHE2_VER=2.0.58
PHP_VER=4.4.2
GD_VER=2.0.33
#CURL_VER=7.12.2
CURL_VER=7.15.4
ZLIB_VER=1.2.3
#PNG_VER=1.2.10 //lib64 check below
FRONTPAGE_VER=1.6.1
MCRYPT_VER=2.5.7
MODPERL_FILE=mod_perl-1.0-current.tar.gz
MODPERL2_FILE=mod_perl-2.0-current.tar.gz
MODPERL_DIR=mod_perl-1.29
MODPERL2_DIR=modperl-2.0
MHASH_VER=0.9.6

------------------------------------------------------------------------------------

and configure.php_ap2 have this

#!/bin/sh
./configure \
--with-apxs2 \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local/lib \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit
 
Back
Top