Created
January 20, 2016 17:00
-
-
Save namklabs/3a14ffb64d61a2fc112c to your computer and use it in GitHub Desktop.
find username executing PHP process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/questions/9557646/php-mkdir-permissions-denied-mac | |
$processUser = posix_getpwuid(posix_geteuid()); | |
echo($processUser['name']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment