i trying install symfony2 on mac following tutorial : http://symfony.com/fr/doc/current/book/installation.html
so did : curl -s https://getcomposer.org/installer | php
it seemed work although got php warning : php warning: php startup: unable load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/intl.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/intl.so, 9): image not found in unknown on line 0
for tried ld_library_path=$ld_library_path:/usr/local/lib/php/extensions/no-debug-non-zts-20090626/
didn't seem help.
the next command : sudo php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/symfony dev-master
and output :
php fatal error: allowed memory size of 536870912 bytes exhausted (tried allocate 32 bytes) in phar:///users/theofidry/composer.phar/src/composer/dependencyresolver/rulewatchgraph.php on line 52 php stack trace: [...] fatal error: allowed memory size of 536870912 bytes exhausted (tried allocate 32 bytes) in phar:///users/theofidry/composer.phar/src/composer/dependencyresolver/rulewatchgraph.php on line 52 call stack: [...]
si change memory_limit in php.ini , retried last command output :
hp warning: php startup: unable load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/intl.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/intl.so, 9): image not found in unknown on line 0 #!/usr/bin/env php settings correct using composer downloading... not create file /private/etc/composer.phar: fopen(/private/etc/composer.phar): failed open stream: permission denied download failed: fopen(/private/etc/composer.phar): failed open stream: permission denied fwrite() expects parameter 1 resource, boolean given downloading... not create file /private/etc/composer.phar: fopen(/private/etc/composer.phar): failed open stream: permission denied download failed: fopen(/private/etc/composer.phar): failed open stream: permission denied fwrite() expects parameter 1 resource, boolean given downloading... not create file /private/etc/composer.phar: fopen(/private/etc/composer.phar): failed open stream: permission denied download failed: fopen(/private/etc/composer.phar): failed open stream: permission denied fwrite() expects parameter 1 resource, boolean given download failed repeatedly, aborting.
anyone got idea of how resolve mess ?
install intl extension y using pecl command , enable in php.ini
sudo pecl install intl
add following in php.ini
extension="intl.so"
Comments
Post a Comment