Check whether the PHP file has a syntax error in PHP. Previously, a simple template engine was used in a Dangdang project. In fact, it is also a template engine built on discuz, which is very simple, what it does is to use a simple template engine
Before when the time of a project used a simple template engine, in fact, is also a reference to Discuz to do the template engine, very simple, it does is to put some custom tags into PHP code. has said very simple, so the compile time is also
The Vim plug-in that automatically checks PHP syntax, and the php syntax vim. The Vim plug-in that automatically checks PHP syntax. The php syntax vim is hard to avoid syntax errors such as a semicolon due to a large number of PHP statements
Due to the large number of PHP statements recently, it is inevitable that you may accidentally write less semicolons or other syntax errors. The general check method is to return to the command line to run php-l, or you can upgrade it and run it
We usually know the syntax when running PHP. For example, deploy the PHP source file under Apache and access the file through a browser.
Sever 500
The error occurs when the server executes our script. At this time, we may guess that PHP has a
Previously, a simple template engine was used in a Dangdang project. In fact, it is also a template engine built on discuz, which is very simple, what it does is to compile some custom labels into php code. It has been said that it is very simple,
Previously, a simple template engine was used in a Dangdang project. In fact, it is also a template engine built on discuz, which is very simple, what it does is to compile some custom labels into PHP.
Code . It has been said that it is very simple,
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
PHP Grammar automatic check of vim plugin, PHP syntax vim
Due to the recent write PHP more, occasionally hand-less write a semicolon and other grammatical errors, the general way is to go back to the command line run Php-l, or upgrade directly in
Joe Brockmeier briefly introduces the PHP scripting language, discusses the origin, performance, and application Platform of PHP. A simple example of a PHP script illustrates its basic syntax and usage.
If you are working on web-based development,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.