php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48252 PHP Files on NFS opened by Apache do not work
Submitted: 2009-05-12 22:16 UTC Modified: 2009-05-15 10:32 UTC
From: ns at centralservices dot nl Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.9 OS: Linux (Fedora Core 10)
Private report: No CVE-ID: None
 [2009-05-12 22:16 UTC] ns at centralservices dot nl
Description:
------------
When trying to access index.php on an nfs share on my web server, it gives the following error:
[Tue May 12 23:56:33 2009] [error] [client 127.0.0.1] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Tue May 12 23:56:33 2009] [error] [client 127.0.0.1] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0

Note that I've tried to chmod -R 777 the entire /var/www/html nfs share. This did not help.

Copying the entire folder localy does prefent the error from occuring. However, I'd like to develop and test on two different local machines using nfs.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-13 00:48 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 [2009-05-15 10:32 UTC] ns at centralservices dot nl
Well, I've asked in two forums with LAMP freaks and no one seems to have an answer to this problem as I seem to have 'opened up' all permissions (also in the NFS configuration).

So I hope you're really sure about the fact that this is not a PHP bug. If not, please allow this some more thought. If so, please ignore this message and thanks for your attention.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 01 21:00:03 2025 UTC