phpStudy How to debug and open PHP:
In a simple sentence, php is the same as txt (text document), it can be opened with Notepad,
But see What you get is the code, not the effect after PHP is executed;
We recommend opening it with software that supports utf8 format files such as dreameweaver or editplus.
phpstudy runs the php file:
If you are testing the php code locally, copy the php file to the WWW directory after installation,
phpStudy can Quickly navigate to the WWW directory through the menu "Website Root Directory".
Enter http://localhost/xx.php in the browser to run the PHP program you wrote.
Recommended: php server
The above is the detailed content of How to run php files in phpstudy. For more information, please follow other related articles on the PHP Chinese website!