Home  >  Article  >  Backend Development  >  php运作的几种方式

php运作的几种方式

WBOY
WBOYOriginal
2016-06-13 10:39:04807browse

php运行的几种方式
作者:zccst

最常见的方式:http方式

即用户请求url地址,访问php脚本。这也是我熟悉的方式,而且我一直以为就这一种运行方式。


今天在做数据导出的时候,由于数据量比较大,需要用脚本方式,所以才知道php还有很多其他运行方式(不通过url访问)

1,php xx.php
如果在后台运行,还可以再加&

2,cron方式

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