Home > Backend Development > PHP Problem > How to run php in the console

How to run php in the console

藏色散人
Release: 2023-02-28 14:26:01
Original
4004 people have browsed it

How to run php in the console

How to run php in the console?

First enter your php installation directory

Then assume it is installed in D:\server\php

Then enter in the cmd command line:

D:
cd D:\server\php
php.exe -f E:\czjx\a.php(假设php文件放在 E:\czjx)
Copy after login

How to run php in the console

Recommended: "PHP Tutorial"

The above is the detailed content of How to run php in the console. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template