Jump to content

Calling Python From Php


shegup

Recommended Posts

My username is shegup

My aim is to have a basic website created in php and to call a specific python script occasionally (https://github.com/umpirsky/webshot) from php.

Since exec() is not allowed for security reasons, I thought of using PiP - Python in PHP.

 

It shows up on pecl.php.net

http://pecl.php.net/package/python

 

its not available under PHP PEAR Packages in the cpanel

 

can you help me install this extension or let me know any other workaround to call a python program from php (I thought of html redirect but left it as last option).

 

I am on johnny

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...