Jump to content

system call error in PHP


mjm7867

Recommended Posts

I am trying to run clamAV (Command line Antivirus) on Centos 4.4, when i try system("clamscan") on PHP,

i get the following error: "sh:clamscan: command not found"

other commands are working fine such is system(ls), system("ls -l").., even though on the command line
"clamscan" works fine

Need help please Thanks in advance!!!
Link to comment
https://forums.phpfreaks.com/topic/27171-system-call-error-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.