K
K
Kirill Gorelov2017-05-31 12:56:40
PHP
Kirill Gorelov, 2017-05-31 12:56:40

Php + java + python on same server?

Guys, now I confidently use php in my projects.
But also to improve my professional activities and general outlook, I want to try myself in python and java.
And the actual question. Is it possible to use all three languages ​​on one server (I have my own server, I rent it)?
If yes, tell me where to "dig" and what to use to use three languages ​​on one server?
To learn these languages, I think I will use codecademy and geekbrains.
And further. In addition to simply learning these languages, I want to try to create websites on them, purely for practice and study.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nik Gubin, 2017-05-31
@gubin_niko

Of course you can. For example, I have both php and python on the server. As for java, I can’t say anything, I don’t use it on a web server.
Regarding php, dig towards nginx + php-fpm
Regarding python, dig towards virtualenv, nginx + uwsgi
You will have one Nginx, but the configs for the sites are different. Somewhere you proxy on php-fpm, somewhere on uwsgi.

V
Vladimir Kuts, 2017-05-31
@fox_12

Discover docker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question