|

- 帖子
- 115
- 积分
- 92
- 威望
- 0
- 金币
- 0 个
- 体力
- 113
|
原帖由 cn_yhc 于 2006-1-16 09:34 发表
呵呵,请问你的PHP是什么版本的? 您好,不好意思忘了说了,我的PHP版本是:
28 Nov 2005, PHP 5.1.1
XP SP2 IIS 5.1 (未用apache,只使用了ISAPI方式)
故障现象再写一下,方便高手们帮我诊治,谢谢谢谢
我的PHP一运行$im = imagecreate(88,31);函数就出现如下错误:(已把gd库前的分号去了)
<b>Fatal error</b>: Call to undefined function imagecreate() in <b>E:\web\yaya\test01.php</b> on line <b>27</b><br />
但如果按楼主说的方法把相关文件拷到windows 及32目录下,任何php文件都运行不了,会出现:
no input file一行就什么都没有了
我也曾考虑过install.txt中所建议的,要在目录定义上加上"/",即extension_dir="c:\php\ext\" (最后要加一个/)
install.txt中的原话:................
The default location PHP searches for extensions is c:\php4\extensions
in PHP 4 and c:\php5 in PHP 5. To change this setting to reflect your
setup of PHP edit your php.ini file:
* You will need to change the extension_dir setting to point to the
directory where your extensions lives, or where you have placed
your php_*.dll files. Please do not forget the last backslash. For
example:
extension_dir = c:/php/extensions/
............... 但加不加这个backslash / 故障都是一样的
望高手指点
[ 本帖最后由 pluiezhu 于 2006-1-16 23:20 编辑 ] |
|