After several hours of efforts, I finally configured the basic environment of PHP and took the first step in learning PHP.
Last night, I found that PHP actually supported object-oriented programming, it is really good.
In the morning, the environment is configured. Since I used Apache, I installed my mysql, fool-installed installation, very simple.
Then I decompressed my previous PHP-4.2.1 to the C drive, named the PHP folder, start configuring apache, I haven't used it for forgot how to set it out, when I first learned JSP, the configuration file inside I still don't understand, a little bit of research in the configuration file, put the JSP to the PHP, some small problems, simple look, just there is always a mistake
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 to search from Google, Baidu, 9CBS. Even the E-article's article saw, and did not find the door and see a fog. I deleted the apache reel, so I installed apache2.0.50, and the deleted time is longer than the installation time! After installing, it was reconfigured again, and the sound of the waves is still ...
I am dizzy, I start to search again, I suddenly think of whether the PHP version is too low? So I started to find high versions, it's really not easy to find, Huajun has a complete set of kits, but apache is 1.3, too old, can't, let alone my apache used to use it before.
It's hard to download to 4.3.3, then decompressed to the C drive, rename it is PHP, and put the php4ts.dll to System32, the INI file replicates Winnt, 4.3.3 file is 4.2.1. Start Apache or that hairy! I will take PHP4TS.DLL again to Apache2 / bin, and try again, it is easy to use! (This trick is what foreigners say)
It turned out to be a version of the ghost!