symfony/symfony — Issue #3025: Symfony 2.0.X installation requires PHP 5.3.3
Author: juanveiss
Created: 2012-01-04 10:54:10+00:00
State: open

Installing on PHP 5.3.2 server should be posible as Symfony2 requirements: http://symfony.com/doc/2.0/reference/requirements.html
But it is not.

`php app/check.php` shows all OK, except a warning for short tags.

After first config.php step, at app_dev.php/_configurator/ a fatal error shows up:

>ErrorException: Warning: SQLite3::exec(): database is locked in /vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/SqliteProfilerStorage.php line 44

I just installed sqlite3, so I think the the reason may be that my php version (5.3.2) has no support for busytimeout: http://php.net/manual/en/sqlite3.busytimeout.php, php >= 5.3.3

This error shows in both Symfony 2.0.6 and 2.0.7 versions.

Update server php version is a big problem for many people nowadays, as current Ubuntu LTS (10.4) runs PHP 5.3.2.

As sqlite is only needed for profiler i avoid this deactivating it at app/config/config_dev.yml replacing:
`profiler: { only_exceptions: false }`
with:
`profiler: false`
But, this is not a solution.

Profiler seems to work on Sf 2.1.0-DEV and php 5.3.2, but an annoying message is showing up now constantly:

>An error occurred while loading the web debug toolbar
>Do you want to open the profiler