Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

302
Views
¿Cómo instalar el controlador pdo_mysql en OSX Catalina?

Cuando ejecuté un script que usa PDO, recibí un error de la consola:

 Can't connect to database: could not find driver

Después de lo cual leí que necesito descomentar la línea con pdo_mysql en php.ini. Desafortunadamente, esto llevó a que me apareciera el siguiente error:

 Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql'

PHP configurado a través de brew install php@7.2

Traté de instalar a través de pecl, pero produce:

 running: make INSTALL_ROOT="/private/tmp/pear/temp/pear-build-artemsokoloviZ2ILB/install- PDO-1.0.3" install Installing shared extensions: /private/tmp/pear/temp/pear-build-artemsokoloviZ2ILB/install-PDO-1.0.3/usr/local/Cellar/php@7.2/7.2.31_1/pecl/20170718/ cp: modules/*: No such file or directory make: *** [install-modules] Error 1 ERROR: `make INSTALL_ROOT="/private/tmp/pear/temp/pear-build-artemsokoloviZ2ILB/install-PDO-1.0.3" install' failed
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!