还是不行,查看apache的error_log: [error] [client 192.168.200.1] PHP Warning: filesize(): stat failed for /home/boss/mpi.cpp in /var/www/html/readfiles.php on line 7路径肯定是对的。
还是不行,查看apache的error_log: [error] [client 192.168.200.1] PHP Warning: filesize(): stat failed for /home/boss/mpi.cpp in /var/www/html/readfiles.php on line 7路径肯定是对的。SELinux的安全策略有关。拥有者不是他是无法访问的。chown -R www-user dir
[error] [client 192.168.200.1] PHP Warning: filesize(): stat failed for /home/boss/mpi.cpp in /var/www/html/readfiles.php on line 7路径肯定是对的。
[error] [client 192.168.200.1] PHP Warning: filesize(): stat failed for /home/boss/mpi.cpp in /var/www/html/readfiles.php on line 7路径肯定是对的。SELinux的安全策略有关。拥有者不是他是无法访问的。chown -R www-user dir