0

I have a problem. I did a very simple code just for trying Symfony and it dont works. I know there are so many similar posts but i didnt found my same case. This is the php:

<?php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
class DavidPalacin
{
    public function Gimenez()
    {
        return new Response('Funciona');
    }
}

And this is the routes.yaml:

index:
  path: /
  controller: App\Controller\DavidPalacinController::Gimenez

So, as u see, is very simple, but when i execute thats what are happening me: first error

And these are all the errors in general that appears: All errors

I can read something about "pdo" but i dont know what it means...

By the way. If it can help this is my "php -m":php -m And my php version is 8.0.3

gp_sflover
  • 3,460
  • 5
  • 38
  • 48

0 Answers0