Home  >  Article  >  Backend Development  >  Can php run in the browser?

Can php run in the browser?

藏色散人
藏色散人Original
2019-10-23 09:25:484559browse

Can php run in the browser?

Can php run in the browser?

php can run in the browser, but the php running environment needs to be installed.

For example, install phpstudy:

phpStudy is a program integration package for PHP debugging environment. This package integrates the latest Apache PHP MySQL phpMyAdmin ZendOptimizer, which can be installed once and used without configuration. It is a very convenient and easy-to-use PHP debugging environment. The program not only includes a PHP debugging environment, but also development tools, development manuals, etc.

If the installation is completed, start apache and directly access localhost to see if you can access it. If it is successful, it means the installation is successful. Then put the .php file you wrote directly under www and access it with localhost/filename.php.

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

The above is the detailed content of Can php run in the browser?. 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
Previous article:Can js be written in PHP?Next article:Can js be written in PHP?