[PHP] exec, passthru calling /usr/local/bin/php4 problem

2003-06-24 Thread Devin
I am currently using Apache 1.3.27, PHP 4.3.2 and our server is configured to force all users to use PHP as a script by calling #!/usr/local/bin/php at the top of each script causing suexec to control scripts. I noticed a really strange thing from one of our users. I have tested the following and

[PHP] exec(), passthru()

2003-06-19 Thread Mignon Hunter
hello all, I am trying to use either of the functions above to execute a compiled c program on linux. The command line works with ./a.out (a.out being the filename). Both my test.php and the exe are in the same directory. I've tried combinations of all the following. Thx Mignon ?

Re: [PHP] exec(), passthru()

2003-06-19 Thread Jason Wong
On Friday 20 June 2003 00:11, Mignon Hunter wrote: I am trying to use either of the functions above to execute a compiled c program on linux. The command line works with ./a.out (a.out being the filename). Both my test.php and the exe are in the same directory. I've tried combinations of

[PHP] exec(), passthru(), system() and shell_exec() hang.

2003-04-01 Thread Lasse Riis
Hi everyone. I'm running a RedHat Linux 8.0 server with php 4.2.2 on apache. I'm having trouble using the system execution commands. If any of these commands are included in my script it hangs, I don't even get output that is flushed before the command: echo 'Text to be flushed';

[PHP] exec/passthru: io operation not permitted

2003-02-28 Thread ati ati
Hello all, I've installed PHP 4.1.2 to the Apache Web server, and I wanted to control IO ports. But I always got error: Cannot open /dev/port: Operation not permitted or error: ioperm: Operation not permitted I played with the httpd.conf - Directory / ... /Directory Directory /var/www..