Configure apache2.2.15 + php5.3.2 + mysql5.0.90 + in Windows XP
Phpmyadmin3.3.2
Because mysqlnd is applied in php5.3.2, instead of using the previous
Libmysql. dll dynamic link library file. Therefore, the materials on the Internet are introduced earlier than php5.3. I will introduce the installation process:
1. Install apache2.2.15
Let's talk about the configuration of HTTP. conf later.
2. Install php5.3.2
Let's talk about the configuration of PHP. ini later.
3
Install mysql5.0
4. Install phpmyadmin3.3.2
First decompress the ZIP file, rename the phpMyAdmin-3.3.2-rc1-all-languages as phpMyAdmin, and then copy
In the httpd. conf file.
Apache and MySQL are in the MSI format. You can click Install. PHP and phpMyAdmin are in ZIP format and can be extracted to the corresponding folder,
It is mainly a configuration file. For dynamic link files, you do not need to copy to system32 because libmysql. dll is not available.
I will not elaborate on httpd. conf configuration. There are many
First, configure httpd. conf to support PHP.
Loadmodule php5_module E:/PHP/php5apache2_2.dll
Phpinidir
"E:/PHP" (note: the location of PHP. INI is described here, not the PHP installation directory. I started to understand the error and it turned out that I was busy working for a long time)
Directoryindex index. php index.html
Addtype
Application/X-httpd-PHP. php
These are the places to add and modify.
PHP. ini configuration
Change; extension_dir = "Ext" to extension_dir
= "E:/PHP/EXT" (note that the semicolon above is removed. My PHP is installed under E:/PHP and modified according to the installation location)
Set extension = php_mysql.dll
Remove the semicolon above. I only use MySQL, so I only removed this. I will not talk about extension on the Internet.
Modify
; Session. save_path = "/tmp" is session. save_path = "E:/tmp"
If this field is not modified, an error will be reported after you log on to phpMyAdmin.
PhpMyAdmin Configuration
First copy config. Default. php In the libraries folder
Go to the phpMyAdmin folder and name it config. Inc. php.
Set $ cfg ['pmaabsoluteuri ']
= ''To $ cfg ['pmaabsoluteuri '] =
'Http: // localhost/PHPmyAdmin)
$ Cfg ['servers'] [$ I] ['user'] = 'root ';
$ Cfg ['servers'] [$ I] ['Password'] = '××××× ';
You do not need to elaborate on these two points. You can understand the MySQL user and password.
After the configuration is complete, I have tested and can log on
PhpMyAdmin. It is also normal to connect to the database on the webpage.
Is the page in phpMyAdmin.