Home  >  Article  >  Backend Development  >  Solution to PDO drivers no value encountered during PHP debugging

Solution to PDO drivers no value encountered during PHP debugging

autoload
autoloadOriginal
2021-03-15 10:52:294232browse

The following problem occurs:

Solution to PDO drivers no value encountered during PHP debugging

First confirm whether the corresponding pdo extension module is turned on. If it still doesn't work if it is turned on, continue with the method below.

Method 1:

Step one: Open the installation path of php:

If you already know your installation path, please jump directly to Step two.

a. Create a new php file and write the following code:

<?php
   phpinfo();
?>

b. Open the browser and visit the page, you will get the following picture:

Solution to PDO drivers no value encountered during PHP debugging

c. Copy your path, and then open the path.

Step 2: Modify the configuration

Solution to PDO drivers no value encountered during PHP debugging

The path is in the same directory as php.in ext folder, remember to restart after modification.

Method 2: Change the integrated environment directly, PHPStudy (Xiaopi) V8.1

Recommendation: php video tutorial php tutorial

The above is the detailed content of Solution to PDO drivers no value encountered during PHP debugging. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn