Home  >  Article  >  Backend Development  >  Introduction to the php server configuration process

Introduction to the php server configuration process

WBOY
WBOYOriginal
2016-07-25 08:53:59979browse
Extension=php_dba.dll
Copy the code
  1. Next modify some restrictions:
  2. memory_limit = 20M
  3. post_max_size = 20M
upload_max_filesize = 20M
Copy the code

Finally change the file name to php.ini and copy it to C:winnt. (The operating system is windows 2000) 3. Copy libmysql.dll php5apache2_2.dll php5ts.dll under D:php5 to winnt/system32 At this point you can run the php program supported by MYSQL, create a new notepad and write a statement: Save it as info.php and store it under D:apachhtdocs. Enter http://localhost/info.php in the browser. If you can see the php information page, it proves that you can run php. 4.phpMyAdmin configuration Enter http://localhost/phpmyadmin in the browser. If you see the MYSQL login interface, you can run the php program supported by MYSQL. If you cannot log in, you need to configure phpmyadmin. Open libraries/config.default.php in the phpmyadmin folder Find $cfg['Servers'][$i]['auth_type'] = 'config'; Just modify the config to cookie. If php is installed as a module, you can also modify it to http. If "The configuration file now requires a top-secret phrase password (blowfish_secret)" appears, then please set the cookie of your website in the equal sign of $cfg['blowfish_secret'] = ";, for example: $cfg['blowfish_secret'] = ' www.loosky.net';This is because of your "$cfg['Servers'][$i]['auth_type'] ='cookie'.
  1. $cfg['PmaAbsoluteUri'] = 'Your phpMyAdmin address';
  2. $cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers' ][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '123′;

Copy code

If you restart apach and you see the MYSQL login interface, the configuration is successful. At this time, the entire process of apache2.2+php5.2+MYSQL5.0+phpMyAdmin2.9 installation is completed. 4. Zend installation and configuration
  1. Zend has four components:
  2. * Zend Platform
* Zend Studio
* Zend Optimizer* Zend Guard

Copy the code
    It is recommended that the programs are also placed in the Zend folder on the D drive. The specific process will not be described in detail.
  1. php server environment setup and configuration (apache and iis two methods)
  2. How to build a php server environment
  3. Configuring php server environment under ubuntu
  4. php and mysql server configuration instructions
php class to get server information An alternative way to obtain server-side information using php

php code to get server information

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn