Note: If you want no pain of installing them seperately and configuring them manually.You can try EasyPhp/Xampp
1: Download apache
http://httpd.apache.org/download.cgi
Install it(As normally doing this other softwares)
2: Download php
http://windows.php.net/download/ (copy zip package that i done in my setup)
Extract it
copy that folder into c: and rename that as c:/php (If you not done this or copy it somewhere else then Configure httpd.conf as per your location)
3: Download MySQL from
http://dev.mysql.com/downloads/mysql/ (As per system Configuration)
Install it.
4: Dont forget to add these lines in httpd.conf( For reference : http://www.php.net/manual/en/install.windows.apache2.php )
---------------------------------------------
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddHandler application/x-httpd-php .php
PHPIniDir 'c:\php\'
5: Restart Apache
6: Go to Apache Directory then /htdocs
Create a simple file
index.php
phpinfo();
?>
7: Try to run it http://127.0.0.1/index.php (I configure this on local laptop so i used 127.0.0.1.Inplace of 127.0.0.1 you can use your ip server name etc)
Imagick Configuration (It is not mandory)
Imagick configuration for php in windows
Follow this document
http://www.elxsy.com/2009/07/installing-imagemagick-on-windows-and-using-with-php-imagick/
In Simplified Terms
1: Download and Install Imagemagick(Q-16)
2: Download php_imagick.dll and copy it into ext directory of php
3: Add this line in php.ini file (php.ini-production)
If it is commented (; line start with semicolon)
Or there is no entry of this line in php.ini
extension=php_imagick.dll
No comments:
Post a Comment