Window 2008+apache2.4.4+php5.5+mysql-5.6.12+phpmyadmin4.0.4.1 installation process (refer to other people's articles on the basis of the problems they encountered)

Source: Internet
Author: User
Tags gettext phpmyadmin

First, the installation of window server2008

1, I use a U disk installed, first with UltraISO to burn server2008 to a U disk, the process I searched, post address:

Http://wenku.baidu.com/view/663e58bcfd0a79563d1e7200.html

2, in the process of installation need to insert a U disk, of course, you can advance the driver test to install the system of this U disk, load RAID5 drive, otherwise the hard drive can not be found, which is the key to the entire installation process.

3, the next process is basically not manual operation, and so on after the restart into the system.

4, enter the system, it is necessary to install a variety of drivers, here my driver has: SM Bus controller, the basic controller, as well as network card driver.

5, complete.

II. Installation of Oracle 11g

Only need to install package one can, installation process in the selection of a good directory, the direct installation can be, post-configuration, and installation process, I have uploaded to Baidu Library:

Http://wenku.baidu.com/view/ee138ae6f705cc17552709de.html

Second, the installation of apache2.4.4

  

1. Download the extracted files, unzip and put in the location to be installed. (I take D:\Acpache24 as an example)

2. Open the apache24\conf httpd.conf file and open it with Notepad.

(1) The 37th line ServerRoot "C:/apache24" to ServerRoot "D:/apache24";//apache the location of the program.

(2) The No. 204 line of the serveradmin change does not matter;

(3) The "#" in the front of the No. 213 line servername is removed;

(4) The No. 237 line DocumentRoot "C:/apache24/htdocs" to DocumentRoot "d:/www";//root directory of the website

Line No. 238 <directory "C:/apache24/htdocs" > Changed to <directory "D:/www" >;

Note: This WWW folder to be built on its own, do not build the words will be error.

(5) Line No. 271 DirectoryIndex index.html Change to DirectoryIndex index.html index.php index.htm//Support more default pages

(6) No. 354 line scriptalias/cgi-bin/"c:/apache24/cgi-bin/" changed to scriptalias/cgi-bin/"d:/apache24/cgi-bin/"

(7) Line No. 370 <directory "C:/apache24/cgi-bin" > Changed to <directory "D:/apache24/cgi-bin" >3. Start Apache. Start---Run, enter cmd, and open a command prompt. then enterNote: The download of this free install version, no msvcr100.dll file, will be error:

question one: Run the Apache hint for missing DLL files. such as Msvcr100.dll error: "MSVCR100.dll was not found, so this application failed to start. Reinstalling the application may fix a minor problem. The

Workaround: The next latest version of the XAMPP, the Xampp/bin in the Msvcr100.dll into their own Apache24/bin folder, you can start.

After fixing the problem:

If the httpd.conf is configured correctly, there is no prompt after entering httpd carriage return.

5. Test. You can put the index.html in the Apache24\htdocs directory in the D:\www directory, access to the browser will appear "It works" that the Apache has been installed correctly.

Note: You cannot turn off this command window, otherwise Apache will shut down.

6. Join the system service for Windows and let Apache self-boot.

(1) Close the 3 httpd command window, or you will get an error.

(2) Start---Run, enter cmd, and then open a command prompt. Enter the command to join the service here: Httpd.exe-k install-n "ServiceName"

ServiceName is the name of Apache in Windows services. For example: enter Httpd.exe-k install-n "Apache24", there will be a successful installation of the prompt, "service" will also have Apache24 this service item. This time you can choose to start the Apache service.

If you want to uninstall this service, you should stop this service, then enter later can be controlled by the Apache24\bin folder under the ApacheMonitor.exe to control this Apache. The taskbar will also have a very handy management Apache run that shows this software.

Attached: You can put Apache24 in the C packing directory, that is C:\Apache24

Above 2, just Change (3) (5), cmd command directly input

Here the basic installation of Apache has been finished.

Let's start by saying that PHP is installed.

Part II: Installation of PHP5.5

1. Download the extracted files, unzip and put in the location to be installed. (I take D:\PHP as an example)

Unzip the Hp5apache2_4.dll and put it in the PHP directory.

Note: Some versions of the previous procedure do not have the file, you can test the same version of the Xampp file under the php file .

2. Copy the php.ini-development and rename it to PHP.ini.

3. Open apache24\conf under Httpd.conf, at last add

Used to support PHP, where d:/php is the PHP root directory. Because of the use of Apache2.4.4, Php5_module is Php5apache2_4.dll.

# PHP5 supportLoadModule"D:/php/php5apache2_4.dll"AddHandler Application/x-  httpd-.  PHP# Configure the path to php.iniphpinidir"d:/php"        
Note: After I add the above statement, the Apache server does not start the problem, to the Event Viewer to see the following prompt:
  The Apache service named  reported the following error:>>> Httpd.exe:Syntax error on line 531 of d:/apaserv/a Pache24/conf/httpd.conf:cannot load D:/apaserv/php/php5apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\ Xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3     .

To install first, because all 5.5 environments are now generated under VC11-based compilation scripts, so you have to install the relevant components under Windows, Msvcr110.dll, or you can double-click the Php.exe test to error.

This error hint, I started to follow my own understanding of the installation of the VC++2010 runtime, but no matter how debugging is the error, and then I downloaded from the Internet the highest version of the vc++2012 Run library, a success.

4. Restart the Apache server.

4.1 The following error may occur when you start the server:

configuration:

replace; extension_dir = "ext" to:Extension_dir = "D:/myphpenv/php5.4/ext" (The real Path)

5. Test. Delete other files in www, create a new index.php, the content is <?php phpinfo ();?> Save, access the information that appears in PHP indicates that PHP has been successfully installed.

The basic installation of PHP has been completed here.

The following is the installation of MySQL. Part III: Installation of mysql-5.6.12

0. At the time of installation, you will be prompted to install the. NET Framework 4, download the latest from the Microsoft Web site, you will be prompted to update DirectX when downloading, this is not a tube.

1. Run the installation files directly, this is not specified here.

can refer to the official article: http://dev.mysql.com/doc/refman/5.7/en/mysql-installer-gui.html

2.php support MySQL Settings

(1) the No. 730 line; Extension_dir = "ext", remove the front ";" and change to Extension_dir = "D:\PHP\ext"

(2) No. 880 and 881, remove the preceding ";"

Extension=php_mysql.dllextension=php_mysqli.dll

Note: There are many DLLs in lines No. 838 through No. 908, what you need to use, and remove the previous ";" You can do it.

(3) Restart Apache.

The MySQL installation is basically done here.

Part IV installation of PhpMyAdmin 4.0.4.1

1. Download from Http://jaist.dl.sourceforge.net/project/phpmyadmin//4.0.4.1/phpMyAdmin-4.0.4.1-all-languages.zip;

2. Extract to the root directory of the website, that is, http://xxx.xxx.xx/phpMyAdmin;

3. At this point, the following error will appear if you visit the above URL:

Fatal error:call to undefined function mb_detect_encoding () in D:\ApaServ\www\phpMyAdmin\libraries\php-gettext\ Gettext.inc on line 177Fatal error:call to undefined function pma_dbi_num_rows () in

4. Open the php.ini file, refer to the following modification:

Extension=php_bz2.dllextension=php_curl.dll;extension=php_fileinfo.dllextension=php_gd2.dllextension=php_ Gettext.dll;extension=php_gmp.dll;extension=php_intl.dll;extension=php_imap.dll;extension=php_interbase.dll; Extension=php_ldap.dllextension=php_mbstring.dll;extension=php_exif.dll; Must is after mbstring as it depends on Itextension=php_mysql.dllextension=php_mysqli.dll;extension=php_oci8.dll; Use with Oracle 10gr2 Instant Clientextension=php_oci8_11g.dll; Use with Oracle 11gR2 Instant client;extension=php_openssl.dll;extension=php_pdo_firebird.dllextension=php_pdo_ Mysql.dll;extension=php_pdo_oci.dll;extension=php_pdo_odbc.dll;extension=php_pdo_pgsql.dllextension=php_pdo_ Sqlite.dll;extension=php_pgsql.dll;extension=php_pspell.dll;extension=php_shmop.dll; The MIBS data available in the PHP distribution must is installed. ; See Http://www.php.net/manual/en/snmp.installation.php; extension=php_snmp.dllextension=php_soap.dllextension= Php_sockets.dllextension=php_sqlite3.dll;extension=php_sybase_ct.dll;extension=php_tidy.dll;extension=php_xmlrpc.dllextension=php_xsl.dllextension= Php_zip.dll

5, revisit the 2nd step in the URL, you will see the following tips


Click the download below to open the file with the following contents: $cfg [' defaultlang '] = ' en '; $cfg [' serverdefault '] = 1; $cfg [' uploaddir '] = '; $cfg [' savedir '] = '; Put the downloaded file under phpMyAdmin and rename it to config.inc.php. Here you can refer to: http://www.phptogether.com/archives/12327 This site is also my configuration after the understanding of the meaning of the. The configuration is now complete

picture for proof:



Window 2008+apache2.4.4+php5.5+mysql-5.6.12+phpmyadmin4.0.4.1 installation process (refer to other people's articles on the basis of the problems they encountered)

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.