A
avansit
Guest
Hello,
We have tried configuring sitebuilder and for some reason, php is not detected by sitebuilder config. We have tried reconfiguring sb_config but still same.
#######################
root@vps [~]# sb_config --sb_db_user_passwd sitebuilder
[FATAL] No suitable PHP found
There were some configuration errors, check logs
Logs saved to /usr/local/sitebuilder/tmp/sb_config-0808101734.log
root@vps [~]# cat /usr/local/sitebuilder/tmp/sb_config-0808101734.log
[2008 Aug 10 17:34:36] [FATAL] No suitable PHP found
Fatal error encountered at /usr/local/sitebuilder/utils/SB/Logging.pm line 121
SB::Logging::Log('SB::Logging=HASH(0x9d0352c)', 5, 'No suitable PHP found') called at /usr/local/sitebuilder/utils/SB/Utils.pm line 109
SB::Utils::checkParameters() called at configure line 303
main::main() called at configure line 377
root@vps [~]#
#######################
Php is already loaded with sitebuilder module. Details given below.
##########################
root@vps [~]# sb_config
Usage:
--phpcli_path PHP CLI executable [/usr/local/bin/php]
--phpcgi_path PHP CGI executable [/usr/bin/php]
--update_locales Update locales [no]
--update_templates Update templates [no]
--update_modules Update modules [no]
--update_skins Update skins [no]
--migrate_all Migrate all sites [no]
--help Show this help [no]
--verbose Be verbose [no]
--[no]use_rewrite Enable/disable mod_rewrite usage [yes]
--sb_admin_passwd Password for admin user [not changed by default]
--db_host MySQL database remote host [localhost]
--db_port MySQL database remote port [3306]
--db_admin_name MySQL administrator username [root]
root@vps [~]# /usr/local/bin/php -m |grep site
sitebuilder3
root@vps [~]# /usr/local/bin/php -v
PHP 5.2.6 (cli) (built: Aug 10 2008 10:08:10)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
root@vps [~]# /usr/bin/php -v
PHP 5.2.6 (cgi) (built: Aug 10 2008 10:22:21)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
root@vps [~]# /usr/bin/php -m |grep site
sitebuilder3
root@vps [~]#
##########################
help me please...
But still sb_config show as not suitable PHP found. We couldnt see any details in forum or kb. Can you please contact sitebuilder support with the above details and let us know if any settings need to be changed.
We have tried configuring sitebuilder and for some reason, php is not detected by sitebuilder config. We have tried reconfiguring sb_config but still same.
#######################
root@vps [~]# sb_config --sb_db_user_passwd sitebuilder
[FATAL] No suitable PHP found
There were some configuration errors, check logs
Logs saved to /usr/local/sitebuilder/tmp/sb_config-0808101734.log
root@vps [~]# cat /usr/local/sitebuilder/tmp/sb_config-0808101734.log
[2008 Aug 10 17:34:36] [FATAL] No suitable PHP found
Fatal error encountered at /usr/local/sitebuilder/utils/SB/Logging.pm line 121
SB::Logging::Log('SB::Logging=HASH(0x9d0352c)', 5, 'No suitable PHP found') called at /usr/local/sitebuilder/utils/SB/Utils.pm line 109
SB::Utils::checkParameters() called at configure line 303
main::main() called at configure line 377
root@vps [~]#
#######################
Php is already loaded with sitebuilder module. Details given below.
##########################
root@vps [~]# sb_config
Usage:
--phpcli_path PHP CLI executable [/usr/local/bin/php]
--phpcgi_path PHP CGI executable [/usr/bin/php]
--update_locales Update locales [no]
--update_templates Update templates [no]
--update_modules Update modules [no]
--update_skins Update skins [no]
--migrate_all Migrate all sites [no]
--help Show this help [no]
--verbose Be verbose [no]
--[no]use_rewrite Enable/disable mod_rewrite usage [yes]
--sb_admin_passwd Password for admin user [not changed by default]
--db_host MySQL database remote host [localhost]
--db_port MySQL database remote port [3306]
--db_admin_name MySQL administrator username [root]
root@vps [~]# /usr/local/bin/php -m |grep site
sitebuilder3
root@vps [~]# /usr/local/bin/php -v
PHP 5.2.6 (cli) (built: Aug 10 2008 10:08:10)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
root@vps [~]# /usr/bin/php -v
PHP 5.2.6 (cgi) (built: Aug 10 2008 10:22:21)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
root@vps [~]# /usr/bin/php -m |grep site
sitebuilder3
root@vps [~]#
##########################
help me please...
But still sb_config show as not suitable PHP found. We couldnt see any details in forum or kb. Can you please contact sitebuilder support with the above details and let us know if any settings need to be changed.