Page 1 of 1

CMS and PHP7 and mysqli

Posted: Sun Jan 12, 2020 4:39 pm
by info@wawasoft.com
Hi Pablo,

I am trying to run CMS page developed with webbuilder ver 15.2.0 based on available template.

Unfortunately it stops every time when the functions:
mysql_connect()
mysql_select_db()
mysql_real_escape_string()
mysql_query()

and others are called.

When I change functions for mysqli......() and correct parameters then it starts working, but it very time consuming and ineffective way to correct the code.

Is there any way to get the correct CMS template or change the configuration in order to make it working.

Mario

Re: CMS and PHP7 and mysqli

Posted: Sun Jan 12, 2020 5:15 pm
by WWBman
I think if you change the PHP version in Page Properties > Advanced to PHP5-PHP7 it will use Mysqli etc.

Re: CMS and PHP7 and mysqli

Posted: Sun Jan 12, 2020 5:51 pm
by Pablo
WWBman is right, you can set the PHP version in the Page Properties.
Using PHP5-PHP7 will output mysqli functions.