Web-related: Build a perfect server platform in Windows

Source: Internet
Author: User
Tags php example php3 file phpinfo server website vbulletin
Build a perfect server platform in Windows (Apache + JSP + CGI + PHP + ASP + MySQL)
You need to download several software packages:
1. php-5.0.2-Win32
2. apache_2.0.52-win32-x86-no_ssl
3. mysql-5.0.1-alpha-snapshot-win
4. iasp2.1.01
5. jakarta-tomcat-4.1.31
7. j2sdk-1_4_2-windows-i586
PhpMyAdmin-2.6.0-pl2
9. ActivePerl-5.8.4.810-MSWin32-x86

1. download the software package:
1. PhP5 RC3
For PHP: http://www.php.net/downloads.php, find the two software packages in the box. The PHP 5.0.0rc3 zip package is the PhP5 software package, while the collection of PECL modules for PHP 5.0.0rc3 is the PECL extension module package of PhP5.

2. Apache 2.0.52
Apache official: http://httpd.apache.org/download.cgi, find such as location, download for Windows MSI installation package, click to select an image to download.

3. MySQL 5.0.1
For MySQL, go to http://dev.mysql.com/downloads/mysql/5.0.1-snapsho.. find the Windows downloads section, download the without installer package, and save it to your local disk, as shown in:

4. jakarta-tomcat-4.1.31
Jakarta-tomcat-5.5.3 is the latest version, because 5.5.3 version requires jdk5.0 support, I can not download this version, so the use of 4.1.31, JDK is also the use of j2sdk-1_4_2-windows-i586, of course if you have 5.0 version, the installation method is the same. This version: The http://jakarta.apache.org/site/binindex.cgi to find the corresponding version to download,

5. iasp2.1.01
A program that enables Apache to support ASP, http://cachefile3.fs2you.com/zh-cn/download/04a28f4673719589ea2b3ceba00bebec/iASP2.1.01.exe

6. j2sdk-1_4_2-windows-i586
Because the JSP page requires javac for compilation and running, JDK must be installed (JRE cannot be installed only ). Open page http://java.sun.com/j2se/1.4.2/download.html download j2sdk-1_4_2-windows-i586

7. phpMyAdmin-2.6.0-pl2
PhpMyAdmin-2.6.0-pl2 allows you to manage MySQL databases in a web environment, which is: http://sourceforge.net/projects/phpmyadmin/
Find the download link below and select a closer image to download.

ActivePerl-5.8.4.810-MSWin32-x86
Installing ActivePerl allows Apache to support CGI and PL programs: http://www.activestate.com/Products/Download/Downl...
Find the following page to download the MSI package:

Ii. installation and configuration
1, install the apache_2.0.52-win32-x86-no_ssl, install it in D:/apache2/folder, the installation process needless to say, one way to next can, after installation, you can view the icon in the taskbar, indicating that the task has been started successfully. Go to http: // 127.0.0.1, and the successful installation page is displayed.

Next, configure the Apache configuration file to support PHP. use NotePad to open D:/apache2/CONF/(I will install it in the default installation path here, according to your installation path) HTTPD in the directory. CONF file, locate the following line:
Directoryindex index.html. var
Add a PHP Example page after it, usually index. php, as follows:
Directoryindex index.html. var index. php
To enable Apache to identify related extensions of PHP, search for and locate the following section:

AllowOverride none
Options none
Order allow, deny
Allow from all

Add the following two lines:
Addtype application/X-httpd-PHP. php. phtml. php3. PhP4
Addtype application/X-httpd-PHP-source. PHPs
Specify the PHP module and locate the following line:
# Loadmodule ssl_module modules/mod_ssl.so
Add a row below:

Loadmodule php5_module D:/PHP/php5apache2. dll
Make it point to the php5apache2. dll file under the PhP5 directory. The path must be accurate.
To specify Apache to recognize Chinese characters, we specify gb2312 as the default encoding. Find and locate the following line

Adddefacharcharset ISO-8859-1
Modify it:
Adddefacharcharset gb2312
In addition, if you want to disable directory browsing, find and locate the following lines:
#......
# Some Annotations
#......
Options indexes followsymlinks
Just remove the indexes of the line following the comments. After modification:
#......
# Some Annotations
#......
Options followsymlinks

OK. Save the httpd. conf file and restart the Apache server.

