HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

PHP tutorial : run Python from PHP in Ubuntu

55,198 views November 14, 2017 7:21

Watch on YouTube
ChannelAmbar Hasbiyatmoko

Description from the creator

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

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

PHP need permission to execute shell_exec('script.py') from www-data (apache)

About this tutorial

Ambar Hasbiyatmoko published this 7:21 video tutorial on November 14, 2017. It has been watched 55,198 times on YouTube.

Duration
7:21
Published
November 14, 2017
Views
55,198
Likes
275

Tags

Share

This tutorial in other languages