I know how to debug and deploy php. after adding the php module to apache, I can parse the php file. but I still have a lot to worry about in development and debugging. please enlighten me. Current Environment: apache2.2 + php5 + zendstudio5.5 + ZendDebugger (already configured) question: 1. how to debug and deploy php in zendstudio
I know that apache can parse the php file after adding the php module.
But I still have a lot to worry about in development and debugging. please enlighten me.
Current Environment: apache2.2 + php5 + zend studio 5.5 + Zend Debugger (configured)
Question:
1. what is the meaning of a project in zend studio? It is well understood in eclipse and vs that all files under the project are true for this project. what about zend studio? What happened to the project file under zend studio?
2. how to debug zend studio 5.5 + Zend Debugger? I am confused here. I cannot figure out the principle first. During eclipse deployment, files will be copied to the tomcat container, while vs will copy the project files to iis during deployment. what about php? Php starts server debugging. how does one run php files? Will it also deploy all php files in the project to apache? This is not the case. I cannot understand php server debugging. please advise.
My practice is to put all the project files in apache's htdocs. when debugging on the server side, I start it directly from here. I feel like this is bt, so I cannot debug on any server? Please enlighten me.
3. how does php5 + zend studio 5.5 + Zend Debugger assist? If zend studio is not used, how can I use Zend Debugger for debugging?
4. since it is a server-side debugging, Can I disable the debugged php file from being placed on the local machine? If not, how can I debug it?
You guys know how many answers and how many answers. thank you.
------ Solution --------------------
I don't need to talk about anything.
In my understanding, local debugging is to simulate the server environment on the local machine and handle major errors, so as to avoid system crash when the system is finally debugged on the server.
Php has built-in runtime constants and variable values for display during running tests. most of these variables are useless in finished products and can be used for debugging.
------ Solution --------------------
When debugging on the server side, you open a page and the source code follows. for example, if an action is performed, the source code will display variables.
I don't know how I got it. I can debug it anyway, but I can't debug it on the server. I can only set breakpoints, follow-up, and so on.
------ Solution --------------------
Zend studio8 and eclipse share the same principle. zend studio5 is locally edited, and the overall program folder is a project. However, this project must be placed in the runtime environment folder to run, or you can synchronize FTP, this allows remote editing, which is equivalent to connecting eclipse and svn and remote editing.
Zend Debugger is the same as debugging in the browser. it only displays the result of the program list in the zend debugger box.
You can configure a folder without having to store it in a specified folder under apache. to change the htdocs file, you can also create a shortcut in a place you are used to, and then throw the project into it.
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