1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Is pdo and pdo_mysql support in Plesk?

Discussion in 'Plesk 9.x for Windows Issue, Fixes, How-To' started by Helen Pang, Sep 13, 2010.

  1. Helen Pang

    Helen Pang Basic Pleskian

    18
    85%
    Joined:
    Jun 23, 2010
    Messages:
    55
    Likes Received:
    0
    Hi,

    I have a customer who request to enable pdo and pdo_mysql, may i know is it support in Plesk Windows 9.5? How do I enable it?

    Please advice.

    Thanks.
     
  2. Helen Pang

    Helen Pang Basic Pleskian

    18
    85%
    Joined:
    Jun 23, 2010
    Messages:
    55
    Likes Received:
    0
    I found the php_pdo_mysql.dll in the plesk server, may I know how do we enable it? Currently, there's only sqllite under the pdo section in phpinfo().

    Please advice.

    thanks.
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,556
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    I think that you should add something like

    to your php.ini file.
     
  4. Helen Pang

    Helen Pang Basic Pleskian

    18
    85%
    Joined:
    Jun 23, 2010
    Messages:
    55
    Likes Received:
    0
    Hi,

    I saw in C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini, is it below:

    ;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;
    ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;
    ; extension=modulename.extension
    ;
    ; For example, on Windows:
    ;
    ; extension=msql.dll
    ;
    ; ... or under UNIX:
    ;
    ; extension=msql.so
    ;
    ; Note that it should be the name of the module only; no directory information
    ; needs to go here. Specify the location of the extension with the
    ; extension_dir directive above.


    ; Windows Extensions
    ; Note that ODBC support is built in, so no dll is needed for it.
    ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ; extension folders as well as the separate PECL DLL download (PHP 5).
    ; Be sure to appropriately set the extension_dir directive.

    ;extension=php_bz2.dll
    extension=php_curl.dll
    ;extension=php_dba.dll
    ;extension=php_dbase.dll
    ;extension=php_exif.dll
    ;extension=php_fdf.dll
    extension=php_gd2.dll
    extension=php_gettext.dll
    ;extension=php_gmp.dll
    ;extension=php_ifx.dll
    extension=php_imap.dll
    ;extension=php_interbase.dll
    ;extension=php_ldap.dll
    extension=php_mbstring.dll
    ;extension=php_mcrypt.dll
    ;extension=php_mhash.dll
    ;extension=php_mime_magic.dll
    ;extension=php_ming.dll
    ;extension=php_msql.dll
    extension=php_mssql.dll
    extension=php_mysql.dll
    ;extension=php_mysqli.dll
    ;extension=php_oci8.dll
    ;extension=php_openssl.dll
    extension=php_pdo.dll
    ;extension=php_pdo_firebird.dll
    ;extension=php_pdo_mssql.dll
    ;extension=php_pdo_mysql.dll
    ;extension=php_pdo_oci.dll
    ;extension=php_pdo_oci8.dll
    ;extension=php_pdo_odbc.dll
    ;extension=php_pdo_pgsql.dll
    extension=php_pdo_sqlite.dll
    ;extension=php_pgsql.dll
    ;extension=php_pspell.dll
    ;extension=php_shmop.dll
    ;extension=php_snmp.dll
    ;extension=php_soap.dll
    extension=php_sockets.dll
    extension=php_sqlite.dll
    ;extension=php_sybase_ct.dll
    ;extension=php_tidy.dll
    ;extension=php_xmlrpc.dll
    extension=php_xsl.dll
    upload_tmp_dir= "C:\Windows\Temp"
    ;extension=php_zip.dll

    Thanks.
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,556
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    As you can see extention php_pdo_mysql.dll is commented by ; symbol. For enabling just uncomment it.
     
Loading...