Quantcast

Jump to content


Photo

PHP to Python?


  • Please log in to reply
5 replies to this topic

#1 drenfest

drenfest
  • 3 posts

Posted 02 July 2016 - 01:43 AM

Hi I'm new here and I noticed that the program manager is loading a python library how difficult would it be to incorporate a php library as well? Most of my experience is on linux machines so I'm not exactly sure how to deploy scripts off of windows directly a point to the right resources would be greatly appreciated



#2 Neoquest

Neoquest
  • 1760 posts


Users Awards

Posted 02 July 2016 - 09:57 AM

Why would you need the program manager to run a php library? You should just be able to install a PHP binary for windows and run your script.



#3 drenfest

drenfest
  • 3 posts

Posted 02 July 2016 - 05:11 PM

to build scripts for the community I can run php in my terminal I just haven't launched it from anything other than a web server or wamp or xxamp



#4 Neoquest

Neoquest
  • 1760 posts


Users Awards

Posted 02 July 2016 - 08:19 PM

to build scripts for the community I can run php in my terminal I just haven't launched it from anything other than a web server or wamp or xxamp

 

Ah, well if you want to write PHP scripts for the community you'll probably just have to ask people to install PHP or pack the PHP code into an executable somehow. Alternatively, just use a different language.



#5 drenfest

drenfest
  • 3 posts

Posted 02 July 2016 - 09:22 PM

Alrighty I'll start jumping on some other languages been diving into nodejs for awhile now I think I'll be able to whip some things up with it thanks for the advice



#6 Pyro699

Pyro699
  • 1543 posts


Users Awards

Posted 04 July 2016 - 10:27 AM

There would never, ever - be a good or viable reason to load a PHP libary from python - lol... I mean, in theory you could write a php executable wrapped in python, so you call python functions and it invokes PHP - but if you are going to that kinda work, you should just do python - lol




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users