• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

ERROR : extension sitebuilder3 must be on

M

MarcelC

Guest
What does this check error mean and how can it be resolved:

ERROR : extension sitebuilder3 must be on
 
Make sure that sitebuilder-core package is installed on your server and that sitebuilder3.so file is included into PHP configuration. Something like this on my server:

Installed:

# rpm -qa|grep -i sitebuilder-core
sitebuilder-core-3.0-centos4.build06112310

Files list of this package:

# rpm -ql sitebuilder-core
/opt/php51/lib/php5
/opt/php51/lib/php5/extensions
/opt/php51/lib/php5/extensions/sitebuilder3.so

Included into configuration (loaded extension)

# cat /opt/php51/etc/php5/conf.d/sitebuilder3.ini
extension=sitebuilder3.so
 
Hi Dmitry,

everything is like you described, all files are there.

/opt/php51/lib/php5/extensions/sitebuilder3.so
/opt/php51/etc/php5/conf.d/sitebuilder3.ini

I forgot to mention this is a cpanel server, don't know if that matters.

Do you have another idea what could be the problem.
 
Try to check which PHP installation is used for Sitebuilder. Most probably Sitebuilder uses CPanel PHP installation but not Sitebuilder's one:

# sb_config --help|grep php
--phpcgi_path Path to PHP-CGI(5.1) binary [/opt/php51/cgi-bin/php5]
--phpcli_path Path to PHP-CLI(5.1) binary [/opt/php51/bin/php5]
 
Hi Dmitry,

that also is exactly the same:

[~]# sb_config --help|grep php
--phpcgi_path Path to PHP-CGI(5.1) binary [/opt/php51/cgi-bin/php5]
--phpcli_path Path to PHP-CLI(5.1) binary [/opt/php51/bin/php5]


Is there anything else I can check ?
 
Try to check directly on the server if module loaded:

# /opt/php51/bin/php5 -m|grep sitebuilder

If it loaded but http://sitebuilder.domain.tld/check.php still displays that sitebuilder3 extensions is not loaded then I guess somehow still not correct PHP loaded for Sitebuilder. This will require investigation on your server so in this case it is better to contact with support team.
 
ok im having a problem very similar to this one.

and when i issue the command on last dimitry post i get this,

[root@heracles tmp]# /opt/php51/bin/php5 -m|grep sitebuilder
PHP Warning: PHP Startup: sitebuilder3: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[root@heracles tmp]#
 
now if i perform the command from the
[root@heracles ~]# /opt/php52/bin/php5 -m|grep sitebuilder
sitebuilder3
[root@heracles ~]#
but if I run it from the server wide php
[root@heracles tmp]# /usr/bin/php -m|grep sitebuilder
[root@heracles tmp]#

so, im a bit out of ideas here.
 
omg, i cant believe this, i did some hacks, and got it working.

here is what i did

went to /usr/local/sitebuilder/htdocs

created a file called info.php which contains
<?php phpinfo(); ?>

it seems, the ini file was parsing the files for old SB instalation, php51, on /opt

so, moved php51 to php51.back, and created a symlink ln -s php51 php52

and w00t, works now perfectly fine.
 
Back
Top