-   Linux - Server (
-   -   Which user runs apache/PHP? (

craseal 08-27-2010 10:25 AM

Which user runs apache/PHP?
I migrated joomla to my new server and noticed that the script doesn't have the permission to edit it's own configuration file and write to the cache folder. All my files are owned by root, which I guess isn't a good idea.

As what user do the PHP scripts run? Or is this system specific? I don't want to chmod all files to 777 so I'd just like to change file and folder ownerships to the user that is executing that script.

quanta 08-27-2010 11:54 AM

ps -ef | grep httpd (or apache)?

All times are GMT -5. The time now is 09:39 PM.