2. install PHP 5.0.2
Decompress the downloaded PhP5 rc3(php-5.0.0rc3-win32.zip) to the D:/PHP/directory. Copy the php5ts in the d:/PHP/directory. DLL file to C:/Windows/(if it is a Windows 2000 operating system, it is the C:/winnt/directory, the same below, do not repeat the description) directory.
Copy the following DLL files in the D:/PHP/directory to the C:/Windows/system32/directory:
Fdftk. dll
Fribidi. dll
Gds32.dll
Libeay32.dll
Libintl-1.dll
Libmhash. dll
Libmysql. dll
Libmysqli. dll
Ntwdblib. dll
Ntwdblib. dll
Yaz. dll
Libmysql. dll is supported by MySQL 4.1 and later versions. Because I downloaded MySQL 4.0.20 above, copy libmysql. dll.
Copy the php. ini-Dist file under the C:/PhP5/directory to the C:/Windows/directory, change it to PhP. ini, and open and edit it in Notepad:
Locate the following two rows:
; Directory in which the loadable extensions (modules) reside.
Extension_dir = "./"
Modify the following line to point to the "D:/PHP/EXT/" directory. The modification is as follows:
; Directory in which the loadable extensions (modules) reside.
Extension_dir = "D:/PHP/EXT /"

Test whether PHP is configured successfully:

Open notepad and enter the following line of code:

Save as phpinfo. the PHP file is stored in the directory apache2/htdocs/. Now, open your browser and enter http: // localhost/phpinfo in the address bar. PHP and press Enter. If everything goes well, you will see the following page. The configuration of PhP5 is successful:

3. Install mysql-5.0.1-alpha-snapshot-win
It's very easy. Let's assume that we have installed it in the D:/mysqldirectory, open the binfolder under the directory, and run winmysqladmin.exe to configure MySQL.

Enter the Administrator's username and password.
You can see that the MySQL process has been opened in the service every time you start the service.

4, install phpMyAdmin-2.6.0-pl2
You do not need to install phpadmin. Copy it to the webpage directory and name it phpadmin. Open the C:/Windows/PHP. ini file and find the extension = php_mysql.dll string. Delete the previous string; No. Extension = php_mysql.dll, and start PHP to support the MySQL module.
Open the config. Inc. php3 file under the phpMyAdmin folder and locate the following content:
$ Cfg [& apos; servers & apos;] [$ I] [& apos; host & apos;] = & apos; localhost & apos; // MySQL hostname or IP address
$ Cfg [& apos; servers & apos;] [$ I] [& apos; auth_type & apos;] = & apos; config & apos; // authentication method (config, HTTP or cookie based )?
$ Cfg [& apos; servers & apos;] [$ I] [& apos; user & apos;] = & apos; root & apos; // MySQL user
$ Cfg [& apos; servers & apos;] [$ I] [& apos; password & apos;] = & apos; // MySQL password (only needed
// With & apos; config & apos; auth_type)
Change host, user, and password to your own IP address, user, and password. Open the http: // 127.0.0.1/PHPmyAdmin/index page. PHP. If you can see the following page, congratulations, the installation is successful.

5, install ActivePerl-5.8.4.810-MSWin32-x86
The installation process is very simple. You can use the next step. We installed it under D:/usr, note that the default root directory of the ActivePerl-5.8.4.810-MSWin32-x86 is the Perl folder, according to international conventions, it is best to Use USR as my root directory, in order to avoid troubles in future program debugging.
Configure Apache to support CGI and PL files. Open D:/apache2/CONF/in Notepad (I will install it in the default installation path, and change the installation path according to the subsequent settings) in httpd. CONF file, find
# ScriptAlias/cgi-bin/"D:/Apache/cgi-bin /"
Remove the # sign and open D:/Apache/cgi-bin/to the directory where you need to support CGI programs. I set F:/web/cgi-bin.
Search

Similarly, it is modified to F:/web/cgi-bin.
Search
Addhandler CGI-script. cgi
Add. pl, that is, addhandler CGI-script. cgi. pl.
OK. Write a CGI program to test it:
#! /Usr/bin/perl
Print "Content-Type: text/html/n ";
Print "Hello, world .";
Save as hello. CGI, placed under the F:/web/CGI-BIN folder, open http: // 127.0.0.1/cgi-bin/hello in a browser. CGI. The following page is displayed. The installation is successful.

