
How to test your PHP code as the www-data user
Apart from running web applications, PHP can execute commands via a shell. But testing your shell script can be tricky, especially when running it as a different user. This post will look at how you can sudo or su as the www-data user to test your PHP code. Why the …
How to test your PHP code as the www-data user ./Read More