After several hours of efforts, I finally configured the basic PHP environment and took the first step in learning PHP.
The first time I read a book last night, I found that PHP could support object-oriented programming, which is really good.
In the morning, I configured the environment. Since I installed Apache before, I installed MySQL directly and installed it in a silly way, which is very simple.
Then I decompress my previous php-4.2.1 to drive C and rename it to the PHP folder, start to configure Apache, do not have to forget how to set up for a long time, in order to learn JSP installed, I still don't understand the configuration files in it. I will study the configuration files in a little bit and replace all the configuration in JSP with PHP. some minor problems can be solved in a simple way, there is always an error.
Syntax Error on line 133 of C:/apache2/apache2/CONF/httpd. conf:
Cannot load C:/PHP/SAPI/php4apache2. DLL into server:/xd5/xd2/XB2/xbb/xb5/xbd/XD
6/xb8/xB6/xA8/xb5/xc4/xb3/Xcc/xd0/xf2/xA1/xa3
So I started searching from Google, Baidu, and csdn. I even read all the articles in E, and I didn't find a door. I deleted Apache and re-installed it, So I installed apache2.0.50 again. The deletion time is longer than the installation time! After the device was installed, it was reconfigured again, And taosheng still ......
I was dizzy, and I started searching again. I suddenly thought that the PHP version was too low? So I started to look for a later version. It's really hard to find it. The Huawei army has a complete suite, but Apache is 1.3, which is too old to support. What's more, I used apache quite well before.
It's hard to download it to 4.3.3, decompress it to drive C, rename it as PHP, and test php4ts. DLL to system32. Copy the INI file to WINNT, And the 4.3.3 file is larger than 4.2.1. Start Apache again! I will test php4ts. dll again in apache2/bin. Restart and try again. It is easy to use! (This is what foreigners say)
It turned out to be a version ghost!
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.