Since I just learned PHP, I always used ASP. NET to build a method to compare it with it. Because I had a conflict with the Linux and Apache environments, it was a great deal of trouble to install it. Back to the truth, my build environment is Ubuntu10.04 + XAMPP1.7.3a + ZendStudio7.2 I. Install Ubuntu10.04 (did not say the same, hehe) II. Install XAMPP1.7.3: http://www.apachefri
Since I just learned PHP, I always used ASP. NET to build a method to compare it with it. Because I had a conflict with the Linux and Apache environments, it was a great deal of trouble to install it.
Now, my environment is Ubuntu 10.04 + XAMPP1.7.3 a + Zend Studio 7.2.
1. Install Ubuntu 10.04)
2. Install XAMPP1.7.3
: Http://www.apachefriends.org/zh_cn/xampp-linux.html
Decompress the package to the/opt folder.
For more information, see the preceding section.
3. Install ZEND Studio 7.2
If you are not familiar with linux, you just need to remember to simply double-click the binfile In the compressed package and run it on your terminal, for example, if my binfile is decompressed and placed under/home/ssl/Download/, then I can directly run (under the terminal) cd/home/ssl/Download to enter this directory, then run. /ZendStudio7_2_0.bin. Then, the graphical installation interface will pop out, which is the same as the installation in windows. After installation, you can write code :)
3. Run the PHP page
I saw a lot of comments on the Internet, and I tried it myself. I don't feel very satisfied. The main problem is that I want to directly run the web page after writing the code under zend, a dialog box is displayed, and the URL needs to be entered in the box, XAMPP cannot be debugged because it originally points to/opt/htdocs. If you want to use XAMPP, You need to place the project created by ZEND Studio under this directory: (to be used normally)
Solution:
This dear friend helped me solve this problem by setting up a virtual directory to point to my folder, in addition, the second method can save the trouble of modifying the web site after zendstuido is created (relatively messy, if you are a beginner like me, you will understand why I spent so much time building a test environment ). To prevent the web page from being invalid, I copied the original article of this elder brother :)