The server is centos
The background language of the server is PHP, but there is an open source library that is a Python version. How can we run two environments on one server? Newbies please give me some guidance, thank you
给我你的怀抱2017-05-19 10:08:58
Installing python will solve the problem and there will be no conflict.
怪我咯2017-05-19 10:08:58
Python multi-version management tool recommends pyenv
To run python website, Gunicorn + Nginx is recommended
某草草2017-05-19 10:08:58
Linux environments all come with python, but you can also install a different version of python based on your open source library; as for usage, you can call the shell
或者python
command through php to run it. There is no conflict with this.
我想大声告诉你2017-05-19 10:08:58
You can try to install a suitable python environment, which is generally divided into two types, python2.7 environment and Python3.6 environment. Depends on your needs