this is my first post, so i will try to be clear So i need to define some constants in the Symfony configuration (in a .yaml file, i guess) I know i could define them throw public const MY_CONST but …
Tag: configuration
How to log errors in the same directory of the script
What the question is about: need each script to log its errors in the same directory that the script is located, need to achieve this through pure configuration. By script I am not referring to included files, I’m referring to the files of the executing web pages. Example 1 A syntax error of: Has to log to: Example 2 A
How to always use ignore-platform-reqs flag when running composer?
On my local machine, I have php v7.0.3. A project of mine has a dependency on php v5.5. So as expected, a simple run of composer install crashes: I know I can ignore the platform via: yet I often forget to add the flag. Yet since the application runs inside a docker container, a mismatching php can install the dependencies
PHP Warning: Module already loaded in Unknown on line 0
On Mac OSX Mavericks using homebrew php55 whenever I run a a php command I get the following error message (everything runs fine it’s just annoying) I ran and the output was Checked in the php.ini file and the only place intl is loaded is at the top and it’s commented out. The other files contents look something like: where
phpMyAdmin doesn’t load database import file with unsupported compression (application/gzip)
I upgraded from an older lubutu release to 14, now running PHP 5.5 and phpMyAdmin 4.0.10deb1, I regularly move small MySQL database exports between hosts (700KB gzip, around 7-10MB decompressed SQL). You attempted to load file with unsupported compression (application/gzip). Either support for it is not implemented or disabled by your configuration. This was all working swimmingly on the older
How enable_dl configuration in php can be useful?
I was going through php.ini and I have found the following parameter enable_dl with a strange description: This directive is really only useful in the Apache module version of PHP. You can turn dynamic loading of PHP extensions with dl() on and off per virtual server or per directory. The main reason for turning dynamic loading off is security. With
XXX is not a valid entity or mapped super class // and config options
I just started to use Doctrine2 and I have an error when I want to persist an entity. Here is my error: ‘Class “Myappappentityuser” is not a valid entity or mapped super class.’ eAccelerator is not installed on my computer. My app (I don’t use Symfony) structure is like that: MyApp app entity core external Doctrine And I initialize Doctrine
What are the .ini files in /etc/php5/conf.d folder for?
I get that the .ini files in /etc/php5/cli have to do with CLI usage of PHP, the files in /etc/php5/fpm are about FastCGI/FPM aspect of PHP, but what about the .ini files located in /etc/php5/conf.d? Answer From /usr/share/doc/php5-common/README.Debian.gz (on an Ubuntu system with PHP installed): Additionally, each SAPI is configured with the compile-time option which for all SAPI’s is actually