[Piwik-trac] [Piwik] #260: Error on Installation > Step 2

Piwik trac at piwik.org
Wed Jun 25 12:22:24 CEST 2008


#260: Error on Installation > Step 2
--------------------+-------------------------------------------------------
 Reporter:  joelji  |        Type:  Bug  
   Status:  new     |    Priority:  major
Milestone:          |   Component:  Core 
  Version:          |    Keywords:       
--------------------+-------------------------------------------------------
 I get the error "You need to enable the PDO and PDO_MYSQL extensions in
 your php.ini file." followed by "Uncaught exception: 'Translation string
 'Installation_SystemCheckPdoErrorHelp' not available.'
 " while installing piwik in the server.

 I used "php-5.2.6-win32-installer.msi" for installing php and
 "mysql-5.0.45-win32.zip" for installing mySql. Both installed properly.

 I've made sure that php extensions are installed and i could find
 'php_pdo.dll' and 'php_pdo_mysql.dll' in the "C:\Program Files\PHP\ext"

 extension_dir ="C:\Program Files\PHP\ext" is also set correctly.

 the modules are mentioned in php.ini file as following:
 ===CODE===
 .
 .
 .
 ; If you wish to have an extension loaded automatically, use the following
 ; syntax:
 ;
 ;   extension=modulename.extension
 ;
 extension=php_pdo.dll
 extension=php_pdo_mysql.dll
 ;
 ;
 ; For example, on Windows:
 ;
 ;   extension=msql.dll
 ;
 ; ...
 ===CODE===

 I've even reset the IIS by running 'iisreset' command after modifying
 these.

 Not sure whether the default mysql user/password has to be set as "sa"
 "sa" which i mentioned while installing mysql. Still mentioned in php.ini
 as following:

 ===CODE===
 mysql.default_user = sa
 .
 .
 .
 mysql.default_password = sa
 ===CODE===

 Earlier before these final steps of modifying php.ini. I got error in both
 'Pdo extension' and 'Pdo_Mysql extension' but after resetting IIS I got a
 checkmark in 'Pdo extension' but same error in 'Pdo_Mysql extension'. The
 error screenshot is attached. BTW this is installed in a windows 2003
 server enterprise with SP2.

-- 
Ticket URL: <http://dev.piwik.org/trac/ticket/260>
Piwik <http://piwik.org>
Piwik, open source web analytics software


More information about the Piwik-trac mailing list