PHP tutorial : run Python from PHP in Ubuntu

in this video will show you how to run a from php using shell_exec() ..

when it trying to run shell_exec(‘’) .. it doesn’t work ..
i’m searching for the solution from .. and i got it ..
The solution is .. change the owner of from user:user to user:www-data ..

PHP need permission to execute shell_exec(‘’) from www-data (apache)


Leave a Reply

Your email address will not be published. Required fields are marked *