+ 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 ?
2 odpowiedzi
+ 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.
+ 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