Home > Backend Development > PHP Tutorial > PHP 最最基础 小白,望大神回复,感激不尽

PHP 最最基础 小白,望大神回复,感激不尽

WBOY
Release: 2016-06-13 12:19:56
Original
887 people have browsed it

PHP 最最基础 小白求助,望大神回复,感激不尽
在书上抄了一个例子,反复核对没有错误,但是在浏览器中预览有错误,多了 ;?,试了好多个例子,在不同浏览器中都试了,依然如此,求大神解答,拜谢!
------解决思路----------------------
PHP环境没配置好吧。
------解决思路----------------------
为什么访问php,url是file//c:xxxxx呢
需要搭建服务器运行,你这样运行只会解释为html,php的根本不会执行。
------解决思路----------------------
php是需要服务器端环境支持的,不是打开就可以...PHP的代码部分需要进行编译处理.所以 XAMPP值得你拥有
------解决思路----------------------
去下个wamp集成环境,适合各种新手测试

Related labels:
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