PHP script /home/adzworkc/ClixScript_PHP_DOCS/classes/class.vars.php is protected by SourceGuardian and requires the SourceGuardian loader ixed.5.3.lin. The SourceGuardian loader has not been installed, or is not installed correctly. Please find the required loader within SourceGuardian installation directory or visit the SourceGuardian php encoder site to download it.
root@server [~]# /scripts/phpextensionmgr list
Available Extensions:
EAccelerator
IonCubeLoader
Zendopt
Xcache
SourceGuardian
PHPSuHosin
root@server [~]# /scripts/phpextensionmgr install SourceGuardian
===
If the issue still persist
check the php.ini
root@server [/home]# php -i | grep ini
We can see
===
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
Scan this dir for additional .ini files => (none)
additional .ini files parsed => (none)
===
Now open
root@server [/home]# vi /usr/local/lib/php.ini
and check the extention file
===
root@server [/home]# cd /usr/local/lib/php/extensions/no-debug-non-zts-20060613
root@server [/usr/local/lib/php/extensions/no-debug-non-zts-20060613]# ll
drwxr-xr-x 2 root root 4096 Jan 21 20:51 ./
drwxr-xr-x. 4 root root 4096 Dec 29 12:05 ../
-rw-r–r– 1 root root 79448 Jan 21 20:50 ixed.5.2.lin
-rwxr-xr-x 1 root root 544910 Jan 4 19:03 pdo.a*
-rwxr-xr-x 1 root root 275820 Jan 4 19:03 pdo_mysql.a*
===
Now we can see that the version is ixed.5.2.lin but we need ixed.5.3.lin.
So downlaod file from
http://www.sourceguardian.com/loaders.html
and upload it to this folder
root@server [/usr/local/lib/php/extensions/no-debug-non-zts-20060613]#
Then open
vi /usr/local/lib/php.ini
shift +g
we can sse that
===
extension=”ixed.5.2.lin”
zend_extension=”/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so”
===
Change the version here manually.
Monday, April 1, 2013
Modifying your PHP Handler Configuration
What’s my current configuration?
Let’s say I wanted to switch to DSO, keeping PHP4 disabled, and SuExec enabled:
For reference, the usage details:
# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled
Let’s say I wanted to switch to DSO, keeping PHP4 disabled, and SuExec enabled:
# /usr/local/cpanel/bin/rebuild_phpconf 5 none fcgi 1
For reference, the usage details:
Usage: /usr/local/cpanel/bin/rebuild_phpconf [--dryrun] [--no-restart] [--no-htaccess] [--current|--available]
--dryrun : Only display the changes that would be made
--no-restart : Don't restart Apache after updating the php.conf link
--no-htaccess : Don't update user configurable PHP mime mapping.
--current : Show current settings
--available : Show available handlers and PHP SAPIs
: Version of PHP to set as default handler for .php files
<php# handler="">: Type of Apache module to use in serving PHP requests
: enabled, disabled, 1 or 0
Fatal error: Allowed memory size of xxxxxxxx bytes exhausted If deactivating plugins doesn’t work try one of these methods for increasing the amount of memory a PHP script may consume
1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ’64M’);
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ’64M’);
Subscribe to:
Posts (Atom)