Establishment of ASP and PHP Debugging Environments in WINXP Home Edition

Source: Internet
Author: User
To be honest, before that, except for IIS, Apache, IASP, and so on, we had to build ASP and PHP debugging programs on Windows Home Edition, this is because XP is genuine and some genuine software is installed. I really don't want to reinstall it and install some cracked software. Another important reason for writing this article is that I am constantly installing and debugging and finding too many impetuous and unrealistic things on the network, such as downloading IASP and openasp, I searched all the articles and gave them the same address, but this address has long expired, but we are still reprinting this article. Countless latecomers tried to download the file, but nothing was found. That's why I gave up my pursuit of openasp.
OK, let's get down to the point. The following is my installation and debugging process. It should be of some guiding significance for new users like me.

First, I have learned that IIS cannot be properly installed on XP Home Edition. Of course, some people have provided how to install IIS components in this version in an alternative way, but it turns out that, microsoft is confident that even if the component can be installed, there is still such a problem, so IIS, I want to tell you 88.

So we need to look for other server components -- Apache, well, good, except for IIS, most people talk about it on the Internet. In particular, the perfect combination of Apache and PHP is simply said to have existed on the ground. However, I need to build an ASP debugging environment. But it doesn't matter. Install it first.
One surprise: I found that there is a popular all-around aspjserv kit on the Internet that supports ASP, PHP, JSP, CGI, and MySQL. Download it now. Well, it's a silly installation. The default installation is D:/usr. click Next.
Installation is complete.
Add environment variables according to the README file description.
Test, http: // 127.0.0.1
Good. The test page is out. The PHP test is normal, but neither ASP nor JSP test works.
What's going on?
The readme file does not have a description, and there are no related troubleshooting methods. You must also use Baidu and Google.
I found that someone encountered the same problem as me. His explanation is that the IASP version in the all-around suite does not support the latest Apache (?), Unknown or false.
Rather, you can find a file in the IASP replacement suite of a lower version ................................................
........................ Exhausted, all the download is Version 2.01, on the verge of despair ......

Prepare to change components. IASP is not working. Continue to search. OK. There are many other options: openasp, Sun ONE ,...... When I heard about openasp, I liked open-source products. Good search, good search, many items, but I was very disappointed. As I mentioned above, I just transferred one or two articles, the download connection is invalid at the same address. I don't know why I won't try the article's validity period when these people transfer text? I think we are still doing well, and it is a waste of time for these cainiao.

Looking for openasp is on the verge of despair ......
In the meantime, the IASP Version 2.01 has been repeatedly used to overwrite and install files in the all-around suite, but it still does not work, and Apache of the all-around component also has problems, so it cannot load IASP. dll at startup. It was dizzy. I had to re-install the all-around kit in a painful way. The same problem still exists. php testing is normal and ASP is not working. In addition, the real cause of IASP problems is IASP eapired. Expired ?! It was a huge blow. Log onto the IASP official website and check whether you need to register or charge fees. If you are dizzy, you cannot open it.

What is this ~

Abandon IASP ..

Openasp also gave up!

There is also the last line of life-Sun ONE.
Sun's components were finally taken into consideration because someone accidentally saw a post and criticized Sun one asp and said that they could not be used after being restarted, someone mentioned the same problem later, so I didn't think of it at the beginning. But now there is no way. Go to Sun's official website and find the download of Sun one asp. Oh, well, there is the latest version to download. You don't have to pay for it. Because you can see a token, no matter, click avaliable first. Curious, the first time you see the registration information first, and then let you download the page (do not say I am ignorant, this is the first time)-the information has been filled out for insurance, I also checked out whether I would like to receive Sun's email about product updates (for personal requirements, I had to keep a low profile ). After submitting the email, check my MSN email. As a result, Sun sent the email. Click here to download it directly. Good speed, around K. To adjust my mood, I decided to take a bath first ........................

........................

The downloaded "when" prompt sound was heard during the bath ............

........................
After the bath is complete, open the folder, view the downloaded file, double-click the installation, and prompt that the Java Runtime Environment (JRE) is not detected. Do you want to install it first? In fact, this is already installed when the all-around kit is installed, but I don't know why it cannot be detected. No matter what, choose to install it. So proceed ...... It took about 5 minutes to install it .................. Then, the installation is complete. Well? Strange: How does one not install Sun ONE after JRE is installed? Don't believe it. Open the Start Menu. Sure enough, there is only Java Web Start, and there is no sun one program group. Dizzy. This installer has some mental limitations. Manually double-click the downloaded file to install it. As a result, the system prompts you to install Sun one asp. For the sake of security, we recommend that you install Apache. Click it all the way, but the installed Apache cannot be detected. I also need to find httpd manually. the conf file, and the apache version number displayed is incorrect. My apache version number is 1.312, but sun detected 1.270, which is strange ~

During installation, you will be prompted to stop the apache service first. Otherwise, some files may not be correctly installed. Click Uninstall. bat in the suite to exit all services. Install. bat ......
I continue to suffer from the blow-Apache prompts that IASP. dll cannot be loaded. This damn IASP, but with Sun ONE, I can uninstall IASP. Uninstall is invalid. I/O overlaps!

In the end, I decided to fight for it. You didn't want to load IASP. dll. I won't let you load it ......
Find the configuration file httpd. conf, open the file in notepad, find IASP. dll, find, delete the related five lines of code, and save.
Stop the apache service and restart it. No. The error message returned when the load fails. Open httpd. conf and search for IASP. dll. As a result, there are 5 lines of IASP-related code, delete, search, and no more. Save and close. Stop the service and start the service. If there is another problem, the system prompts that the IASP configuration is invalid. Haha, it must have been because the configuration of 10 lines of IASP has been deleted, so some definitions cannot find the configuration information, and they are somewhat complacent. Open the httpd. conf file and search for IASP. It's nice to find several more lines and delete them all without mercy. Save and close. Stop the apache service and then enable the apache service. PHP testing succeeded. ASP test, successful !!!!!

In ecstasy ......
After two days, my ASP + Apache environment was finally created.
Of course we are not sure yet, because it is just a reaponse statement test. helloworld is so simple that we can't continue the test.
Store an ASP full site code in the WWW directory under the all-around kit. Test http: // 127.0.0.1/Gs. Haha, the webpage is opened ......

Continue to ecstasy, on MSN told the small TD this news.
But the most important thing is to write this article for reference by many friends who have the same headache as me.
Do not step on me.

P.s: if not necessary, use IIS In win2000pro to establish an ASP debugging environment. After all, this is the correct solution. However, for some special needs, such as me, who want to use an abnormal platform such as WINXP Home edition to establish an ASP debugging environment, let's take a look at my article, it should be of great help.

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.