Hello all,
I am just a PHP beginner. And i've got a prolem of exec() function with PHP..
As i know, PHP is a SSL of Apache, therefore, the user of PHP is as Apache, that make me facing a problem about rights in Linux system.
If there is a executable file that should be either run as root or a specified user but not as apache, How can i run such executable file in PHP script??
Can i change myself as another user and run it?
Regards,
Raymond Hui