Php_symfony_ Project whole process record

Source: Internet
Author: User
Tags autoload mongodb server elastic search couchdb

Today is January 8, 2017, formally received a symfony project, the preparation of the whole process to record the problems encountered and solutions, before being notified to study the framework, but has not had the opportunity to do the project, today finally can be done, hope that the 2017 will be able to use symfony, can solve the basic problems, Ability to create new projects independently ..... 2017 has begun ...

-------------------------------------------------------------------------------------------------

January 8, updated code, because there are two or three months did not see Symfony, came up to meet the problem before, fortunately encountered (the following XXX represents the project name) haha

1: Update code .....

2: Run the project

The problem is as follows:

$ php bin/console server:runphp Warning:  require (d:\home\workspace\xxx\app/.. /vendor/autoload.php): Failed to open stream:no such file or directory in D:\home\workspace\XXX\app\autoload.php on line 7PHP Fatal Error:  require (): Failed opening required ' d:\home\workspace\xxx\app/. /vendor/autoload.php ' (include_path= '.;D: \ Php-5.5.30-nts-win32-vc11-x64pear ') in D:\home\workspace\XXX\app\autoload.php on line 7

Explanation: No dependent packages installed

Problem solved: Execute $ php cocomposer.json composer.lock Composer.phar

Run as follows:

Loading composer repositories with package informationinstalling dependencies (including Require-dev) from lock Filepacka GE Operations:33 installs, 0 updates, 0 removals-installing doctrine/lexer (v1.0.1) Loading from Cache-installing D Octrine/annotations (v1.2.7) Loading from cache-installing Twig/twig (v1.28.2) downloading:100%-Installing symfony/ Polyfill-util (v1.3.0) downloading:100%-Installing Paragonie/random_compat (v2.0.4) downloading:100%-Installing Sy Mfony/polyfill-php70 (v1.3.0) downloading:100%-Installing symfony/polyfill-php56 (v1.3.0) downloading:100%-Install ing symfony/polyfill-mbstring (v1.3.0) downloading:100%-Installing Symfony/symfony (v3.2.1) downloading:100%-Insta Lling Symfony/polyfill-intl-icu (v1.3.0) downloading:100%-Installing Psr/log (1.0.2) Loading from cache-installing Psr/cache (1.0.1) Loading from cache-installing doctrine/inflector (v1.1.0) Loading from Cache-installing doctrine/c Ollections (v1.3.0) Loading from Cache-installing doctrine/cache (v1.6.1) Loading from cache-installing Doctrine/common (v2.6.2) Downloading: 100%-Installing Jdorn/sql-formatter (v1.2.17) Loading from cache-installing doctrine/doctrine-cache-bundle (1.3.0) Loading from Cache-installing Doctrine/dbal (v2.5.5) Loading from cache-installing doctrine/doctrine-bundle (1.6.4) Loading from Cache-installing doctrine/instantiator (1.0.5) Loading from cache-installing doctrine/orm (v2.5.5) Load ing from cache-installing incenteev/composer-parameter-handler (v2.1.2) Loading from Cache-installing sensiolabs/sec Urity-checker (v4.0.0) Loading from cache-installing sensio/distribution-bundle (v5.0.15) downloading:100%-Installi Ng Sensio/framework-extra-bundle (v3.0.16) Loading from cache-installing monolog/monolog (1.22.0) downloading:100%- Installing Symfony/monolog-bundle (3.0.1) downloading:100%-Installing SYMFONY/POLYFILL-APCU (v1.3.0) downloading:100 %-Installing SwiftmailEr/swiftmailer (v5.4.4) downloading:100%-Installing Symfony/swiftmailer-bundle (v2.4.0) downloading:100%-Installin G Sensio/generator-bundle (v3.1.2) downloading:100%-Installing Symfony/phpunit-bridge (v3.2.1) Downloading:100%parag Onie/random_compat suggests installing Ext-libsodium (provides a modern crypto API that can is used to generate random byt Es.) Doctrine/doctrine-cache-bundle suggests installing symfony/security-acl (for using the this bundle to cache ACLs) sensio/ Framework-extra-bundle suggests installing Symfony/psr-http-message-bridge (to use the PSR-7 converters) monolog/ Monolog suggests installing aws/aws-sdk-php (allow sending log messagesto AWS services like DynamoDB) Monolog/monolog Sugge STS installing DOCTRINE/COUCHDB (allow sending log messages to a COUCHDB server) Monolog/monolog suggests installing Ext-am QP (allow sending logs messages to a AMQP server (1.0+ required)) Monolog/monolog suggests installing Ext-mongo (allow send ing log messages to a MongoDB server)Monolog/monolog suggests installing graylog2/gelf-php (allow sending log messages to a GRAYLOG2 server) Monolog/monolog Sug Gests installing MONGODB/MONGODB (allow sending log messagesto a MongoDB server via PHP Driver) Monolog/monolog suggests in Stalling Php-amqplib/php-amqplib (allow sending log messages to an AMQP server using Php-amqplib) Monolog/monolog suggests Installing Php-console/php-console (allow sending log messages to Google Chrome) Monolog/monolog suggests installing ROLLB Ar/rollbar (Allow sending log messagesto Rollbar) Monolog/monolog suggests installing Ruflin/elastica (allow sending log me Ssagesto an Elastic Search server) Monolog/monolog suggests installing sentry/sentry (allow sending log messages to a SENTR Y server) generating autoload files> incenteev\parameterhandler\scripthandler::buildparameterscreating the "app/ Config/parameters.yml "Filesome parameters is missing. Please provide them.database_host (127.0.0.1):d atabase_port (null):d atabase_name (symfony):d atabase_user (Root):d Atabase_password (NULL): Mailer_transport (SMTP): Mailer_host (127.0.0.1): Mailer_user (NULL): Mailer_ Password (NULL): Secret (Thistokenisnotsosecretchangeit):> sensio\bundle\distributionbundle\composer\ Scripthandler::buildbootstrap> Sensio\bundle\distributionbundle\composer\scripthandler::clearcache//Clearing The cache for the dev environment with debug//True [OK] cache for the ' Dev ' environment (debug=true) was successfully cl Eared.> sensio\bundle\distributionbundle\composer\scripthandler::installassets Trying to install assets as Relative Symbolic links.  --------------------------------------Bundle method/error-------------------------------------- WARNING xinxibundle copy--------------------------------------! [NOTE] Some assets were installed via copy.        If You do changes to these! Assets you has to run the This command again. [OK] All assets were successfully installed.> SENSIO\BUNDLE\DISTRIBUTIONBUNDLE\COMPOSER\SCRIpthandler::installrequirementsfile> Sensio\bundle\distributionbundle\composer\scripthandler:: Preparedeploymenttarget

The following sections of the run are to be entered: But I will return the default

Some parameters is missing. Please provide them.database_host (127.0.0.1):d atabase_port (null):d atabase_name (symfony):d atabase_user (root): Database_password (NULL): Mailer_transport (SMTP): Mailer_host (127.0.0.1): Mailer_user (NULL): Mailer_password (NULL): Secret (Thistokenisnotsosecretchangeit):

Php_symfony_ Project whole process record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.