Re: fopen failed to open pipe file in Linux+Apache environment
| From: | Chris | Date: | Mon, 11 Dec 2006 00:35:34 +0000 |
| Subject: | Re: fopen failed to open pipe file in Linux+Apache environment | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245695@lists.php.net to get a copy of this message | ||
mike xu wrote:
Its so strange, when I runing /etc/rc.d/rc3.d/S85httpd restart, the php
script couldn't fopen pipe file.
But if I copy /etc/rc.d/rc3.d/S85httpd to some other place (for example
/root), and execute /root/S85httpd restart, the php script could fopen
file successfully!
Its so confusing ...
As Ryan suggested, it sounds like a SELinux issue. Try disabling SeLinux temporarily to see if that fixes the problem. If it does, you'll need to look at the policy and fix it (we won't be able to help much with that part of the process though).
--
Postgresql & php tutorials
http://www.designmagick.com/