Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: jameswilson on March 13, 2016, 04:52:58 PM
-
Hi I'm trying to update some software used on my sme server. I have upgraded to 9 from 8 hoping it would all be ok. Sadly not.
Have got over all the issues from searching etc but am stuck on this one
PHP Requirements
You do not have the cURL PHP extension loaded (or it is running a version less than 7.36) and the allow_url_fopen PHP setting is disabled. You should contact your hosting provider or system administrator to ask either for cURL version 7.36 or greater to be installed, to be installed or the allow_url_fopen setting enabled. cURL is recommended.
-
curl extension is in php-common
[root@fileserver ~]$ yum install php-curl
Plugin abilitati:fastestmirror, presto, security, smeserver
Impostazione processo di installazione
Loading mirror speeds from cached hostfile
* base: ftp.fau.de
* smeaddons: smeserver.mirror.garr.it
* smeextras: smeserver.mirror.garr.it
* smeos: smeserver.mirror.garr.it
* smeupdates: smeserver.mirror.garr.it
* updates: mirrors.prometeus.net
Il pacchetto php-common-5.3.3-46.el6_7.1.x86_64 è già installato e aggiornato all'ultima versione
Niente da fare
[root@fileserver ~]$ cd /
[root@fileserver /]$ find ./ -name *curl*.so
./usr/lib64/php/modules/curl.so
you need a custom fragment to enable it
-
Thanks it appears it is enabled
I have uploaded the check requirements php file
http://www.thesecurityinstaller.co.uk/ips4.php
and php info shows curl is enabled but older than the required version?
-
SME 9 uses curl 7.19.7, which is the version provided by CentOS/RHEL. It appears that this software wants at least curl 7.36 for some reason, or that PHP be configured with allow_url_fopen enabled. Since SME is going to stick with the upstream software versions, you should look into enabling allow_url_fopen. Check out https://forums.contribs.org/index.php?topic=52316.0 and https://wiki.contribs.org/Useful_Commands for more information.