6, install j2sdk-1_4_2-windows-i586
Because you need to install j2sdk before installing Tomcat, so first install j2sdk-1_4_2-windows-i586, the process is very simple, install to D:/j2sdk folder.
Set environment variables,
Java_home = D:/j2sdk

Append the following at the end of path:
Path =...; % java_home %/bin

Open CMD and enter Java-version to display the following content.
Java version "1.4.2"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java hotspot (TM) Client VM (build 1.4.2-b28, mixed mode)
Enter javac and display:
C:/Documents and Settings/Lin> javac
Usage: javac

Where possible options include:
-G generate all debugging info
-G: none generate no debugging info
-G: {lines, vars, source} generate only some debugging info
-Nowarn generate no warnings
-Verbose output messages about what the compiler is doing
-Deprecation output source locations where Deprecated APIs are us
Ed
-Classpath Specify where to find user class files
-Sourcepath Specify where to find input source files
-Bootclasspath Override location of Bootstrap class files
-Extdirs Override location of installed extensions
-D Specify where to place generated class files
-Encoding Specify character encoding used by source files
-Source Provide source compatibility with specified release
-Target Generate class files for specific VM version
-Help print a synopsis of standard options
It indicates that javac is also installed successfully.
7. Install jakarta-tomcat-4.1.31
No installation is required for Jakarta-Tomcat. After downloading the compressed package, decompress the package to the D:/tomcat directory and set the environment variables.
Tomcat_home = D:/tomcat
Start startup. bat in the D:/tomcat/bin directory to start Tomcat. If the status appears, the startup is successful.

Use myie to open http: // 127.0.0.1: 8080/index. jsp. You can see the following page. Congratulations again, tomcat has been installed successfully. The default http port and user name for Tomcat can be changed to the server. xml and tomcat-user.xml files in the D:/tomcat/conf directory.

Integrate Apache and tomcat. Open the httpd. conf file in the Directory D:/apache2/CONF/in notepad and add the following content at the end:
Loadmodule jk2_module modules/mod_jk2.so

Create a workers2.properties file in the D:/apache2/conf directory. The content is as follows:
[SHM]
Info = scoreboard. requried for reconfiguration and status with Multiprocess servers.
File = Anon

# Defines a Load balancer named lb. Use even if you only have one machine.
[LB: LB]

# Example socket channel, override port and host.
[Channel. Socket: localhost: 8009]
Port = 8009
Host = 127.0.0.1

# Define the worker
[Ajp13: localhost: 8009]
Channel = channel. Socket: localhost: 8009
Group = LB

