根据 Wiris 指南。
- 授予 web 服务器用户对 ckeditor/plugins/ckeditor_wiris/integration 中包含的 PHP 文件的执行权限。
→ 我的设置:文件夹“集成”:755
。此文件夹内的所有文件:754
- 将 ckeditor/plugins/ckeditor_wiris/cache 和 ckeditor/plugins/ckeditor_wiris/formulas 目录的写入权限授予 Web 服务器用户。这些文件夹将用于存储公式 MathML 代码和时间图像。
→ 我对这些文件夹的设置:775
但是,我在尝试打开 Wiris“数学弹出窗口”时收到以下警告,并且无法正确打开。
警告:is_file(): open_basedir 限制生效。文件(/home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/../../../../../../../../lib/moodlelib.php)不在允许的路径: (/home/my_user_name:/usr/lib/php:/tmp) 在第 39 行的 /home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/bootstrap.php
警告:is_file(): open_basedir 限制生效。文件(/home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/../../../../../../lib/moodlelib.php)不在允许的路径内: (/home/my_user_name:/usr/lib/php:/tmp) 在第 39 行的 /home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/bootstrap.php
我的权限正确吗?这些警告是否与文件/文件夹权限有关?我正在使用www.serversfree.com虚拟主机来测试这一点。