I am running CentOS release 6.4 (Final). I removed php 5.2.17 via yum and installed php 5.3.3. via yum as well. Since then Apache can't write to files. I've got error:
failed to open stream: Permission denied
phpinfo() says:
Server API CGI/FastCGI
Details:
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Server version: Apache/2.2.15 (Unix) Server built: Aug 13 2013 17:29:28
Any ideas? Many thanks
检查运行您的apache的用户是否具有读取目录和文件所需的访问权限
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.