My questions in related to my another one:
In apache logs I have errors like this:
PHP Warning: SQLite3Stmt::execute(): Unable to execute statement: database is locked in /home/marek/devel/sf2/cities/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/SqliteProfilerStorage.php
I am using MySQL so why I am getting error about SQLite3?
Could someone help resolve this error?
[EDIT]
The only way of disabling profiler is:
public function __construct(ProfilerStorageInterface $storage, LoggerInterface $logger = null)
{
$this->storage = $storage;
$this->logger = $logger;
$this->collectors = array();
**$this->enabled = false;**
}
Symfony2 stores debug and profiling data in SQLite database (in {root}/app/cache/dev/profiler.db file) and seems like in dev mode you send a lot of requests and it locks SQLite database. If you want to test performance of your application – do not use DEV environment