Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.