Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    195

    Default PDO Side effects?

    Im wondering I have some things turned off like:

    The PDO extension in PHP, pdo_mysql, etc.

    Most scripts use PHP and MySQL extension so no problem at all until i came up with 1 little devil taht requires php with PDO and pdo_mysql

    My question is, is there any side effect on a production server if i recompile apache with those extensiones turned on?

    Do they run in parallel to the way php and mysql runs now or will it break the whole scripts running and send the server to hell?

    Basically what i mean is, i have the resources on the server to run it but do they run in parallel or they change/reconfigure the whole way php and mysql works?

    Thanks for the community. Wonder what the side effects are.

    About that app, well is EGroupware, and I hate it...

  2. #2
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    Hi,

    We've been running pdo extension for around two year (or so) and had no issues with it.
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    121

    Default

    Hello,

    We can second that. No problems here at all.

  4. #4
    Member
    Join Date
    Mar 2008
    Posts
    195

    Default

    I actually did not meant PDO itself but running it in parallel with extension PHP on the same server.

  5. #5
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    If this helps we are running

    In the configure for php
    pdo=shared
    --with-pdo-mysql=shared
    --with-pdo-sqlite=shared

    Modules:

    PDO
    PDO support enabled
    PDO drivers sqlite, sqlite2, mysql


    pdo_mysql
    PDO Driver for MySQL, client library version 5.0.67


    pdo_sqlite
    PDO Driver for SQLite 3.x enabled
    PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
    SQLite Library 3.3.7

    No problems, hope that helps.
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  6. #6
    Member
    Join Date
    Mar 2008
    Posts
    195

    Default

    Ok, will try it then.

  7. #7
    Member
    Join Date
    Jun 2004
    Posts
    32

    Default

    Same problems.

    I have been looking for more information about PDO.

    On EA3 is written this:

    (UNSUPPORTED EXPERIMENTAL) Includes SQLite support. Other drivers (freetds, oracle, etc) can be installed with PECL. If you use rawopts to add them during compile then you will have to have them '=shared' and *NOT* do the PHP "versioning" option. Custom opt mods for PDO extensions should also do the "versioning" logic this one does.

    This means that can be dangerous to put in a production enviroment.
    I found also helpfull articles that say it's an alpha (or a beta), do not put in prodution enviroment.

    After I while I realised that all the articles are OLD, that PDO in stable since 2006, and maybe also the written on EA3 is an old warning never removed.

    If there is any Cpanel Admin, can please check this out?

    If all the problems are removed, then I can install for my littles devils

  8. #8
    Member
    Join Date
    Jan 2006
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    We have on two servers PHP compiled with PDO support but it looks like it is not working...

    in configure there are following options...

    --enable-pdo=shared
    --with-pdo-mysql=shared
    --with-pdo-sqlite=shared

    ...but that's it, there are no PDO modules, driver versions etc shown in phpinfo...

    What can be the reason for this?

  9. #9
    Member
    Join Date
    Jan 2006
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I noticed that extensions are not loaded in php.ini...

    This is missing...

    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"

    Why? I have this on one server and EasyApache added that, but why is that not added on other two servers???

    Can someone please explain this?

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by dexus View Post
    I noticed that extensions are not loaded in php.ini...

    This is missing...

    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"

    Why? I have this on one server and EasyApache added that, but why is that not added on other two servers???

    Can someone please explain this?
    I recommend having our technical analysts take a look at your servers to diagnose the cause for these issues: http://tickets.cPanel.net/submit

Similar Threads & Tags
Similar threads

  1. --with-pdo-mysql=shared or --with-pdo-mysql=/usr
    By internetfab in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-14-2007, 09:01 AM
  2. php4 and 5 side by side
    By x2o in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 10-06-2006, 07:45 PM
  3. running j2se 1.4.2 and 1.5 side by side???
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-09-2006, 05:27 PM
  4. mod_perl and mod_php, can they run side-by-side?!
    By irchs in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-01-2004, 06:44 AM
  5. phpsuexec after effects
    By anand in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-01-2003, 06:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube