Curl and OpenSSL not updating in phpinfo

Support for security such as Firewalls and securing linux
Post Reply
Kinetal
Posts: 4
Joined: 2017/09/13 10:43:43

Curl and OpenSSL not updating in phpinfo

Post by Kinetal » 2017/10/27 11:50:58

I can't take payments on my website because curl and openssl is outdated, according to phpinfo.
I have updated curl (commands below) and curl -V shows everything is no up to date but it's not updating in phpinfo. I have restarted apache but no luck.

Code: Select all

cd /usr/local/src/
curl https://curl.haxx.se/download/curl-7.56.1.tar.gz | tar xvz
cd curl-7.56.1/
./configure --with-ssl && make && make install
curl -V
I have attached screenshots.

Any tips or help is greatly appreciated.

Thanks
Attachments
curl-version-ssh.jpg
curl-version-ssh.jpg (85.07 KiB) Viewed 975 times
curl-phpinfo.jpg
curl-phpinfo.jpg (73.62 KiB) Viewed 975 times

User avatar
avij
Forum Moderator
Posts: 2650
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Curl and OpenSSL not updating in phpinfo

Post by avij » 2017/10/27 11:57:57

Even your previous curl version is not what is shipped in CentOS -- the CentOS version of curl is 7.29.0.

Are you perhaps running some sort of a control panel? They may replace web server packages with their own. Perhaps ask them.

In either case, this venue is unable to provide assistance with building from source or with such software that has been installed from source.

Kinetal
Posts: 4
Joined: 2017/09/13 10:43:43

Re: Curl and OpenSSL not updating in phpinfo

Post by Kinetal » 2017/10/27 12:12:02

It's a GoDaddy VPS running CPanel / WHM and PHP has been configured using EasyApache 3.

User avatar
avij
Forum Moderator
Posts: 2650
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Curl and OpenSSL not updating in phpinfo

Post by avij » 2017/10/27 12:31:51

Right, that's what I thought.

Whoever
Posts: 1024
Joined: 2013/09/06 03:12:10

Re: Curl and OpenSSL not updating in phpinfo

Post by Whoever » 2017/10/28 16:03:08

Kinetal wrote:It's a GoDaddy VPS running CPanel / WHM and PHP has been configured using EasyApache 3.
CPanel modifies CentOS so much that it can no longer be considered CentOS.

You are paying GoDaddy for CPanel. Ask GoDaddy for support.

Post Reply