During setup and installation of the PHP development environment, we will use the packages named WAMP in the easy-to-install versions of Apache, MySQL, and PHP. Based on the reputation of the Linux-Apache-MySQL-PHP (LAMP) platform, the installation program is built centered on the key components of the platform to develop WAMP, so that LAMP is closer to Windows users. You can use
During setup and installation of the PHP development environment, we will use the packages named WAMP in the easy-to-install versions of Apache, MySQL, and PHP. Based on the reputation of the Linux-Apache-MySQL-PHP (LAMP) platform, the installation program is built centered on the key components of the platform to develop WAMP, so that LAMP is closer to Windows users. You can use
PHP Development Environment Construction
During installation, We will pack the package named WAMP using the easy-to-install versions of Apache, MySQL, and PHP. Based on the reputation of the Linux-Apache-MySQL-PHP (LAMP) platform, the installation program is built centered on the key components of the platform to develop WAMP, so that LAMP is closer to Windows users. You can use the simple context menu in the WAMP System Tray Icon to stop, start, restart the service, and load modules into Apache, MySQL, and PHP. Follow the Installation Wizard to install the configuration file. After installation, you can directly access the configuration file from the context menu.
You can obtain WAMP from WAMPServer.com.
IDE environment construction
Learn how to use another set of Eclipse plug-ins, collectively known as PHP Development Toolkit (PDT), to develop PHP applications. We will also learn about some features in Java EE Edition, which are part of PDT.
- You can obtain PDT from http://download.eclipse.org/tools/pdt/downloads/
- You can select this option from http://downloads-source.zend.com/pdt/all-in-one/to obtain the pdtwith the debugerfunction.
For specific installation methods, refer:
Bytes.
ZEND FrameWork development environment setup
You can get the Zend framework from the Zend website (http://framework.zend.com. Download the compressed file and decompress it to the selected directory. Make sure that the HTTPD. CONF file that references the directory has the correct path.
Specific modification method:
Select the Apache module sub-menu in the WAMP context menu, and then make sure to activate the rewrite_module and select the module. A triangle appears next to the module name. Click this menu item. The menu disappears and the icon turns yellow, indicating that Apache is restarting. Select the PHP extension sub-menu to activate php_pdo and php_pdo_mysql.
Sometimes, even with such a great menu, you still need to edit one or two configuration files. In this example, we need to edit the httpd. conf file to include Rewrite Rules for The mod_rewrite module, and add some commands for the Zend framework to take effect, as shown below.
Listing 1. Httpd. conf file
RewriteEngine on
RewriteLog "g: ZendFramework-0.1.2 ewrite. log"
RewriteRule !. (Js | ico | gif | jpg | png | css | php) $/index. php
Php_value include_path ".; g: ZendFramework-0.1.2library"
Add Zend debuger in php. ini and add it in any blank space:
Zend_extension_ts = "eclipseplugins file directory/org. zend. php. debug. debugger. win32.x86 _ 5.2.6.v20070507/resources/php5/ZendDebugger. dll"
Restart Apache to Debug your project using PHP Web Page in Eclipse> Debug.
For debugging details, refer:
Http://www.thierryb.net/pdtwiki/index.php? Title = Using_PDT _: _ Installation _: _ Installing_the_Zend_Debugger # Setup_php.ini
Now you can start your work.
Implementation example can refer to: http://framework.zend.com/manual/en/zend.controller.html#zend.controller.quickstart
Development Manual for ZEND FrameWork:
Http://framework.zend.com/manual/en/zend.controller.html#zend.controller.quickstart
Websites or tutorials recommended by ZEND FrameWork:
Http://akrabat.com/zend-framework-tutorial/
Http://hades.phparch.com/ceres/public/article/index.php/art::zend_framework::tutorial/5
Http://www.ibm.com/developerworks/cn/opensource/top-projects/php-resources.html
Http://shiningray.cn/zend-framework-tutorial.html