在虚拟主机目录运行SWXPHP报错。
Warning: open_basedir is set in PHP.ini . Certain SWX APIs will not work properly with this restriction. Please turn open_basedir off (or contact your web host and ask them to do this for you.)
Warning: Safe Mode is on in PHP.ini . SWX will not work properly with this restriction. Please turn Safe Mode off (or contact your web host and ask them to do this for you.)
修正方法:
在<Directory “f:/mobile”>
php_admin_value safe_mode 0
php_admin_value open_basedir none
</Directory》
本文介绍了解决在虚拟主机环境下运行SWXPHP时遇到的错误问题,特别是关于PHP.ini配置中open_basedir和SafeMode限制的问题,并提供了一种在特定目录下禁用这些限制的方法。
2998

被折叠的 条评论
为什么被折叠?



