00001.Windows Configure phpbb

xiaoxiao2021-03-06  98

*********************************************************** ********************************************************** Windows /, this is Apache configuration method) ********************************************* ******************************* One, install Apache to F: / Web / Next ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------ Second, install mysql to f: / web / under -------- -------------------------------------------------- ------------------ Third, copy PHP to F: / Web / Lower 1, copy the two DLL files in the PHP directory to the System32 directory (libmysql.dll and PHP5TS.DLL) 2, change the php.ini-dist file in the PHP directory to php.ini, and copy to the Winnt directory, modify the php.ini file, 1 Search php_mysql.dll, remove the comment in front of the row 2 Search include include_path Find the line corresponding to Windows, remove the comment, modify the following include_path, which will be the path to the Include function of the PHP page 3, copy the php / ext directory PHP_MYSQL.DLL file to the system32 directory 4, refer to the PHP directory Install.txt file, search loadingmodule, modify httpd.conf, add the following two rows in its last line (may change the PHP path): loadModule php5_module "c: / php/php5apache2.dll" AddType Application / X-httpd-php. PHP5, modify httpd.conf, search index.html, add index.php after line DirectoryIndex index.html index.html.var -------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------- Four, copy phpmyadmin to f: / web / apache2 / htdocs / down 1, create new phpinfo.php files in the HTDOCS directory, write > And save, then http: //localhost/phpinfo.php test 2, modify httpd.conf, add the following line alias / phpMyadmin "f: / web / apache2 / htdocs / phpMyadmin" in the Alias ​​section can be Enter http: // ip / phpMyAdmin when accessing, you can reach the phpMyadmin directory 3, you may need to look at the config.inc.php file under the phpmyadmin directory 1 is on Chapter 39: $ cfg ['pmaabsoluteuri'] = '; / * If you fill in http: // ip / phpMyadmin, other machines can access * // * Back If you fill in http: // localhost / phpMyAdmin, this function can be accessed * / 2 is about 82, 133, 160 row $ CFG ['Servers'] [$ I] ['Auth_Type'] = ''; / * After the HTTP is filled, the input account password will be required to enter the account password. * // * will be directly from the config Document reading password * / 3 is about 84,135,162 line $ cfg ['servers'] [$ I] ['password'] = '';

转载请注明原文地址:https://www.9cbs.com/read-98655.html

New Post(0)