note 88118 deleted from install.windows.manual by cmb
| From: | cmb@php.net | Date: | Thu, 01 Dec 2016 17:20:41 +0000 |
| Subject: | note 88118 deleted from install.windows.manual by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207874@lists.php.net to get a copy of this message | ||
Note Submitter: chhabra_gurpreet at yahoo dot com
----
Hi everyone, well i've been trying to configure, install, this setup i.e., Apache, php and
mysql, well the prb wat i faced was that most of the installation instructions were quite outdated
as they used quite old softwares... well these are the simple steps install and configure this
entire setup, hope it will help u....(this is for windows)
Software versions:
Apache - 2.2.11
Mysql - 5.1.30-community
Php - PHP Version 5.2.8
Step 1: Default installation of Apache
Step 2: Default installation of mysql
Step 3: Download php zip file, extract it to ur C: drive under c:\php
Step 4: Add these paths to ur classpath, "C:\php", "C:\php\ext", incase ur
installation directory is php, else watever is the name of ur php installation directory use that
instead of php
Step 5: Open httpd.conf, that is located in Apache web server installation folder, under conf
directory i.e.,
Apache Installation folder > conf > httpd.conf
Add these lines....
>LoadModule php5_module "c:/php/php5apache2_2.dll"
>AddType application/x-httpd-php .php
Step 6: goto php installation directory, there u'll find a file named php-ini-recommended,
rename it to, php-ini.
Step 7: Now time to modify php-ini, file... open the file in notepad, look for
extension=php_mysql.dll, uncomment it, i.e., delete ";" thats prefixed...also look for
"extension_dir=" append "C:\php\ext" incase ur php installation directory is php
else "C:\%installation dir%\ext"
Step 8: Copy libmysql.dll to c:\windows\system32
done.......... ;)