- 论坛徽章:
- 0
|
本帖最后由 fengye5257 于 2013-03-27 14:04 编辑
回复 2# chenyx
您好,我刚才查看了一下日志上面是这样写的:
[Tue Mar 26 21:51:20 2013] [error] [client 192.168.152.1] File does not exist: /var/www/html/favicon.ico
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
[Tue Mar 26 21:54:47 2013] [notice] caught SIGTERM, shutting down
写的权限拒绝?
我特意的改了一下这个文件的属性为755,难道要改成777才可以嘛 ?
-rwxr-xr-x. 1 root root 65568 2? 22 10:42 curl.so
-rwxr-xr-x. 1 root root 1843676 2? 22 10:42 fileinfo.so
-rwxr-xr-x. 1 root root 33428 2? 22 10:42 json.so
-rwxr-xr-x. 1 root root 121576 2? 22 10:42 mysqli.so
-rwxr-xr-x. 1 root root 45332 2? 22 10:42 mysql.so
-rwxr-xr-x. 1 root root 25672 2? 22 10:42 pdo_mysql.so
-rwxr-xr-x. 1 root root 90872 2? 22 10:42 pdo.so
-rwxr-xr-x. 1 root root 21288 2? 22 10:42 pdo_sqlite.so
-rwxr-xr-x. 1 root root 265280 2? 22 10:42 phar.so
-rwxr-xr-x. 1 root root 41344 2? 22 10:42 sqlite3.so
-rwxr-xr-x. 1 root root 917366 10?24 2010 ZendGuardLoader.so
-rwxr-xr-x. 1 root root 81120 2? 22 10:42 zip.so
[Tue Mar 26 21:54:47 2013] [notice] caught SIGTERM, shutting down
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot enable executable stack as shared object requires: Permission denied
[Tue Mar 26 21:55:02 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Mar 26 21:55:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 26 21:55:17 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 26 21:55:17 2013] [notice] Digest: done
[Tue Mar 26 21:55:17 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
您看,不知道为什么会有这样的错误呢。。
肯请赐教,谢谢
可能是SElinux的原因嘛 ?
|
|