Missing PHP 'mysql' extension

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 16, 2018   (RSS)

By dkane11 - May 13, 2018

I recently received this error message on my site running CMS Builder.

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Field has a deprecated constructor in /services/webpages/m/c/XXXX/public/cmsAdmin/lib/field_class.php on line 11 This program requires the PHP 'mysql' extension.
Please ask your hosting provider (or server administrator) to install missing PHP extension(s).

I am guessing that the web host upgraded the version of PHP that the server is running.  If I am unable to go back to the previous version, or unable to get the web host to install the PHP mysql extension, is there a workaround to get the CMS working again?

Thank you.

By leo - May 16, 2018

Hi,

I think the fastest way to solve the problem will be getting PHP mysql extension enabled. If you are not able to do that we recommend you to try upgrade your cmsb to the newest version as it uses mysqli extension in stead of old mysql. Here is the guide: https://www.interactivetools.com/docs/cmsbuilder/upgrade.html

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com