On 12/8/06, mike xu <[EMAIL PROTECTED]> wrote:
Hi Ryan,
I just did another test, if I start the httpd by root user manually (the
httpd daemon program still owns apache user by the result of `ps -aux`), the
php script works fine. So, it seems the httpd start script
(/etc/rc.d/init.d
problem...
I'll continue checking it ...
Thanks,
Mike
On 12/8/06, Ryan Creaser <[EMAIL PROTECTED]> wrote:
mike xu wrote:
> Thanks a lot forr your reply.
>
> Here is the error msg:
> *Warning*: fopen(/dev/pmsg)
> [function.fopen<http://localhost/Source/test/function.fop
ove pmsg to /tmp/ directory and change its
own to appache...
*
On 12/8/06, Ryan Creaser <[EMAIL PROTECTED]> wrote:
mike xu wrote:
> Hi, I have problem of open named pipe file in linux.
>
> Here is my sample code:
>
> $fifo_file = "/dev/pmsg";
> @ $fp = fopen($fif
Hi, I have problem of open named pipe file in linux.
Here is my sample code:
$fifo_file = "/dev/pmsg";
@ $fp = fopen($fifo_file, 'w+b');
if(!$fp) {
echo "open ".$fifo_file." failed";
}
else {
$msg_cmd = "ttt";
fwrite($fp, $msg_cmd, strlen($msg_cmd));
fclose($fp);
}
There i
4 matches
Mail list logo