Some people must be using the WindowMe operating system !! As far as I use the Windows ME operating system, it is very simple to install apache + mysql + php4 + perl in the Windows ME environment. I will write down the installation strategy. Install apache first. you can download one from www.apache.org. After downloading, double-click to install phpmyadminApachemysql.
Some people must be using the Window Me operating system !!
As far as I use the Windows Me operating system, it is very simple to install apache + mysql + php4 + perl in the Windows Me environment. I will write down the installation strategy.
First install apache, you can go to the http://www.apache.org to download.
After downloading the package, double-click it to install the package. (Here I use the default installation path C:/Program
Files/Apache Group/Apache)
Configure the httpd. conf file in the conf Directory:
Change Servername new. host. name to Servername 127.0.0.1.
Now, you can run apache!
When running your apache, it should show:
Apache/1.3.12 (Win32) running...
Next, let your apache support perl and php. Add the following content to the httpd. conf file:
ScriptAlias/php/"c:/php /"
AddType application/x-httpd-php. php
AddType application/x-httpd-php. phtml
Action application/x-httpd-php "/php/php.exe"
ScriptAlias/php/"c:/php /"
AddType application/x-httpd-php3. php3
AddType applications/x-httpd-php3. phtml
Action application/x-httpd-php3 "/php/php.exe"
ScriptAlias/perl/"C:/perl/bin /"
Action application/x-httpd-pl "/perl/perl.exe"
Now, you can identify the. php. phtml. php3. cgi. pl file.
However, the corresponding interpreter is not installed yet. Next, we will install php4:
Click the http://ftp.eware.com.cn/pub/utility/developer/php-4.0.6-Win32.zip to download
Php4.0.6
(Of course, if you find a later version, you can use a later version. I am here to help you download it)
Decompress the downloaded zip package to the c: php directory, and change the file name of php. ini-dist in the directory to php. ini.
Open the php. ini file, find extension_dir =./And change it to extension_dir =
C: phpextensions
Then, you can find the line; extension = php_gd.dll, and change it to extension = php_gd.dll.
With the gb plotting program. (Because the zip package contains all dll files, you can remove the preceding files as needed;
Note: I opened the plotting program here)
Now, you can use <? Phpinfo ();?> Test your php. if it can run, it indicates that php is successfully installed. For example
If you find gd support, your gd is successfully installed !! Congratulations !!
OK, php has been finished. We started to install mysql:
Click the http://software.wx88.net/down/mysql-3.23.38-win.zip to download mysql3.23.38
Decompress the package and double-click it to install it in the c: mysql Directory. now you can find the file named
WinMYSQLadmin shortcut. after running it, a mysql-friendly windows interface appears. at this time, you carefully observe the lower right corner.
The running icon in the task bar of the foot is like a traffic light. if it changes to a green light quickly, your mysql installation is successful.
That's easy. If it is a red light, it means it is not successful. you can try to modify the mysql port.
Next, install phpmyadmin,
Can Click http://go.163.com /~ Download wmyao/mysqladmin2.0.zip,
Extract it to the directory where mysql can be executed,
Modify the config. inc. php3 file in advance and change the previous lines:
$ Incluservers [1] ['host'] = 'localhost ';
$ Export servers [1] ['port'] = '';
$ Incluservers [1] ['adv _ auth'] = false;
$ Incluservers [1] ['stduser'] = '';
$ Incluservers [1] ['stdpass'] = '';
$ Incluservers [1] ['user'] = '';
$ Login servers [1] ['password'] = '';
$ Incluservers [1] ['only _ db'] = '';
$ Define servers [1] ['verbose '] = '';
(The root user is used here, so the user name and password are not required );
If you like the Chinese interface, find
Require ("english. inc. php3 ");
Change
Require ("chinese_gb.inc.php3 ");
That's it!
Next, we will install perl. you can download a win32 active perl and double-click it to install it in the c: perl directory.
.
The. php. phtml. php3. cgi. pl file is fully supported.
I recommend that all files be executed in C: Program FilesApache GroupApachehtdocs,
However, before running the perl program (. cgi,. pl ),
#! /Usr/bin/perl should be changed #! C: Perlinperl.exe. Otherwise, the error 500 will occur when running perl!
If you want to install asp under WinMe, you can use pws on the Win98 CD. During pws installation
There will be an error (this is what I do), but you can leave it alone and continue to install it. no problems will occur when you run the asp program.
!!
Finally, if you have any questions or problems during debugging, please come to our forum.
Introduction to East Lee (eastlee)
My website http://www.east.cc.st
Technical Forum http://eastlee.myrice.com/bbs.htm (recommended)
Good luck !!
Ps: This strategy is written by eastlee, http://www.east.cc.st copyright, if you need to reprint, please keep the source!