I'm quite new to php and now I have a problem.
I wrote a PHP Script to edit my ACL propherities for squid.
Now when I have finished editing them, I have to restart squid.
I would like to do this also via Web (PHP)....
but how? I don't want my Apache (user: wwwrun) to run as root.
but wwwrun can't start squid. Only user "squid" with pass "mypass" can start or stop squid. How can I do this?
"exec(su squid /etc/init.d/squid start)"
won't do cos it wants a pass for user squid?
Can anybody help me please?