Monday, November 01, 2004

APACHE, PHP, MYSQL SETUP

1. Apache
2. PHP

  • copy php4ts .dll and php5apache2.dll into the appropriate system directory. windows/system32.
  • go to php5 directory, copy php.ini-recommended to windows directory.
  • edit apache2\conf\httpd.conf
  • add the following two lines to the httpd.conf file. Add these code directory below the block of LoadModule entries located in the botton of the Global Environment Section LoadModule php5_module c:/php5/sapi/php5apache2.dll
  • AddType application/x-httpd-php .php .html

3. MYSQL
4. PhpMyAdmain setup
  • install phpmyadmain to the apache server ht doc dirctory
  • set up the config.inc.php: setup the host user and auth_type
  • modify the php.ini in the windows directory: modify the extension_dir = "E:\php5\ext" and extension=php_mysql.dll
  • copy the libmysql.dll to windows/system32 directory

0 Comments:

Post a Comment

<< Home