Check that PHP and MYSQL are all in the new version. If you want to try it, try to install it and write down the installation process. I hope it will be helpful for new users who want to learn PHP, bamboo can consider a Windows XP under the new installation Apache2, PHP5, MYSQL5, Zend simple process 1,: Apache2.0.50: http://httpd.apache.org/download.cgi PHP5.0.2: http://cn2.php.net/get/php-5.0.2-Win32.zip/from/a/mirror MYSQL5.0.2: http://dev.mysql.com/downloads/mysql/5.0.html Zend2.5.2: http://www.zend.com/store/free_download.php? Pid = 13] I won't even mention the software installation. Only the zip package under PHP can be decompressed directly. The installation sequence is the sequence listed above. Zend is installed only after all running tasks are complete.
Ii. simple installation process: (1) the installation of Apache: 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, occasionally, using a partition in windows to store temporary files does not affect the system speed. This can improve the system running speed. If you are interested, try it ), after the installation, My apache directory is E: apache2 (2) PHP: I directly decompress the package and put it under the php Directory on the E drive, which makes it much easier to find files. (3) Mysql: directly mounted to E: mysql. Its default directory is too long and is stored on drive C, even the C drive is not available except windows files. (4) Zend: After all the debugging operations are normal, I mounted Zend to E: program fileszend. 3. configuration process: (1) http. I have changed the conf file to a few places: run PHP directly as a module of apache. I added two sentences in it: CODE: [Copy to clipboard] LoadModule php5_module "E: /php/php5apache2. dll "AddType application/x-httpd-php. php I created a www directory under E: apache2 to store my site files. in conf, the following sentence is changed: Change DocumentRoot "E:/Apache2/htdocs" to DocumentRoot "E:/Apache2/www" Apache2.0.x. The column directory cannot be directly used by default compared with 2.0.x in 1.3.x, even if I feel uncomfortable, I just changed it: Set Documen The following statement CODE in tRoot "E:/Apache2/www": [Copy to clipboard] Options FollowSymLinks AllowOverride None is changed to: CODE: [Copy to clipboard] Options Indexes FollowSymLinks AllowOverride None: Set the default apache character to simplified Chinese: adddefacharcharset GB2312: Modify the default homepage of the directory. After DirectoryIndex, enter the file name you want to set as the homepage, for example, index.html index. php, and so on. Note that to make these configurations take effect, you need to restart apache (2) php. when I used php4.x in the past, I thought the configuration was very simple, so I used PHP5 to configure it directly. Who knows that mysql cannot be used after it is finished? Status library, I carefully checked the php_mysql.dll clearly exists, but I couldn't find it, which made me feel depressed for a long time, even if I decompress php5 again, it's useless, later, I found this sentence in the install document of php: php_mysql.dll MySQL functions PHP> = 5.0.0, requires libmysql. dll (bundled), so I found the cause ...... configure php5.0.2 as follows. ini-dist copy to C: change the name to php in windows. ini (php installed) and modified several places: extension_dir = "E: phpext" (specify the directory of the dynamic connection library, the difference between php5 and php4 is that its dynamic Connection Library directory has changed, which is described in detail in its document structure) and then remove the semicolon before the following sentence; extension = php_dba.dll; extension = php_dba Se. dll; extension = php_filepro.dll; extension = php_gd2.dll; extension = php_imap.dll; extension = php_mysql.dll. Next, modify some file uploads and the maximum memory usage limit: memory_limit = 20 M post_max_size = 20 M upload_max_filesize = 20 M. Nothing has been changed here. after ini, restart apache. Next, it is very important to set libmysql under the php Directory. dll and libmysqli. if you do not copy the dll to windows/system32, the mysql dynamic Connection Library cannot be loaded normally. (3) the configuration of Mysql and Zend is now configured in both Apache and PHP. Enter localhost in the browser to check the result and run it successfully. Then enter localhost/phpmyadmin to check whether the result is successful. Depressed, Phpmyadmin prompts error message: QUOTE: MySQL returned: #1251-Client does not support authentication protocol requested by server; consider upgrading MySQL client is strange, even if the latest MYSQL version is installed, how can the Client Version be too low? It's really depressing. I just gave up after several tests, after playing with KOF97 and then in CCF. with the help of pandatv and IM286.ceo, they finally found the cause: outdated CEOs: "Upgrading the new version of mysql on the client uses the new password verification method to set the mysql password using old_password can solve this problem" CCF. pandatv: "Use old_password" to reset the password ". Thanks to these two friends, the specific solution is as follows: because I do not know how to upgrade the client, because the server and client are installed in a bundle in windows, I used the old_password method: QUOTE: mysql> UPDATE mysql. user SET Password = OLD_PASSWORD (newpwd)-> WHERE Host = some_host AND User = some_user; mysql> flush privileges; Then browse "http: // localhost/phpmyadmin", oh yeah! Test successful!