Thursday, April 12, 2012

Install Symfony2 on Windows, wamp or xampp



1. wamp or xampp is the best install on C: drive

2. setup php.ini

extension=php_intl.dll
extension=php_pdo_sqlite.dll
extension=php_sqlite3.dll
restart apache

3. if show on "http://localhost/symfony/web/config.php" need intl.dll and then copy 
icudt46.dll
icuin46.dll
icuio46.dll
icule46.dll
iculx46.dll
icutu46.dll
icuuc46.dll
from php folder to apache/bin folder

4. if show on "http://localhost/symfony/web/config.php" need APC then install APC
1) if on win7 download apc-igbinary-fastlz-snap20110301-5.3-ts-vc9-x86.zip from http://downloads.php.net/pierre/ and then uncompress to C:/xampp/php/ext
2) in php.ini 
add extension=php_apc.dll
change time zone: date.timezone=Pacific/Auckland

5. restart apache

No comments: