Home  >  Article  >  Backend Development  >  where php runs

where php runs

藏色散人
藏色散人Original
2019-10-10 09:40:585301browse

where php runs

Where does php run?

Run the PHP file

First we can run it in apache and ensure that apache is installed on the computer

where php runs

Then find the htdoc folder, as shown in the figure below, open it

where php runs

Then copy the php file to the htdoc directory, and then run it directly in the browser

where php runs

In addition, we can also run it in the integrated development tool, right-click and select Run As, as shown below

where php runs

Finally, you can check the output results directly on the console, as shown in the figure below

where php runs

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of where php runs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn