Debug of Zend server and a note on Cache

Source: Internet
Author: User
Tags zend framework zend server

I have read a lot about how to install Zend server and how to install xdebug under Zend studio for debugging, But I seldom wrote about how to debug or how to debug Zend framework.

1: Install Zend studio. Here is the version 7.0, which can be found on the Internet. This is available in the IE Toolbar after installation.

I saw the debug, and IHA used it.

2: Install Zend server. Zend server CE is used on the Internet, but cannot be found. I used the corresponding Zend server version of php5.4, among them, I chose to install and install Apache in full. The default port is Apache port 80 and another port 10081 (this is the management address of the Zend server, similar to the management after oracle is installed ...)

3: There is an XML file to be adjusted. It can be searched on the Internet in the etc directory of Zend server.

4: Go to the Zend installation directory, find the Apache directory, and find the file dummpy. php under htdocs? It seems that this name is correct, and then go to the Apache CONF file in httpd. conf: Modify your home directory. I changed it to the public directory of my Zend project, and then set this dummpy. PHP is protected against public

5: Open Zend studio, import your Zend project, and randomly find a controller to break the breakpoint. Enter this address to IE. Click debug (on the IE Toolbar in step 1), the page will be refreshed, And the breakpoint automatically runs to your Zend studio, now you can start debugging .. It's really nice. You don't need to click the right email in IDE anymore (because Zend uses the ing path and wants to debug it now, if the corresponding file cannot be found in the editor by using the general method, This toolbar plug-in works well)

Let's talk about Zend cache. I recently used the front-end core and back-end file. I found that the core has a cache time configuration, but the file also has a save parameter. I have never understood it, but I know it through debug, if File Save does not set the time, use the core settings. Otherwise, use the parameters in the SAVE method ..

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.