Use XAMPP + ZendStudio7.2 in Ubuntu to build a PHP test environment

Source: Internet
Author: User
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 :)

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.