The script is in the root of the site.
Run in the browser. It produces only the code of the script itself as text, but it does not execute.

In the console, apparently, it is executed, but it just gives me an html page with text (in general, the result of the script should open this page in the browser). But again, the links there are incorrectly formed.

In general, this script is bigdump.php
https://www.ozerov.de/bigdump/
I think it may be necessary to configure apache itself to display scripts, but something also fails. Tell me the solution.

php5.3.29
Apache / 2.4.7

  • php is the server language and in the browser it does not start - Andrew NOP
  • catalog.site/bigdump.php so it does not start? and then how to run? - evans
  • You need to configure apache yourself. Just do not be shy and tell us what it is that you are not getting, otherwise you will have to send it to Google for instructions on how to set it up :) - andreymal
  • I need to run the script, I try to run it after going through the catalog.site/bigdump.php browser, where bigdump.php right script, lies in the root. The result of the script will be the formation of html pages with the necessary links. But I only have the script (text) opened in my browser - evans
  • one
    Apache is not aware that * .php is a script. You need to install the apache-php module (see how it is called in your OS), usually the configuration file gets into the Apache module, and there is an AddHandler on * .php files that are not just sent but executed - wirtwelt

0