Hi,
I am new in php. I want to execute my server_socket.php (with 755 permission) file in my web server and want this script to run forever. I have cPanel and "parallels power panel" as control panel.
Here my server_socket.php script resides in /home/abc/public_html/server_socket.php
Now how can I do that? Is there any terminal in any of those control panels?
Thank you.
How to execute php script
Moderator: General Moderators
Re: How to execute php script
You can have it executed by accessing it from the web. http://<your web server>/<script>.php
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: How to execute php script
some of those panels allow you to add "cron jobs" - they're like scheduled tasks in windows.
As for the running "forever" part - I'm not sure what you're getting at.
As for the running "forever" part - I'm not sure what you're getting at.
Re: How to execute php script
I'm thinking he made a server script and wants it to continue accepting connections ?Kieran Huggins wrote:some of those panels allow you to add "cron jobs" - they're like scheduled tasks in windows.
As for the running "forever" part - I'm not sure what you're getting at.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact: