Try it on your own VPS, but the prompt is: Siteerror: thefile/home/test/whmcs/index. phprequirestheionCubePHPLoaderioncube_loader_lin_5.2.sotobeinstalledbythesiteadministrator.
Install it on your own VPS, but the prompt is: Site error: the file/Home/test/whmcs/index. phpRequires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.
According to the above prompt, the reason is that ionCube is not installed. (Note: If the one-click installation package of lnmp is installed, run./ionCube. sh in the directory after lnmp is decompressed .)
First, execute uname-a to check whether the system is 32-bit or 64-bit, open fuse/usr/local, download the wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz, and then execute tar zxvf ioncube_loaders_lin_x86.tar.gz to decompress the package.
Modify/usr/local/php/etc/php. ini and add the following code at the end of the file:
[IonCube Loader]
Zend_extension = "/usr/local/ioncube/ioncube_loader_lin_5.2.so"
If Zend Optimizer is installed before, the installation of ionCube conflicts with Zend Optimizer, and the following error occurs when/usr/local/php-fpm reload is executed: the Loader must appear as the first entry in the php. ini file in Unknown on line 0
The Zend Optimizer code must be placed behind ionCube. for example, the following code is used in LNMP. after modification, run/usr/local/php-fpm restart.
[Zend Optimizer]
Zend_optimizer.optimization_level = 1
Zend_extension = "/usr/local/zend/ZendOptimizer. so"
After the modification is complete, remember/usr/local/php-fpm reload to reload the configuration and view phpinfo.
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
With eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
With the ionCube PHP Loader v3.3.10, Copyright (c) 2002-2009, by ionCube Ltd. |
> Reprinted please indicate the source: VPS detective link address: http://www.vpser.net/build/ioncube-howto.html