Monday, January 18, 2016

How to install Symfony

1) run following command
php -r "file_put_contents('symfony', file_get_contents('https://symfony.com/installer'));"

2) run following command
symfony new my_project 2.8

3) see picture below














4) Run on web













In php ini open this extension
extension=php_intl.dll

Note: if you not installed Php accelerator, please install by following steps

  1. to show you PHP configuration via the PHP function phpinfo() ;
  2. to get 2 precious informations :


x86 or x64, and TS (Thread Safe) or NTS (Non Thread Safe) ;
3.to download the corresponding DLL there (including your PHP version) http://pecl.php.net/package/APCu/4.0.6/windows


4. to copy/paste the DLL file within your extensions directory,
5. to edit your php.ini file (i.e. within C:xampp/php directory) ;
and add this line inside Dynamic Extensions part :
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

[...]

extension=php_apcu.dll

Don't forget to restart server.


No comments:

Post a Comment