Correct Way to add a php module
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Darren Eckersley
  2. Thursday, 14 August 2014
  3.  Subscribe via email

I have installed something that requires curl and it doesn\'t appear the list of modules for me to enable it.

Normally I would run easyapache and choose the option, but will this then add the module to all php versions as easyapache reports php 5.4 being current and I am actually using 5.5 from cloudlinux via php selector.

Please help.
Rate this post:
  1. 14.08.2014 08:08:38
  2. # 1
Richard Hordern Accepted Answer
Posts: 212
Joined: 19.03.2011
It sound's like PHP selctor isn't working. Easyapache configures the version called "native" in phpselector. If phpselector isn't working then all accounts would be using this version, so yes installing curl with easyapache would install it for every account eitheir using native version or with php selctor not working.

Curl is installed by default on our PHP selector installs, what do you have in your phpinfo ?

On php selector 5.5 you should have :

php -v
PHP 5.5.15 (cli) (built: Jul 30 2014 14:00:25)
php -m|grep curl

Make sure you have enabled cagefs four that account and that shell is set to normal for that account too, then if it still doesn't work you should open a ticket with Cloudlinux's support.
  1. 14.08.2014 16:08:51
  2. # 2
Darren Eckersley Accepted Answer
Posts: 3
Joined: 14.08.2014
It does work, I\'d installed BoxBilling and got white screen when launching, I read docs and it said either IonCube loader or curl wasn\'t loading, I checked and IonCube was showing as selected in the php selector but curl wasn\'t even in the list so I assumed that was the problem, but it was actually that it needed PHP5,4 not 5.5
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

We use cookies to ensure you get the best experience using our website and services. Read more about it in our Privacy Policy. Please agree to the use of cookies to proceed. Alternatively, you may disable cookies in your browser at any time.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.