Hi,
I've started to perform upgrades on my DirectAdmin server.
All went fine until I wanted to move to php 5.3.25
During this action the server mentioned it ran out of virtual memory and didn't finish the job.
This is the error I receive when trying to start apache service httpd:
"Starting httpd: Syntax error on line 46 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration"
After trying to resolve the matter, I know it is something to do with the php Zend & Optimiser together with the php.ini loader refering to an incorrect version.
I tried afterwards to update php using the custombuild again and received the next error:
"There is wrong default PHP in /usr/local/directadmin/custombuild/options.conf set."
I checked out the php version in options.conf:
php5_ver=5.3
PHP Ini content:
[Zend]
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.3.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
When running command php -v, I receive this error:
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
PHP 5.3.25 (cli) (built: May 16 2013 19:10:15)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
Much appreciated any help to get my service web service up and running.
Thank you,
I've started to perform upgrades on my DirectAdmin server.
All went fine until I wanted to move to php 5.3.25
During this action the server mentioned it ran out of virtual memory and didn't finish the job.
This is the error I receive when trying to start apache service httpd:
"Starting httpd: Syntax error on line 46 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration"
After trying to resolve the matter, I know it is something to do with the php Zend & Optimiser together with the php.ini loader refering to an incorrect version.
I tried afterwards to update php using the custombuild again and received the next error:
"There is wrong default PHP in /usr/local/directadmin/custombuild/options.conf set."
I checked out the php version in options.conf:
php5_ver=5.3
PHP Ini content:
[Zend]
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.3.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
When running command php -v, I receive this error:
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
PHP 5.3.25 (cli) (built: May 16 2013 19:10:15)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
Much appreciated any help to get my service web service up and running.
Thank you,