Tags » Php-fpm

How to sudo from exec function using nginx, php-fpm, and Arch Linux

I can log in as any user and sudo whoami without password and get “root”. When i try this with php -r 'echo exec("sudo whoami");' 63 more words

Recent Questions - Stack Overflow

[Nginx | PHP-FPM] Wordpress HTTP error when uploading files

Very first time after installed WordPress on my VPS, I can only upload file <2MB due to the setting of /etc/php.ini. After modified /etc/php.ini… 54 more words