Category: apache

Your system is not ready to run Symfony projects [closed]

I tried for the first time to create a project on the Symfony framework on Ubuntu 18.04 LAMP current version of php 7.4.2. And when the Symfony check: requirements command is called, it constantly produces this error: <pre><span style=”background-color:#CC0000″><font color=”#D3D7CF”>…

Php process crash after trying including UrlMatcher.php cache file [closed]

Currently working on a Symfony project on dev environment running on WAMP. After upgrading from Symfony 3.4 to 4.4, my PHP process started to crash on the require of UrlMatcher.php called by SymfonyComponentRoutingRouter.php. (line 447) : https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/Routing/Router.php This only happen…

API Platform : can’t view api page after installation on a dedicated server [closed]

I’m trying to install API Platform on a dedicated server (from https://www.kimsufi.com/). The server is running Apache, PHP and MySQL. I’ve installed Angular which works well. I’m now trying to install API Platform like a Symfony project by following this:…

Installation failed for installing Apache=pack with composer

I run Symfony 4.4 When I install Apache-pack with powershell and composer like below : composer require symfony/apache-pack The installation failed and it said : Symfony operations: 1 recipe (2a9150161ef91a4c31501a86af2f4e35) – WARNING symfony/apache-pack (>=1.0): From github.com/symfony/recipes-contrib:master The recipe for this…

Symfony 5 @required annotation weird caching issue during setter injection?

I discovered this strange issue in Symfony 5 which I believe is connected to docker and Symfony itself. MY SETUP docker-compose.yml version: ‘3.7’ services: webapp: build: context: ./php/ dockerfile: Dockerfile container_name: webapp image: php:7.4.1-fpm-alpine volumes: – ../:/srv/app apache2: build: network:…

How to redirect old site URL to new Symfony 4 application URL using htaccess file?

I am in the process of migrating a static website to Symfony 4. I would like to redirect the old URLs to their corresponding routes in the new Symfony 4 app (while keeping the same domain name), like so: https://www.old-site-url.com/contact.html…