Ciao rieccomi,
scusate ma ho dei problemini, allora ricapitolando, per il deploy sto seguendo quì
http://symfony.com/doc/2.8/deployment.html, e mi trovo ad aver trasferito il progetto su web server senza il folder vendor, ora seguendo gli step manuali, mi accingo a fare il check della configurazione dal quale ottengo il seguente output,
Symfony Requirements Checker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> PHP is using the following php.ini file:
WARNING: No configuration file (php.ini) used by PHP!
> Checking Symfony requirements:
..E..E.......................WWW.....
[ERROR]
Your system is not ready to run Symfony projects
Fix the following mandatory requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Vendor libraries must be installed
> Vendor libraries are missing. Install composer following
> instructions from http://getcomposer.org/. Then run "php
> composer.phar install" to install them.
* date.timezone setting must be set
> Set the "date.timezone" setting in php.ini* (like Europe/Paris).
Optional recommendations to improve your setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* intl extension should be available
> Install and enable the intl extension (used for validators).
* a PHP accelerator should be installed
> Install and/or enable a PHP accelerator (highly recommended).
* short_open_tag should be disabled in php.ini
> Set short_open_tag to off in php.ini*.
Note The command console could use a different php.ini file
~~~~ than the one used with your web server. To be on the
safe side, please check the requirements from your web
server using the web/config.php script.
per installare il folder vendor uso composer con il seguente comando nel folder del progetto:
composer update e ottengo il seguente output:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- league/uri 4.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- league/uri 4.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- league/uri 4.2.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- league/uri 4.2.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- league/uri 4.1.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- league/uri 4.1.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- Installation request for league/uri ^4.1 -> satisfiable by league/uri[4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2].
che mi aspettavo in quanto non posso accedere direttamente al php.ini per abilitare la libreria intl, e quì arriva la mia prima domanda, come faccio a gestire il php.ini? Leggendo ho capito che bisogna intervenire sul file .htaccess ma non saprei in che modo, dove posso documentarmi?
Seconda domanda, per installare un php accelerator, ho provato con APC eseguendo il comando:
pecl install APC
ma ottengo:
bash: pecl: command not found
sono incagliato, anche quì dove posso documentarmi?
Grazie come sempre per la pazienza.