PHP / Apache Question

Hello people! I have a question that concerns a php script and some apache configuration stuff.

I have a php script that I made which will be used to monitor services and have a little area where it can restart/stop/start services that I define. Now, currently it doesn't work as the script is running as apache and it needs to run as root.

Is there a way to have those special set of php scripts run on port 15000 for example and be able to run as root? I know its a security issue, but, its only for a test server of mine so I dont have to be in via ssh all the time.

Any help would be appreciated!

Thanks!

 

 

 

 

Top