Apache with curl compilation not showing in phpinfo

spitfire

Registered
Mar 4, 2005
2
0
151
Hello,

I've been trying to recompile curl via cPanel Update Apache.
WHM 10.1.0 cPanel 10.2.0-R82
RedHat 8.0 i686 - WHM X v3.1.0
The build goes without a hitch and I can see curl being included therein. However, if i go to phpinfo it isn't in the list of configuration flags. I've also tried manually installing it (twice with a clean as suggested in other threads) but to no avail. When I run php -i or -m on the command line i can see curl listed as a module!

[PHP Modules]
bcmath
ctype
curl
domxml
ftp
gd
gettext
iconv
imap
mbstring
mcrypt
mysql
openssl
overload
pcre
pgsql
posix
session
sockets
standard
tokenizer
xml
xmlrpc
Zend Optimizer
zlib

[Zend Modules]
Zend Extension Manager
Zend Optimizer

phpinfo()
'./configure' '--enable-static' '--with-iconv' '--enable-mbstring' '--with-mbstring=all' '--enable-mbstr-enc-trans' '--with-gd' '--with-dom' '--enable-mbregex' '--with-zlib' '--with-png' '--with-imap=../../bsd/imap' '--enable-ftp' '--with-gettext' '--with-xml' '--enable-track-vars' '--enable-sockets' '--with-mysqli' '--with-mysql=/usr' '--with-pgsql' '--with-config-file-path=/usr/local/cpanel/3rdparty/etc' '--prefix=/usr/local/cpanel/3rdparty'

Thanks in advance for any suggestions!
 

correctsearch

Active Member
Sep 24, 2004
30
0
156
How to configure Curl with Php info

I have recently installed Zend Optimizer and Curl on Fedra Core2. I can see that Zend and Curl are installed. I can see Zend is enabled in php info but Curl is not listed in php info. I have also recompiled PHP after installing CURL but it did not make any difference.

Can someone help us configure Curl using Php info
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
might be an odd question.. but is curl really installed ? have u tried testing it ?
 

spitfire

Registered
Mar 4, 2005
2
0
151
hi-linux image, I have indeed been able to use curl from my php scripts. Functionality is there but just not showing in phpinfo() !!?
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
can i have a sreenshot of your complete phpinfo ?

at my local machine, i see the following at the phpinfo:
=====================
CURL support enabled
CURL Information libcurl/7.12.3 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
===========================================
made as a seperate entry.

does this hapen to you as well ?
 
S

Secret Agent

Guest
Same problem here.

cURL and cURL SSL Support are not appearing in my phpinfo.php

I updated apache via whm and /scripts/easyapche 3 times already (#7 and #6).

What could be the problem?

Ran /scripts/updatenow prior as well