第 1 頁 (共 1 頁)
安裝與測試
發表於 : 2013-05-17 16:27:33
由 yehlu
Re: 安裝與測試
發表於 : 2013-05-18 15:40:35
由 yehlu
1.install composer
http://getcomposer.org/Composer-Setup.exe
2.
代碼: 選擇全部
C:\server2go\htdocs>composer create-project symfony/framework-standard-edition blog 2.2.1
You must enable the openssl extension to download files via
發表於 : 2013-09-13 09:29:41
由 yehlu
Re: 安裝與測試
發表於 : 2013-09-13 16:06:35
由 yehlu
yehlu@nas:/var/www/test$ composer create-project symfony/framework-standard-edition Symfony
Installing symfony/framework-standard-edition (v2.3.4)
- Installing symfony/framework-standard-edition (v2.3.4)
Downloading: 100%
Created project in Symfony
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing jdorn/sql-formatter (v1.2.9)
Downloading: 100%
- Installing psr/log (1.0.0)
Downloading: 100%
- Installing twig/twig (v1.13.2)
Loading from cache
- Installing doctrine/lexer (v1.0)
Downloading: 100%
- Installing doctrine/annotations (v1.1.2)
Downloading: 100%
- Installing doctrine/collections (v1.1)
Downloading: 100%
- Installing doctrine/cache (v1.1)
Downloading: 100%
- Installing doctrine/inflector (v1.0)
Downloading: 100%
- Installing doctrine/common (v2.4.1)
Downloading: 100%
- Installing symfony/symfony (v2.3.4)
Downloading: 100%
- Installing symfony/icu (v1.1.0)
Downloading: 100%
- Installing doctrine/dbal (2.3.4)
Downloading: 100%
- Installing doctrine/doctrine-bundle (v1.2.0)
Downloading: 100%
- Installing twig/extensions (v1.0.0)
Downloading: 100%
- Installing kriswallsmith/assetic (v1.1.2)
Downloading: 100%
- Installing symfony/assetic-bundle (v2.3.0)
Downloading: 100%
- Installing monolog/monolog (1.6.0)
Downloading: 100%
- Installing symfony/monolog-bundle (v2.3.0)
Downloading: 100%
- Installing incenteev/composer-parameter-handler (v2.0.0)
Downloading: 100%
- Installing doctrine/orm (2.3.4)
Downloading: 100%
- Installing swiftmailer/swiftmailer (v5.0.2)
Downloading: 100%
- Installing symfony/swiftmailer-bundle (v2.3.4)
Downloading: 100%
- Installing sensio/distribution-bundle (v2.3.4)
Downloading: 100%
- Installing sensio/framework-extra-bundle (v2.3.4)
Downloading: 100%
- Installing sensio/generator-bundle (v2.3.4)
Downloading: 100%
kriswallsmith/assetic suggests installing leafo/lessphp (Assetic provides the integration with the lessphp LESS compiler)
kriswallsmith/assetic suggests installing leafo/scssphp (Assetic provides the integration with the scssphp SCSS compiler)
kriswallsmith/assetic suggests installing ptachoire/cssembed (Assetic provides the integration with phpcssembed to embed data uris)
kriswallsmith/assetic suggests installing leafo/scssphp-compass (Assetic provides the integration with the SCSS compass plugin)
monolog/monolog suggests installing mlehner/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
Writing lock file
Generating autoload files
Creating the "app/config/parameters.yml" file.
Some parameters are missing. Please provide them.
database_driver (pdo_mysql):
database_host (127.0.0.1):
database_port (null):
database_name (symfony):
database_user (root):
database_password (null):
mailer_transport (smtp):
mailer_host (127.0.0.1):
mailer_user (null):
mailer_password (null):
locale (en):
secret (ThisTokenIsNotSoSecretChangeIt):
Clearing the cache for the dev environment with debug true
Installing assets using the hard copy option
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for Acme\DemoBundle into web/bundles/acmedemo
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution
Re: 安裝與測試
發表於 : 2013-09-13 16:11:09
由 yehlu
http://www.arthurtoday.com/2013/02/ubun ... jPeaMba5yQ
代碼: 選擇全部
chmod 777 Symfony/app/cache -fR
chmod 777 Symfony/app/logs -fR
php.ini
代碼: 選擇全部
date.timezone = "Asia/Taipei"
short_open_tag = Off
PCRE 8.0+ is preconfigured in PHP since 5.3.2 but you are using an outdated version of it. Symfony probably works anyway but it is recommended to upgrade your PCRE extension.
http://php.net/manual/en/pcre.installation.php
http://sourceforge.net/projects/pcre/?source=pdlp
http://packages.ubuntu.com/search?keywo ... ection=all
http://stackoverflow.com/questions/1221 ... is-too-old
dpkg -i multiarch-support_2.17-91ubuntu1_amd64.deb
dpkg -i --force-depends libpcre3_8.31-2_amd64.deb
dpkg -r --force-depends libpcre3
apt-get install libpcre3
root@nas:/home/yehlu/pcre# pcretest -C
PCRE version 7.8 2008-09-05
Compiled with
UTF-8 support
Unicode properties support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack