在php中imagecreate函数是一个图形处理函数,主要用于新建一个基于调色板的图像了,然后在这个基础上我们可以创建一些图形数字字符之类的,但这个函数需要GD库支持,如果没有开启GD库使用时会提示Call to undefined function imagecreate()错误.
首页 >
to
PHP Startup: Unable to load dynamic library
昨天帮一朋友配置服务器结果发现apache日志中有PHP Warning: PHP Startup: Unable to load dynamic library 提示了,然后调试数据库连接发现提示Call to undefined function mysql_connect()错误,这样就想到了是mysql没有加载成功了,下面我们一起来看看问题解决办法.
PHP Fatal error: Call to undefined function bcmul()
在一台处理网络支付的服务器迁移的时候,发现不能支付。
1.PHP版本为5.3.3
php提示Failed to write session data错误
提示信息:Warning: Failed to write session data (files).Please verify that the current setting of session.save_path is correct () in Unknown on line 0
解决办法,代码如下:session.save_path = "D:/phprun/tmp".
PHP警告date(): It is not safe to rely on the system
在用PHP5.3以上的PHP版本时,只要是涉及时间的会报一个Warning: date(): It is not safe to rely on the system's timezone settings.
大体是说timezone没有设置,在中国使用的是格林+8小时,所以需要设置一下。
Call to undefined function php()
Call to undefined function php() 这个是什么错误,很多新手都会碰到这种问题,我想这种问题只要的懂这英语就知道是什么意思了.
是函数未定义了,就这么简单.