I downloaded the VC9 x86 Non Thread Safe file from here , unpacked it, found the php.exe file, launched it, but when I open the file I get a message with a header - the entry point was not found, the same result is obtained with other launched applications in this folder.

What to do, maybe I downloaded the wrong installation file? Maybe you need to register some paths in the files? Or am I the wrong file to run?

    1 answer 1

    By itself, instal PHP provides the ability to run scripts only in console mode . To use PHP in website development, you still need at least a web server. For example, Apache or Nginx . The web server processes HTTP requests from the browser and returns the result as HTML. The web server can return the contents of both static html files and the result of php scripts. For this, this same web server needs to be configured for processing using a php interpreter.

    If you are just starting to understand all this, I recommend Denwer . It includes all the above installs, it is installed quickly, and does not require deep configuration of configs.

    • I already have Denver, but for a more in-depth study I was recommended to install it all myself - Roman Sokolov
    • I managed to install php with this trouble, but there is one question. I already have apache installed, but when installing php I didn’t have connection options, I had to choose what was installed by default, can apache now connect to php? - Roman Sokolov
    • Installing PHP itself will not connect anything. The essence of the installation is to unpack the archive into the specified folder. You need to bind PHP to Apache yourself by editing the httpd.conf config. There are tons of articles on this topic. - KiTE
    • one
      For deep learning it is better to install it all on linux. - Yoharny Babay
    • 2
      I'm not sure that the first acquaintance with PHP coding should start with installing Linux, Apache on it, and on top of PHP. This is certainly a very useful and necessary experience, but not at the initial stage. The goal to write "Hello World" is delayed indefinitely. - KiTE