Jump to content

[Solved] Exec() enabling at plesk, and some questions! (Install Python Modules)


Recommended Posts

Posted

Hello! Congratulations for everything you providing! I yesterday started to host my educational page on helio. I am noob plesk user but it's easy as far i can see and i am not having problems uploading my stuff and use your hosting. My site is to help student's of multimedia,web and app design greek schools by letting them practice to the questions of the final exams for this object's certification. I am using some string comparing algo's throught php but for giving the best precision to my guest i need to run a python script (a genshim's library short coded algo that returns the similarity score comparing user's and the correct answer). It's working locally to my pc xampp etc but i can't find the php.ini to plesk or a way to enable exec and run mu python script! Can you help me please? My other question is how many sites can be hosted to an account! Thank you!!!!

Posted

Oh, i forgot to say that i am using Tommy (donated(the less for now  :( )) and i am using php 8.1.19 fastgci(apache). Should i upgrade to the next version so i can use my python scripts easier? thank you again!

Posted

Exec is intentionally disabled for security reasons. Python is supported, but you have to develop and run them directly as CGI, you can't run python from PHP here (and to be honest, this is the first time I've heard of someone actually doing that, it's not standard practice)

There is currently no limit to the number of sites that can be hosted in an account at the moment (assuming they all fit in your disk space quota), though we've debated adding a domain limit since we've had a few users ask for way too many domains (each domain on the server slows down the server even if it's not being actively used).

 

Posted

Thanks a lot, as i told i am newbie, so i'll try to use the cgi method. i only tested my site locally so i used my python scripts through exec(). Thanks a lot for your answer and everything! :)

Posted

Ok, i did my research and i think now i am able to run python throught cgi, now am i able to install some python packages that are required for my script? (at least genshim 4.3.1)? thanks a lot again!!

  • wolstech changed the title to [Krydos] Exec() enabling at plesk, and some questions! (Install Python Modules)
Posted
3 hours ago, yannisp said:

genshim 4.3.1

There is no module named genshim, with an m, but there is a module named genshin, with an n, but the latest version is 1.5.2 not 4.3.1.

  • Krydos changed the title to [Solved] Exec() enabling at plesk, and some questions! (Install Python Modules)
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...