【文章內(nèi)容簡介】
mming. ?Good portability. Although it is designed to use in the environment of Linux and Apache Web server system at first, now PHP is already transplanted any operating system and patible standard Web server software. ?Simple grammar. PHP has many similarities with the C programming language, so it is easy to program using PHP for the C programmers. ?Rapid development. Because the source code is open, PHP will continue to develop rapidly. Development Environment At present there are many development platform based on PHP. Generally most developers like the development environment LAMP. Those who have certain development experience can set up their development platform by choosing the related server, DBMS, and operating system. There are some PHP IDE(integrated development environment) such as AMPSERV, WAMP, XMAPP, APPSERV, PHPSTUDY in the market for the developers develop the website by using PHP. At present the main PHP IDE is Zend Studio, which has included developing ponents for PHP. It reduces the development time and simplifies the plex application plan during edition, debugging, analysis and optimization. The Zend Studio not only has code for high measurement, grammar shrinking automatically and bookmark, but also its embedded debugger which fits for local and remote debugging patterns. It is many high debugging functions such as variable tracking, Singlestep operation, breakpoint, function calling, and so on. Moreover, it is also very stable in supporting Chinese for the latest version. in Building the Development Environment Those who are unfamiliar with the development environment do not set it up by himself for it may cause a conflict between various edition, moreover it is very difficult to solve the plex configuration problem. ?PHP language version. Before development, you must ensure consistence of the edition between PHP language and the server. Now PHP mainly has two editions (PHP4 and PHP5). The different versions have the difference with SESSION, exception handling, the variable range, the data type and so on. ?Server problem. The program which is edited with PHP in the windows platform will be arranged on the apache server. If it is arranged on IIS it leads to some inpatible problems and some update by manual such as writable rights is set up before uploading the document. There are not these problems if it is arranged on the apache server. ?Database problem. DBMS using with PHP has MYSQL, ORACLE and so on. MYSQL is weled by most of the developers for it is open source, free, and efficient. MYSQL is perfect database server software for medium and small application system. Besides standard ANSI SQL, it also