Do not run dedecms5.6 in php5.3. Today, dedecms and ecshop are used to help the company create a distribution alliance, and deprecatedininclude \ dedesql is continuously incorrect in php5.3. class. phponline516Deprecated: do not run dedecms5.6 in php5.3.
Using dedecms and ecshop to help the company create a distribution alliance today, we found that the dedecms5.6 encountered continuous errors in the php5.3 environment.
deprecated in include\dedesql.class.php on line 516 Deprecated: Function eregi() is deprecated in include\memberlogin.class.php on line 45 Deprecated: Function eregi() is deprecated in include\memberlogin.class.php on line 45 Deprecated: Function eregi() is deprecated in include\memberlogin.class.php on line 45 Deprecated: Function eregi() is deprecated in include\dedesql.class.php on line 270 Deprecated: Function eregi_replace() is deprecated in include\dedesql.class.php on line 270 Deprecated: Function eregi() is deprecated in include\dedesql.class.php on line 516
According to the report, it is found that php5.3 does not support eregi and eregi_replace.
For better technology, you can download dedecms5.7. some of my files are also copied directly from dedecms5.7, because php5.3 is already supported in version 5.7.
The solution is as follows:
* Call_user_method () can be replaced by call_user_func ().
* Call_user_method_array () can replace define_syslog_variables () with call_user_func_array ()
* Dl () is opposed to using DL to load extensions. php. ini will be used after php5.3.
* Ereg () can be replaced by preg_match ().
* Ereg_replace () can be replaced by preg_replace ().
* Eregi () is replaced by the preg_match () I parameter.
* Eregi_replace () is replaced by the preg_replace () I parameter.
* Set_magic_quotes_runtime () is replaced by magic_quotes_runtime ().
* Session_register () session_unregister () session_is_registered ()
* Replace the preceding three values with $ _ SESSION.
* Set_socket_blocking () is replaced by stream_set_blocking ().
* Use preg_split () to replace split ().
* Replace spliti () with preg_split () mode 'I
* SQL _regcase ()
* Replace mysql_escape_string () with mysql_db_query () with mysql_select_db () mysql_query () with mysql_real_escape_string ()
* For time zone processing, use Timezone