search

Home  >  Q&A  >  body text

Why does running the php file show that the web page is missing?

After configuring php and apache independently, you can run the HTML file, but when running the php file, it shows that the web page is missing. What is the reason? I'm at a loss for words, and I hope some kindhearted people can help me with some pointers. Thank you very much

DavidDavid2723 days ago1344

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-06-15 09:12:05

    Run phpinfo(); try. Maybe php cannot be parsed. If it doesn’t work, try the integrated environment. Don’t waste too much time on the environment. Focus on the project.

    Recommended php integrated environment toolbox: http://tool.php.cn

    reply
    0
  • David

    Thank you for your reply. The web page cannot run the php file. Maybe it cannot be parsed. Everything else is configured, but this step is missing. Maybe the Apache server cannot hand over the file to the PHP engine for processing. Ask the teacher for help

    David · 2017-06-15 12:56:21
    David

    Following your prompts, running phpinfo() displays a PHP configuration page.

    David · 2017-06-15 13:04:25
    David

    On the verge of collapse, I uninstalled PHP and Apache and reinstalled the PHP integrated toolbox. But after running, only the green square of mysql is red, but the apache square is red?

    David · 2017-06-15 14:22:21
  • ringa_lee

    ringa_lee2017-06-15 09:11:05

    First of all, you need to make sure that your environment is configured correctly. If there is no problem with the environment, then there should be a problem with the php program in your case

    reply
    0
  • Cancelreply