Softaculous


Topic : Extension Error for Items Installed


Posted By: jisaac on April 21, 2014, 5:12 pm
I am trying to install MODX on a VPS.

The following error shows:

Required PHP extension not found : gd
Required PHP extension not found : curl
Required PHP extension not found : zlib
Required PHP extension not found : SimpleXML
Required PHP extension not found : pdo_mysql
Required PHP extension not found : json

Each is installed, present, and enabled when looked at through phpinfo.

Where is Softaculous getting its apache info?

Posted By: Brijesh on April 22, 2014, 7:07 am | Post: 1
Hi,

Sir which panel are you using ? Do you have multiple PHP binaries on the server i.e. are you using multiple PHP versions ? If yes then by default Softaculous checks the extensions in the default PHP binary and you can change this by defining the path to your binary in the pre install hook :
http://www.softaculous.com/docs/Hooks#pre_install

Code
global $softpanel;
$softpanel->ephp_bin = '/PATH/TO/PHP';


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.