Benson Twumasi Benson Twumasi - 4 months ago 68
PHP Question

Symphony Configuration issues on Mac OS X EL Capitan

Hi guys i need help to fixed this symphony configuration issues on my mac. Am using OS X El Capitan:

Am new on symphony and l get this result after installation.

Configuration Checker

This script analyzes your system to check whether is ready to run Symfony applications.

MAJOR PROBLEMS
Major problems have been detected and must be fixed before continuing:

app/cache/ or var/cache/ directory must be writable
Change the permissions of either "app/cache/" or "var/cache/" directory so that the web server can write into it.

app/logs/ or var/logs/ directory must be writable
Change the permissions of either "app/logs/" or "var/logs/" directory so that the web server can write into it.

RECOMMENDATIONS
Additionally, to enhance your Symfony experience, it’s recommended that you fix the following:

intl ICU version installed on your system (56.1) should match the ICU data bundled with Symfony (55.1)
In most cases you should be fine, but please verify there is no inconsistencies between data provided by Symfony and the intl extension. See https://github.com/symfony/symfony/issues/15007 for an example of inconsistencies you might run into.

a PHP accelerator should be installed
Install and/or enable a PHP accelerator (highly recommended).

Answer

Open the Terminal app, go to the Symfony directory, and type:

sudo chmod 777 app/logs/
sudo chmod 777 app/cache/

You'll be asked for your password. If you need more information, read Understanding Unix Permissions.

As for ICU, I wouldn't worry about it if there are no problems. As for a PHP accelerator, I'd wait and analyze performance. ionCube or Zend Optimizer are your likely choices; a quick Google Search indicates they are available...