Windows XP new installation Apache2, PHP5, MYSQL5, Zend simple process 1,: Apache2.0.50: http://httpd.apache.org/download.cgiPHP5.0.2:http://cn2.php.net/get/php-5.0.2-Win32.zip/fro Windows XP new installation Apache2, PHP5, MYSQL5, Zend simple process
I won't even mention the software installation. only the zip package under PHP can be decompressed directly.
The installation order is the order listed above. Zend is installed only after all running tasks have no titles.
II. brief installation process:
(1) Apache:
The installation of Apache2.0.50 is very simple. I directly mounted it to the root directory of the E disk (I use the C disk as the system disk and the D disk as the temp disk, even in windows, a partition is used to store temporary files, which has no small impact on the speed of the system. In this way, you can promote the speed of system operation. if you are interested, try it ), after installation, my apache Directory is E: \ apache2.
(2) PHP:
I directly decompress the package and put it under the php Directory of the E disk, which makes it much easier to find the file.
(3) Mysql:
Directly mounted to E: \ mysql. its default directory is too long. it is stored on drive C. Even drive C is not stored except windows files.
(4) Zend:
After all the debugging operations are normal, I mounted Zend to E: \ program files \ zend.
III. configuration process:
(1) http. conf
I have changed this file to several places:
Run PHP directly as a module of apache. I added two sentences to it:
I created a www directory under the E: \ apache2 directory to store my site files. in http. conf, I changed the following sentence:
Change DocumentRoot 'E:/Apache2/htdocs 'to DocumentRoot 'E:/Apache2/www'
Compared with 1.3.x, Apache2.0.x cannot directly list directories by default. if it is uncomfortable, it is changed:
Run the following statement under DocumentRoot 'E:/Apache2/www ':
CODE: [Copy to clipboard]
Options FollowSymLinks
AllowOverride None
Changed:
CODE: [Copy to clipboard]
Options Indexes FollowSymLinks
AllowOverride None
Set the default apache characters to simplified Chinese characters:
Adddefacharcharset GB2312
Modify the default homepage of a directory:
After DirectoryIndex, write the file name you want to set as the homepage, for example, index.html index. php.
Nothing else.
Note that to make these configurations take effect, restart apache.
(2) php. ini
I used php4.x in the past and felt that the configuration was very simple, so I even used PHP5 to configure it directly. who knows that mysql cannot be used after it is finished, and that it cannot be connected to the dynamic library, I carefully checked the existence of php_mysql.dll, but I couldn't find it, which left me bored for a long time. even if I decompress php5 again, it would be useless, later, the php install document invented the following sentence: php_mysql.dll MySQL functions PHP> = 5.0.0, requires libmysql. dll (bundled)
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