【发布时间】:2014-04-30 07:39:12
【问题描述】:
根据 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) 在 /home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/bootstrap.php 第 39 行
警告: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) 在 /home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/bootstrap.php 第 39 行
我的权限是否正确?这些警告是否与文件/文件夹权限有关?我正在使用www.serversfree.com webhosting 进行测试。
【问题讨论】: