I have a SQUID installation on an OpenSuSe 10 server.
I have written a management webapp thru Apache and PHP to perform various tasks that I need done in relation to squid.
The problem I am having is I am unable to perform the following tasks using PHP's exec function:
(I have also tried the alternates using 'rcsquid' insted of /etc/init.d/squid)
I have attempted the following things:
Added wwwrun to the Sudoers file and configured it for use without password, then attempted the above commands with the sudo prefix
Made root the primary group of wwwrun to see if that made a difference
Added the commands i wish to run to a bash file and tried executing the bash file insted.
None of the above worked.
My PHP code isn't returning any errors, and the optional output variable of exec in php is returning an empty array.
I am out of ideas and slowly going insane with every google search i do... can anyone help?