문제

After having a hard time (5 hours) with enabling OpenSSL, Composer and Zend in PHP under Wamp in Windows, I managed to get everything working besides fragmented information I have collected. \o/

Now I have one more challenge, related to this command which is not working because of some sort of malformed file from zendframework.com.

The command:

C:\wamp\bin\php\php5.4.12>php composer.phar create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-appli
cation c:\wamp\www\a_brand_new_site_with_zend

The error:

  [Seld\JsonLint\ParsingException]
  "http://packages.zendframework.com/packages.json" does not contain valid JSON
  Parse error on line 1:
  ×{    "packages": {
  ^
  Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['

enter image description here

I know the json file is arriving in bad shape but maybe I am missing something.

Any ideas how to get Composer working (or any other easy tool) to automatically create the Zend project files?

올바른 솔루션이 없습니다

다른 팁

So, the workaround for now is to download from another url.

Zendframework.com has some kind of problem.

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top