PHP Composer does not clone symfony/assetic-bundle properly -
i trying install symfony on centos linux wih php 5.6 , cpanel installed.
when run composer require symfony/assetic-bundle
, once adding bundle appkernelphp, symfony (app/console too) stops working , keeps logging error:
[10-jun-2016 22:00:57 utc] php fatal error: class 'symfony\bundle\asseticbundle\asseticbundle' not found in /home/avid24/public_html/app/appkernel.php on line 19
after checking vendor directory, turns out composer has downloaded single compressed file random name, extract unzip. problem still exists!
this environment works on windows , update symfony , components using composer.
any help? same experience ?
well, figured out problem!
i enabled suhosin extension prevents composer , other similar command prompt php scripts proper execution.
as temporary solution copied php.ini , disabled unnecessary extensions , put next project , call composer way
$php -c ../composer-php.ini ~/composer ......
i'll create script make life easier
i didn't find resource describes coexistence of composer , suhosin extension, i'm not sure if ultimate solution root cause identified.
if makes workaround subject i'd more happy know it.
Comments
Post a Comment