Category : config

I have a problem when deploying Symfony 1.4.28 on Apache2 (Ubuntu 18.04). I follow all instruction of Symfony tutorial here with 2 steps: Generate the structure of Symfony project (generate:project, generate:app) Edit /etc/apache2/apache2.conf (because Apache2 removed httpd.conf) to point this structure However, when I deploy, it doesn’t work with the message "Forbidden You don’t have ..

Read more

A code demo from this problem is visible on : GitHub and Packagist, please consult v0.0.3. My problem : I want to generate a configpackagesowner_test.yaml file when I run : composer require owner/test-bundle:0.0.3 But Composer display an error : There is no extension able to load the configuration for "owner_test" (in "C:UsersUSERPROJECTvendorownertest-bundleDependencyInjection/../Resources/configowner_test.yaml"). Looked for namespace ..

Read more

I have a database password I’d like to dynamically retrieve and have PHP code to retrieve that. Currently my parameters.yml.dist looks like parameters: database_user: bob database_password: ~ database_host: alice.training.database imports: – { resource: ‘parameters.php’ } Parameters.php looks like <?php $container->setParameter(‘database_password’, functionCall()); But this does not update the value. I noticed that if I print the ..

Read more

Created a project via Symfony and Webpack. I’m getting an error while compiling : “[BABEL] Note: The code generator has deoptimised the styling of [filePath] as it exceeds the max of 500KB.” JS file, which causes error is 8Mb of size. I’ve found a solution at Similar question on SO. But I don’t know how ..

Read more