Python or shell and &php script to restart apache server


We would like to be able to gracefully restart our apache from our web interface. We tried the exec() command but that didn't work.

I guess we better call a python or shell script which can restart the apache server.

The end product needs to be a php/xhtml page which has a button to trigger the restart action.

Restart of the apache server will be accomplished by python or shell script.

If possible, also we would like the result to be written on the web page: "Restart succesful" or "Restart failed"

This is a CENTOS 5 box.


Skills: PHP, Python, Shell Script

See more: python restart server, restart python server, python restart, amp shell script, python button, python end, shell script or, shell script, python work, python web, python 3, php python, php command, Apache server , python php interface, web script python, xhtml amp, server 2012 python, apache server 2012, call shell script, action script work, web interface php, web python script, php exec shell script, php exec command

About the Employer:
( 14 reviews ) Istanbul, Turkey

Project ID: #2554274

Awarded to:


Ready to do.

$30 USD in 0 days
(5 Reviews)

7 freelancers are bidding on average $65 for this job


Hello,i can start immediately.

$60 USD in 2 days
(22 Reviews)

Hi, I can do it in next few hrs for you. I am available right away.

$100 USD in 0 days
(9 Reviews)

We have a team of experts who are working on python,perl,php,shell,linux from last 2 to 3 years... Give us this opportunity we will finish it within one day.

$30 USD in 1 day
(3 Reviews)

Toolkit Solutions today boasts of maintaining and working with a large database of desirable programmers. If you hired Toolkit Solutions today, you can be assured that at least someone professional will be looking a More

$125 USD in 5 days
(0 Reviews)

Podemos realizar la tarea q requiere

$30 USD in 2 days
(0 Reviews)

Its easy on Linux, let's make a deal.

$80 USD in 0 days
(0 Reviews)