Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8526811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:22:46+00:00 2026-06-11T08:22:46+00:00

To install vendors for Symfony 2.1.0 I’m running php composer.phar install but it gives

  • 0

To install vendors for Symfony 2.1.0 I’m running php composer.phar install but it gives error during Generating autoload files.

Error is:

Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in on line 26

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-install-cmd event terminated with an exception

It works fine on localhost, but not on server. Not sure what the problem is with the php set up?

EDIT:

PHP is 5.3.13. I checked that beforehand.

I ran app/check.php and everything is OK, except warning for accelerator.

I could successfully install composer as well.

The composer.json has the same values as the 2.1 symfony-standard branch:

"extra": {
    "symfony-app-dir": "app",
    "symfony-web-dir": "web"
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T08:22:48+00:00Added an answer on June 11, 2026 at 8:22 am

    The host seems to use php5.2 by standard. sigh.

    I made an alias in the .bash_profile to the php53 executable previously.

    This did not get return with ScriptHandler::getPhp as it returned the default executable (5.2). I didn’t pick it up as I’m used to the T_FUNCTION error being namespacing not recognised.

    I could change my .bash_profile to use PATH instead of alias.

    Seems resolved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

when running php bin/vendors install i get the error: Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand' not
I'm trying to install a new Symfony project without vendors preinstalled. I'm running Windows
In symfony2 project php bin/vendors install , re-installs all bundles in deps file. Each
I downloaded the latest symfony2 (2.0.10) and tried to run bin/vendors install but it
I'm trying to install acts_as_ferret in windows7.But am getting an error Using acts-as-taggable-on (2.1.1)
I am trying to install symfony php framework. I am working with windows. My
bin/vendors install works on my local machine. However, three entries in my deps file
gem install mygem ERROR: Error installing mygem: mygem requires mygem-adapter (>= 0, runtime) I
I install plugin open_id_authentication and have this error: /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to
Facts: using standard Symfony 2.0.10 release (includes vendors) all works fine . However with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.