本帖最后由 ybwl 于 2010-9-24 15:38 编辑
按官方的php.ini的设置如下:
打开php.ini文件,找到: extension_dir= "./"
将其改为: extension_dir= "X:\Server_Core\PHP\ext"
找到:Windows Extensions
在Windows Extensions下方的动态模块配置中,需要打开以下模块支持:(去掉模块配置每行前面的分号即可) php_gd2.dll php_mbstring.dll php_mcrypt.dll php_mhash.dll php_ming.dll php_mysql.dll php_openssl.dll php_sockets.dll php_xmlrpc.dll php_zip.dll
找到: disable_functions= 改为: disable_functions=passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
发现当安装了zend3.33后,上面的设置中的disable_functions=后面添加的那些禁用的涵数全自动清空了。
Windows Extensions下面的那些选项中也有几个如: php_mbstring.dll php_mysql.dll php_openssl.dll php_sockets.dll php_xmlrpc.dll
也还原了。不知道是zend必须要这样还是怎么回事,我只好又重新设置了一下php.ini.
请高手对些做一下解释。 |