Ec (2); busy for a whole day without any results, suddenly remembered to look at the appserv configuration file, it was indeed passed. In joy... Write down first. Software Version: apache_2.2.6-win32-x86-openssl-0.9.8e.msimysql-5.0.45-win32.exephp-5.2.5-Win32.zipphpMyAdmin-2.11.2.2-all-languages.zip1. Install ap script ec (2); script
After a full day of busy work, I suddenly thought of the appserv configuration file. In joy... Write down first.
Software Version:
Apache_2.2.6-win32-x86-openssl-0.9.8e.msi
Mysql-5.0.45-win32.exe
Php-5.2.5-Win32.zip
PhpMyAdmin-2.11.2.2-all-languages.zip
1. install apache to d: serverapache2.2
2. Install MySQL to d: servermysql5
3. Decompress php to d: serverphp
4. Copy libmysql. dll in the php folder to the c: windowssystem32 directory;
5. Copy php. ini-recommended in the php folder to c: windows and change it to php. ini.
--------------------------------------------------------------------
6. Open the apache configuration file httpd. conf.
A. Add a row in many loadmodules:
LoadModule php5_module d:/Serverphpphp5apache2_2.dll
B. Modify DocumentRoot "e:/www". This is the root directory of the webpage. You can set it wherever you want.
C. # This shoshould be changed to whatever you set DocumentRoot.
After finding this To the same path as B.
D. Upload index.htm index. php at DirectoryIndex index.html.
E. Finally Add another section nearby
AddType application/x-httpd-php. php
AddType application/x-httpd-php. php3
AddType application/x-httpd-php-source. phps
------------------------------------------------------------------------
7. Open the php. ini file in c: windows.
A. Remove the symbol before the following statement.
Extension = php_dbase.dll
Extension = php_gd2.dll
Extension = php_mbstring.dll
Extension = php_mysql.dll
Extension = php_mysqli.dll
Extension = php_sockets.dll
& Nbs