Python replaces only PHP or replaces PHP and apache?

Asked

Viewed 806 times

1

The first language I learned was PHP, unfortunately. PHP runs together with apache, but I wanted to use python instead, but the tutorials I found about python for the web make it look like it replaces apache, is that right? I have to configure it to play the role of the server?

  • Related: https://answall.com/q/243240/5878

  • 2

    www.cursoemvideo.com best place in the world to start in Python

  • Sure, Guanabara is the best but will arrive in the web part?

1 answer

1

In the Django (the most widespread python web framework) runs a server under the table to make it easier to write your application. This server runs on the development environment, i.e.: On your machine. When your site is set 'in the air', it is common to use a different server like Apache.

The difference between PHP and Python is that in PHP you actually use an apache server, in development. With Python this is facilitated during development and applied only in production.

Django documentation on using Apache

Practical step-by-step application on the subject

Browser other questions tagged

You are not signed in. Login or sign up in order to post.