Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Solved - BUG? PHP 5.6 - IONCUBE

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
uksitehost
Posts: 10
Joined: Sun Sep 07, 2014 5:57 am

Solved - BUG? PHP 5.6 - IONCUBE
  • Quote

Post by uksitehost » Sun Sep 21, 2014 8:45 am

When you do a fresh install of vestacp it installs PHP 5.6 as part of its LAMP Stack. Ioncube is currently not available for this, which means using WHMCS or Boxbilling locally is not possible. This is a flaw for a hosting panel!

The only solutions I have found involve hosting these somewhere else other than your own server and ensuring that port 8083 can be opened where you host the billing software. This too can mostly not be done.

How do you downgrade PHP versions, and when you have what is the correct method of applying the IONCUBE loaders so that they are usable by all server users. There are lots of answers but many are different.

Surely as part of the auto-installation the appropriate PHP and IONCUBE loaders should be installed, especially as the WHMCS integration is claimed.
Top

uksitehost
Posts: 10
Joined: Sun Sep 07, 2014 5:57 am

Re: Solved - BUG? PHP 5.6 - IONCUBE
  • Quote

Post by uksitehost » Sun Sep 21, 2014 4:13 pm

It actually installs PHP 5.5.9.

Save the ioncube_loader_lin_5.5.so and ioncube_loader_lin_5.5.ts.so to a directory /usr/*whatevever*/

Code: Select all

vi /etc/php5/apache2/php.ini
and add

Code: Select all

zend_extension = /usr/*whatevever*/ioncube_loader_lin_5.5.so
zend_extension = /usr/*whatevever*/ioncube_loader_lin_5.5.ts.so
to the very top of the .ini file (before the [PHP})
Top

webass
Posts: 86
Joined: Sat Nov 15, 2014 1:16 am
Contact:
Contact webass
Skype

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Solved - BUG? PHP 5.6 - IONCUBE
  • Quote

Post by webass » Sat Nov 15, 2014 1:18 am

Hi,
this doesnt work at all.
I dont get the ioncube loaders to be active when

Code: Select all

php -v
Top

jakepatrick
Posts: 14
Joined: Sat Oct 04, 2014 2:13 am

Re: Solved - BUG? PHP 5.6 - IONCUBE
  • Quote

Post by jakepatrick » Sun Nov 16, 2014 8:05 pm

This is news to me. Everytime I install vesta it installs 5.4 if not 5.3... And the repos are always so screwed that the package manager can get confused and you're locked in to a version without manually removing extensions and disabling repos in a certain order...

Vesta once had yum so confused with the mix of rpmforge and remi repos that it would report a php version was already installed when trying to install it and was not found when trying to remove it.

I guess I'll spin up a virtual box and check for myself. Hopefully they've got MariaDB repos in there as well.
Top

jakepatrick
Posts: 14
Joined: Sat Oct 04, 2014 2:13 am

Re: Solved - BUG? PHP 5.6 - IONCUBE
  • Quote

Post by jakepatrick » Sun Nov 16, 2014 8:18 pm

Yea, vesta definitely does not install php 5.6 on Centos 6.6 on a fresh install.
It installs php 5.4.35 which isn't even an official release according to php.
http://php.net/releases/
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Solved - BUG? PHP 5.6 - IONCUBE
  • Quote

Post by joem » Sun Nov 16, 2014 10:17 pm

Upload the ioncube loaders to /usr/lib64/php/modules/

Make a new file in /etc/php.d named ioncube.ini and add the following code

Code: Select all

zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.6.so


The above will work if your using CENT OS 6 64bit and PHP 5.6. Depending on the version of php you are running depends on the loader you should load. Once you have done this RESTART HTTPD for the setting to take effect.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password