+ 3

Why php need appache or any server software to create web page?

I am totally new to php I am from node js background can any one explain how php work ?

20th Dec 2020, 11:16 AM
Programmer Raja
Programmer Raja - avatar
2 Respuestas
+ 3
you need a server because if yoh didnt have one, then your site would be unreachable. If you want your site to run 24/7 it needs a dedicated machine to run on and serve requests to the site. Without the server, noone would know where your site is and they would also be unable to enjoy it.
20th Dec 2020, 11:22 AM
Slick
Slick - avatar
+ 3
PHP is server language. It was written in perl to make static web pages dynamic. unlike ruby, python, c# and others, php works only if database and server is connected
20th Dec 2020, 11:25 AM
Shadoff
Shadoff - avatar