Introduction to the PHP server configuration process

Source: Internet
Author: User
Tags configuration php php server php and mysql mysql login phpmyadmin
    1. ; Extension=php_dba.dll
    2. ; Extension=php_dbase.dll
    3. ; Extension=php_filepro.dll
    4. ; Extension=php_gd2.dll
    5. ; Extension=php_imap.dll
    6. ; Extension=php_mysql.dll
Copy Code

Next, modify some of the restrictions:

    1. Memory_limit = 20M
    2. Post_max_size = 20M
    3. Upload_max_filesize = 20M
Copy Code

Finally, change this file name to php.ini copy to C:\winnt. (Operating system is Windows 2000) 3. Copy the Libmysql.dll Php5apache2_2.dll Php5ts.dll under D:\PHP5 to Winnt/system32 at this point, you run the MySQL-supported PHP program. Create a new Notepad to write a statement: Save as info.php stored under D:\apach\htdocs, enter http://localhost/info.php in the browser If you can see the PHP information page to prove that you can run PHP 4.phpMyAdmin configuration in the browser input http://localhost/phpmyadmin, if you see the MySQL login interface instructions can run MySQL supported PHP program, If unable to log in, to configure the phpMyAdmin, open the phpMyAdmin folder libraries/config.default.php find $cfg[' Servers ' [$i] [' auth_type '] = ' Config '; Modify config as a cookie, if PHP is installed as a module, it can also be modified to HTTP if "configuration file now requires top secret phrase password (blowfish_secret)", then please $cfg[' blowfish_secret ') = "; the equals sign inside the cookie that sets your website, for example: $cfg [' blowfish_secret '] = ' www.loosky.net ', this is because your" $cfg [' Servers '] [$i] [' auth_type '] = ' The reason for the cookie '.

    1. $cfg [' pmaabsoluteuri '] = ' your phpmyadmin address ';
    2. $cfg [' Servers '] [$i] [' host '] = ' localhost ';
    3. $cfg [' Servers '] [$i] [' user '] = ' root '; MySQL User
    4. $cfg [' Servers '] [$i] [' password '] = ' 123′;
Copy Code

Restart Apach If you see the MySQL login interface stating that the configuration was successful, complete the apache2.2+php5.2+mysql5.0+phpmyadmin2.9 installation process at this time. Four, Zend Installation and configuration

    1. There are four components of the Zend:
    2. * Zend Platform
    3. * Zend Studio
    4. * Zend Optimizer
    5. * Zend Guard
Copy Code

The recommendation program is also placed in the D-Disk Zend folder, the specific process is no longer detailed. PHP Server Environment configuration (Apache and IIS two methods) PHP Server Environment Construction method under Ubuntu configuration PHP Server environment PHP and MySQL server configuration instructions PHP get server information class PHP get server-side information alternative method PHP get server information for a piece of code

  • 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.