0 down vote favorite
share [g+] share [fb] share [tw]
I am new to Drupal and so please bear with me if my question is naive.
I am trying to create a site on Drupal7 and am getting the following popup error when I am starting Apache HTTP Server 2.2
PHP Startup: PDO: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match
This error has started showing up after I have copied the two required PDO related files into the extension directory:
php_pdo_mysql.dll
php_pdo.dll
I think they are not of the correct version.
Please suggest how I can identify the correct version of the dll files to be put and also the location from where I can download them.
Regards, Bonson
Comments
This sounds like a php
This sounds like a php misconfiguration, rather than a drupal installation issue. Are you sure your .dll files are placed in the correct directory and being loaded in your php.ini file. Can you check with
<?php phpinfo() ?>what ini files and extensions are loading?- - turpana.com - -
php_pdo issue
Hello,
The two files are mentioned in the php.ini file as:
extension=php_pdo.dll
extension=php_pdo_mysql.dll
Also in the php file, the extension directory is mentioned as
extension_dir = "D:\php\ext"
and the files are placed in the D:\php\ext folder
The phpinfo page is not getting opened as Apache gives the error mentioned earlier and crashes out as soon as it tries to load the .dll files
Please let me know if I am missing something.
Regards,
Bonson Mampilli
php_pdo issue
Hello All,
The issue got fixed. I got the correct version of the pdo files.
It works now.
Regards,
Bonson Mampilli