Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Missing Extensions for Revive Adserver



Threaded Mode | Print  

 Missing Extensions for Revive Adserver (7 Replies, Read 3187 times)
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
When trying to install Revive Adserver through Softaculous, we get the error:

Required PHP extension not found : zlib
Required PHP extension not found : pcre
Required PHP extension not found : xml

but these extensions are installed.

Where is Softaculous getting this information?

What php binary on the server is it checking against?
IP: --   

Missing Extensions for Revive Adserver
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
Hi,

Are you using CageFS or any other utility for multiple PHP binaries ?

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

Missing Extensions for Revive Adserver
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
Not using CageFS, but I do roll my own PHP on the server and they are scattered throughout.

That's why I'm wondering what php binary Softaculous is checking against.
IP: --   

Missing Extensions for Revive Adserver
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
Hi,

We use the default PHP binary in case if you have multiple PHP binaries.

Which control panel are you using ?

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

Missing Extensions for Revive Adserver
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
Do you mean /usr/local/bin/php ?

PHP Code

 # which php
/usr/local/bin/php

# /usr/local/bin/php -i | egrep 'zlib|pcre|xml'
libxml Version => 2.9.2
libxml
pcre
pcre
.backtrack_limit => 1000000 => 1000000
pcre
.recursion_limit => 100000 => 100000
zlib
Stream Wrapper 
=> compress.zlib://
Stream Filter => zlib.inflatezlib.deflate
zlib
.output_compression => Off => Off
zlib
.output_compression_level => -=> -1
zlib
.output_handler => no value => no value 



These extensions ared installed in /usr/local/bin/php - why the error?
IP: --   

Missing Extensions for Revive Adserver
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
It looks like Softaculous is using

/usr/local/cpanel/3rdparty/php/54/bin/php-cgi

But again, this binary shows these extensions as being installed.
IP: --   

Missing Extensions for Revive Adserver
sparek
Group: Member
Post Group: Working Newbie
Posts: 74
Status:
Should adding:

PHP Code

 if ($soft == 45) {
    
$__hooks['loaded_extension'] = array('zlib''pcre''xml');




To the __pre_install() function in:

/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_install.php

override all of this?
IP: --   

Missing Extensions for Revive Adserver
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5641
Status:
Hi,

You can add the following lines in __pre_install() function in pre_install.php hook to define the PHP binary which Softaculous should use for checking the requirements.
PHP Code

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



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

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 1:45 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.030