# Map the Tomcat examples webapp to the Web server URI Space
[URI:/examples/*]
Group = LB

[Status:]
Info = status worker, displays runtime information

[URI:/jkstatus/*]
Info = the tomcat/jkstatus Handler
Group = status:

If you are too lazy to write code, change workers2.properties. Sample Under this folder to workers2.properties.
Write a JSP file with the following content:

Save it in the Directory D:/tomcat/webapps/examples. Open the http: // 127.0.0.1/examples/index page. JSP, You can see Hello, world. the Effect and address http: // 127.0.0.1: 8080/examples/index. the JSP page is the same, indicating that Apache and tomcat have been integrated successfully.
5. Install iasp2.1.01
During the installation process, iasp2.1.01 will automatically find the JDK installation path, so the installation process is very simple. We will install it in the D:/instant folder.

The following configuration is used:
Step 1: Select instant ASP native servlet support as the proxy service.
Step 2: Select Apache for the Web server. (Whether prompted or not)
Step 3: select the location of the Apache configuration file httpd. conf. My options are: D:/program files/Apache Group/apache2/conf // httpd. conf.
Select 2.xbased on your Apache version ).
Proxy: If you have a fixed IP address, add your fixed IP address. If not, add 127.0.0.1.
Port: This is the proxy interface between APACHE and IASP. Use the default value (9098.
Server Manager port: Remote Management port. Select the default value (9095.
Step 4: The configuration is complete.

After the configuration is complete, the program automatically adds the following statement to the configuration file httpd. conf of Apache:

# IASP setting
Loadmodule iasp_module "D:/instant/bin/Apache/Win32/2.0/IASP. dll"

Alias/IASP "D:/instant"
Iaspconfig server "D:/instant/properties/server. properties"
Iaspconfig rules "D:/instant/properties/rules. properties"

Change httpd. conf to change the default homepage of Apache:

Directoryindex index.htm
Directoryindex index. php
Directoryindex index. asp

Save the changes and restart Apache.
Run: Start-> Program-> instant ASP 2.1.01-> install IASP as NT Service
In this way, IASP is added to the Win2000 Server service.

Run: Start> program> instant ASP 2.1.01> start instant ASP
In this way, IASP is opened immediately. Apache supports ASP!

Start Apache again and find the following:

This is mainly because IASP does not support the apache version. A friend asked for an IASP that supports apache_2.0.52. DLL, replace D:/instant/bin/Apache/Win32/2.0/IASP. DLL. After Apache is started, write an ASP file and save it as index. ASP.
Response. Write"
Congradulations!
Instant Asp has worked for you!

"
%>
Open the webpage http: // 127.0.0.1/index. asp
Appears:

This IASP. dll is not very good. If you want to install ASP in Apache, we recommend that you use a lower version of Apache to make it support the IASP. dll file.
3. Build your own website
1. Install VBulletin 3.0.3, go to http://www.newvbb.com/download newvbb team culture and function modified newvbb core 1.1 final (VBulletin Simplified Chinese INS) 20040921. Decompress the compressed package to the F:/web/newvbb folder. Open http: // 127.0.0.1/PHPmyAdmin/index. php and create a new MySQL database newvbbcore,

Rename config. php. New under the des directory to config. php. Open this folder and modify the following content for your personal Configuration:
$ Servername = & apos; localhost & apos; // your IP address
$ Dbusername = & apos; root & apos; // MySQL database username
$ Dbpassword = & apos; // MySQL Database Password
$ Dbname = & apos; newvbbcore & apos; // The database you just created
Go to http: // 127.0.0.1/newvbb/install. php to install the SDK. Next is the simple installation process. Click Next to complete the installation of newvbb. After the installation is complete, delete the following files as prompted:
Install/install. php, you can open the http: // 127.0.0.1/newvbb/index. php address to watch your PHP forum.

2. Install the leobbs CGI Forum
Go to renewal. All files under the non-CGI folder are placed under the F:/web/NON-CGI folder. Go to http: // 127.0.0.1/cgi-bin/install. cgi to view the installation page. Note the following installation path:

Click set to complete leobbs installation. Go to http: // 127.0.0.1/cgi-bin/leobbs. cgi to see our CGI Forum:

3. Install the JSP probe.
Since JSP is not used very much, I also seldom pay attention to this code, so we go to the http://xuyizhi.y365.com to download AI will not encounter rewrite JSP probe-v0.05 test results, put it in D: /tomcat/webapps/examples, named jspchexk. JSP. Open the http: // 127.0.0.1/examples/jspcheck. jsp page. The following page is displayed:

So far, we have completed all the installation of JSP.

1 http://www.stryon.com/download iasp的win32 :iasp2.1.01.exe,10mleft and right. (The website cannot be opened for a long time. I don't know why, but directly go to this site .)

2. Make sure that your Win2000 Server has installed JDK and Apache. Occasionally installed:
Apache_1.3.27-win32-x86-no_src.exe
Jdk140.exe

3. Double-click iasp2.1.01.exe to start installation. Install the prompt. Even the installation path is C:/iasp2101

4. After the installation is complete, the system prompts whether to configure IASP now. Of course, select: Yes.

5 Configuration:
Step 1: Select instant ASP native servlet support as the proxy service.
Step 2: Select Apache for the Web server. (Whether prompted or not)
Step 3: select the location of the Apache configuration file httpd. conf. Even C:/Apache/CONF/httpd. conf
Select version 1.3.2x based on your Apache version ).
Proxy: If you have a fixed IP address, add your fixed IP address. If not, add 127.0.0.1.
Port: This is the proxy interface between APACHE and IASP. Use the default value (9098.
Server Manager port: Remote Management port. Select the default value (9095.
Step 4: The configuration is complete.

6 Note: IASP adds the following statement to the Apache configuration file httpd. conf:

Program code
# IASP setting
Loadmodule iasp_module "C:/iasp2101/bin/Apache/Win32/1.3.20/IASP. dll"

Alias/IASP "C:/iasp2101"
Iaspconfig server "C:/iasp2101/properties/server. properties"
Iaspconfig rules "C:/iasp2101/properties/rules. properties"

7. Change httpd. conf to change the default homepage of Apache:
Directoryindex index.htm
Directoryindex index. php
Directoryindex index. asp
Save the changes and restart Apache.

8. Run the command: Start-> Program-> instant ASP 2.1.01-> install IASP as NT Service
In this way, IASP is added to the Win2000 Server service.
Run: Start> program> instant ASP 2.1.01> start instant ASP
In this way, IASP is opened immediately. Apache supports ASP!

Example: Write this sentence in index. asp: <% response. Write ("I succeeded! ") %>, And save it to the Apache web page root directory.
In the browser, enter http: // your IP: Apache port number/press enter and you will see "I succeeded !" Your IASP installation is successful!
Run: Start-> Program-> instant ASP 2.1.01-> start admin
You can also use http: // your IP: 9095 to log on to remote management to manage IASP. Default username and password: Admin.

9. The installation is successful.--------------------------------- Remarks ------------------------------------- install and configure MySQL to check whether the system has been installed
# Rpm-Qa | grep MySQL and # rpm-Qa | grep MySQL
If the information headers with MySQL or MySQL are not returned, it indicates that it is not installed. If it has been installed, you can directly use or change the new version. For FAQs, see.
Uninstall method:
# Rpm-e mysql-xxxxxx
You can use -- nodeps or-force to forcibly Uninstall a dependency. However, it is best to use it with caution.
Installation:
# Rpm-IVH mysql-client -.... Rpm
# Rpm-IVH mysql-server -.... Rpm
For FAQs, see.
Start MySQL
#/Etc/rc. d/init. d/MySQL start or service MySQL start
Set the root password:
# Mysqladmin-u Root Password new_password_for_root
Create a MySQL database, username, and password.
Mysql-u root-P press enter to enter MySQL
Grant permission on role name. Table name to new role name @ host name identified by 'password secret ';
Create Database zoneidc; (database creation)
Grant all on zoneidc. * To zoneidc @ localhost identified by & apos; zoneidc & apos ;;
Show databases;
Note that each sentence is followed by)
Then fill in the configuration file of discuz and you will be able to install and configure Apache # tar xzvf httpd -.....
# Cd httpd-2 .....
#./Configure -- prefix =/usr/local/Apache -- enable-So (prefix =/usr/local/Apache specifies the installation path)
# Make
# Make install
Configure Apache:
# Vi/usr/local/Apache/CONF/httpd. conf (if it comes with the system, the path may be under/etc)
Serveradmin changes this to the server administrator's e-mail address (for example, webmaster@yourdomain.com)
Change servername to the server domain name (for example, www.ititgo.com: 80)
DocumentRoot change this here to your website root directory (for example: "/var/www") install and configure PHP # tar xzvf php-4.4.1.tar.gz
# Cd php-4.4.1
#. /Configure -- prefix =/usr/local/PHP -- with-apxs2 =/usr/local/Apache/bin/apxs -- With-mysql -- With-config-file-Path =/usr/ local/PHP/etc -- With-Gd -- enable-Gd-native-TTF -- enable-Gd-JIS-Conv -- With-FreeType-dir -- With-JPEG-dir --- PNG-dir -- With-zlib -- enable-XML -- enable-mbstring
# Make
# Make install
# Cp PHP. ini-recommend/usr/local/PHP/etc/PHP. ini
(If you're using a php-5... The MySQL database path is not found, so we recommend that you use version 4)
Edit the httpd. conf file:
# Vi/usr/local/Apache/CONF/httpd. conf (if it comes with the system, the path may be under/etc)
Find: directoryindex
Add index. php to the default file.
Find addtype application/X-gzip. GZ. tgz.
Add a line below: addtype application/X-httpd-PHP. php (note that there is a space before. php)
Save and exit installation Zend optimizer # tar xzvf Zend *. GZ
# Cd Zend *
#./Install. Sh
The premise is that PHP is successfully installed. the installation process is simple and friendly. PHP. the INI file path must be entered correctly. you can use find/-name PHP. when the keyword Zend optimizer v2.6.0 and copyright Coffee appears in the PHP probe used for INI search, the installation is successful. install and configure phpMyAdmin # tar xzvf phpMyAdmin-2.7.0 -...
Move the extracted directory to the root directory of the server website (set the root directory of the website to/var/www)
# Music phpMyAdmin-2.7.0-pl1/var/www/phpMyAdmin
Configure phpMyAdmin:
# Cd/var/www/phpMyAdmin
# Vi config. Inc. php (some versions are config. Default. php)
Modify:
$ Cfg [& apos; pmaabsoluteuri & apos;] = & apos; http://www.yourdomain.com/phpmyadmin&apos;( write the absolute URL to access phpMyAdmin)
$ Cfg [& apos; blowfish_secret & apos;] = & apos; cookie & apos; (use cookie encryption)
$ Cfg [& apos; servers & apos;] [$ I] [& apos; connect_type & apos;] = & apos; socket & apos; (connect to MySQL through socket)
$ Cfg [& apos; servers & apos;] [$ I] [& apos; compress & apos;] = true; (enable compression to speed up, if the access is abnormal, change it to false)
$ Cfg [& apos; servers & apos;] [$ I] [& apos; auth_type & apos;] = & apos; cookie & apos; (use cookies for authentication) ############## attached. frequently asked questions during the installation process. I may have a few questions, so I have encountered many problems ##############
Unable to compile.
Install the GCC compiler first.
/////////////////////////////
Prompt when extracting with tar:
Tar: Unexpected EOF in archive
Tar: Unexpected EOF in archive
Tar: error is not recoverable: exiting now
Cause: the source code package is damaged during download.
/////////////////////////////////
How to start Apache?
/Usr/local/Apache/bin/apachectl start (depending on the installation path)
/////////////////////////////////
If you use the RPM package to install Apache, the following error message may appear: (98 )!!!!!!!!!!!! : Make_sock: cocould not bind to address 0.0.0.0: 443?
Maybe you have already opened the HTTPd service, right?
Chkconfig -- level 35 httpd off
/Etc/rc. d/init. d/httpd stop
Then in apachectl start
////////////////////////////////////
Sometimes you are prompted to install kernel-headers during the installation process
For the RedHat system, find glibc-kernheaders-… on the disc -... Rpm installation.
///////////////////////////////////
Config. Inc. php not found
Some versions are the same as config. Default. php.
///////////////////////////
If: libtcl8.3.so is needed...
RedHat system, install the tcl-8.3.5-88.i386.rpm version.
/////////////////////
If the message "libmysqlclient. so.10" is displayed
Download and install the mysql-shared version at the top.
/////////////////////////////////
What does mysqld mean?
MySQL daemon!
You must use MySQL before using MySQL.
/////////////////////////////////
If you are prompted to install kernel-headers
RedHat system install: glibc-kernheaders-2.4-8.10.i386.rpm version
////////////////////////////////
Tip: Error 1045: Access denied for user: root @ localhost (using password: No)
Reference: http://www.ititgo.com/news_view.asp? Newsid= 598
//////////////////////////////////
Apache cannot display Chinese characters (garbled characters)
The adddefadefacharset ISO-8859-1 is changed to adddefadefacharset off in the httpd. conf configuration file of Apache.
///////////////////////////////////
When installing the forum, the following message is displayed: the MySQL database is not supported. If you cannot install the Forum program or phpMyAdmin, the following message is displayed: Workshop ???? MySQL ???? <Br/> ??? PHP ?? -???
Install the corresponding PHP-mysql version.
//////////////////////////////////
An error occurred while using the database:
Error 1064: You have an error in your SQL syntax.
Cause: syntax error. Note the case sensitivity of SQL syntax and add the; sign at the end.
/////////////////////////////////
During installation, the following message is displayed:/usr/bin/install: The general file '/usr/local/man/Man1/c0000.1' cannot be created: the file or directory does not exist.
Create a new Man1. Note that it is followed by a number 1.
//////////////////////////////////
Tip: PNG. h: 329: 18: zlib. h: the file or directory does not exist.
Zlib-devel-1.1.4-8.i386.rpm Not Installed
/////////////////////////
An error occurred while installing libjpeg. (A | so) not found.
Please ensure that the installation of unzip src.v6b.tar.gz and libpng-1.2.8-config.tar.gz may not be successful, if the system comes with RPM installation, please uninstall, follow the above method to install the source code.
//////////////////////////////////////// /////
After logging on to phpMyAdmin, the system prompts:
No extension settings for PHP are found, but the current system seems to be using the wide character set. PhpMyAdmin without mbstring Extensions cannot correctly identify strings and may produce unexpected results
The reason is that when the source code is installed, no -- enable-mbstring is used or the RPM package or the system comes with it. (what is the impact? Thank you)
/////////////////////////////////////
It works!
The installation is successful. In some versions, the history page is displayed, indicating that the file is successfully installed.
//////////////////////////////////////// /////////
Multiple databases are found: information_schema

 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.