时间:2021-07-21人气:-
php.ini文件没有参数没有配置正确解决方法:(1) 打开php.ini文件,找到:extension_dir = "./"将其改为;extension_dir = "X:PHPext"(php扩展程序目录)(2) 找到:Windows Extensions,去掉模块配置每行前面的;号即可extension=php_mbstring.dllextension=php_gd2.dllextension=php_mysql.dll(3) 找到:disable_functions =改为:disable_functions =passthru,exec,system,popen,chroot,escapeshellcmd,escapeshellarg,shell_exec,proc_open,proc_get_status(4)系统环境变量(rabbit8.cn大神原创)添加系统环境变量,变量名:PHPRC 变量值:c:php (php目录)保存php.ini文件,并将其复制到C:Windows注:如果在第一次配置过程中,php.ini参数出现错误,虽然直接修改C:Windowsphp.ini的参数,但是无法立马生效.那么还需要重启IIS来使用新的参数生效!
上篇:跟着hsp一步步学mysql优化的方法
下篇:浅谈SQLite时间函数的使用说明与总结分析