Hi all,
i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
2.2.13. Safe mode is OFF and Apache isn't chrooted.
I would run /usr/lib/mailman/bin/find_member -l list email so i used
exec(sudo run /usr/lib/mailman/bin/find_member -l list
email,$output) and set /etc/sudoers
On Sat, 2009-11-14 at 22:20 +0100, A. Mannini wrote:
Hi all,
i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
2.2.13. Safe mode is OFF and Apache isn't chrooted.
I would run /usr/lib/mailman/bin/find_member -l list email so i used
exec(sudo run
Hi all,
i've a problem using exec() on a Linux server with PHP 5.2.9 on Apache
2.2.13. Safe mode is OFF and Apache isn't chrooted.
I would run /usr/lib/mailman/bin/find_member -l list email so i used
exec(sudo run /usr/lib/mailman/bin/find_member -l list
email,$output) and set /etc/sudoers
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an unescaped character that is
causing an issue
Thanks,
Ash
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an unescaped character that
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an
On Sun, 2009-11-15 at 00:25 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may
Ashley Sheridan wrote on 2009-11-15 00:23:
Looked to all log...nothing! :-(
What other logs did you look at?
Then do this from a command line:
su - the user apache runs as
copy the command from the ph script and run it from commandline and let
us see the error you recieve...
--
Kind
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:
Ashley Sheridan ha scritto:
Have you checked to ensure that the exec is actually running at all?
Check the error logs to see what they say. There may be a problem with
the string argument for exec(), like an
I've encountered the same problem with exec(curl, system(curl, etc. PHP
exits with sh: \curl: No file or directory. I'm wondering if there is
some php shell option that has to be set.
My other problem:
Upfront, I can post and recieve data just fine with asp.net, perl, and
java client scripts.
On Thu, April 7, 2005 11:54 am, cragland said:
I've encountered the same problem with exec(curl, system(curl, etc. PHP
exits with sh: \curl: No file or directory. I'm wondering if there is
some php shell option that has to be set.
Use full path names for EVERYTHING in exec.
If curl, as I
Hi all,
I have a php code that tries to execute an rexec function for a at
command. For this I coded it in this way :
$str = exec (rexec -l usr1 -p usr1 myserver at now + 2minutes -f input
file;
the rexec function in itself is running fine in shell mode but whene I try
to execute it through
i'm basicly trying to execute an executeable with this following script.
$command = ../theApp/theapp;
exec ( $command , $ValueIn, $ValueOut);
echo $ValueOut;
I'm getting a value of 0 returned, but from a command line the executable
works fine and does what it is suposed to do is there any
If you are trying to receive the output of the command line you can use the
backtick notation
$list = `ls`;
Hope that helps
Andrew
Mark [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i'm basicly trying to execute an executeable with this following script.
Hi,
I want to launch a program which writes a file on the
server. But the process is under the owner of
webuser who doesn't have write permission, and I
don't want to set the directory writable to all users.
I've searched the doc and tried every way but couldn't
find a solution. Anybody knows
Hi I'm trying to create a script which my cron will run once a day to backup
my MySQL database, but the exec command doesn't want to work no matter what I
try...
exec(mysqldump -h localhost -u user -p pass --opt DataBase
BACKUPS/backup.mysql) or die(Problem);
I have tried adding the full
17 matches
Mail list logo