Home > php教程 > php手册 > php中如何设置短标签short

php中如何设置短标签short

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 19:42:19
Original
1506 people have browsed it

我安装的是wamp环境。开始在网上搜,说应该在php.ini文件中将“short_open_tag=Off;”改为“short_open_tag=On;”,但是我找的是php目录下的php.ini配置文件,改好以后并没有起作用。 正确做法是: 在wamp/www目录下编写一个phpinfo.php文件,输出phpinfo(

             我安装的是wamp环境。开始在网上搜,说应该在php.ini文件中将“short_open_tag=Off;”改为“short_open_tag=On;”,但是我找的是php目录下的php.ini配置文件,改好以后并没有起作用。

        正确做法是:在wamp/www目录下编写一个phpinfo.php文件,输出phpinfo(),如图:

php中如何设置短标签short

        然后在浏览器网址栏中输入:localhost/phpinfo.php,回车后显示phpinfo()信息如下图所示:

php中如何设置短标签short

       

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template