Jump to content

Run as Background Process


IrOnMaSk

Recommended Posts

Hi guys,

So I want to run one of my php page as a process. I don't want it to run on a browser because it'w be just a blank page. I've been searching and I know the function is shell_exec... But I don't know how to use this function... And if it's not too much asking :) i want to call it from a batch file... I know the batch scripting part, it would be just (start then the path to the page)...

 

any help or idea would be much appreciated,

thanks

Link to comment
https://forums.phpfreaks.com/topic/242553-run-as-background-process/
Share on other sites

The php.exe is the php executable...it is what runs everything to do with PHP. If you are using Apache as a web server, well Apache calls that executable to execute any php code it has, it just does it behind the scenes so to speak. Without that executable file, well PHP wouldn't work on your server.

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.