php-Fatal error: Call to undefined function data_default_timezone_set()
程序员文章站
2022-05-06 07:52:16
...
php数据库连接
代码如下:
require_once('sql_class.php');
$db=new db_Mysql();
$db->dbServe='localhost';
$db->dbbase='gbook';
$db->dbUser='root';
$db->dbPwd='root';
$db->dbconnect();
define('MCBOOKINSTALLED',TRUE);
define('TABLE_PREFIX',"ly_");
if(PHP_VERSION>'5.0.0'){
data_default_timezone_set('PRC');
}
?>
运行后的提示:
Fatal error: Call to undefined function data_default_timezone_set() in E:\AppServ\www\online message system\config.php on line 12
求哪位大神指点指点吧!!!
上一篇: APPSecret是什么意思
推荐阅读
-
php “Call to undefined function: mb_substr()”的解决办法
-
undefined function: [php] Call to undefined function bccomp
-
PHP加密3DES报错 Call to undefined function: mcrypt_module_open 的解决方法
-
PHP加密3DES报错 Call to undefined function: mcrypt_module_open() 如何解决
-
PHP FATAL ERROR: CALL TO UNDEFINED FUNCTION BCMUL()解决办法
-
php运行出现Call to undefined function curl_init()的解决方法
-
Fatal error: Call to undefined function curl_init()解决方法
-
ThinkPHP做文字水印时提示call an undefined function exif_imagetype()解决方法
-
call to undefined function curl_init()
-
Alipay支付宝调用错误:Call to undefined function openssl_sign()