Jump to content

Call from php kills my apache


Recommended Posts

$command = "/opt/eset/efs/bin/odscan --scan --profile='@In-depth scan' '/tmp/7886sas6sadf89asas897";
system( $command, $virusCheck );

Thats what I do.

I move a recently uploaded file to a new folder.

Then start the scanner on this directory.

My apache hangs up.

When I uncomment the virus check all is working fine (Moving files works as intended).

 

How does one call the scanner correctly from php?

Edited by Markus_D
Link to comment
Share on other sites

  • Administrators

EFSL was not tested with an on-demand scan being called from php so it's not a supported scenario. You could open a ticket with your local ESET support so that they inquire devs about such possibility.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...