I run XAMPP (which starts PHP and apache) with this command:
do shell script "sudo xampp start" password "******" with administrator privileges
So I asume it has admin privileges, does PHP get those in a kind of cascading effect?
Because PHP can't create files where there aren't 'other' write permission, but I, as root, can, so if PHP was running as root should be able too.
Is there a way I can check if PHP is running as root, and if not, how can I make it?
