Results 1 to 2 of 2

Thread: Apache/PHP doesnt work when pdo is enabled

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    97

    Default Apache/PHP doesnt work when pdo is enabled

    Hello, first time I have come across this problem.

    I just setup a VPS and install the latest cPanel on it (WHM 11.32.3 (build 21)).

    I went through easyapache as usual, chose Apache 2.2.22 & php 5.3.13 along with some extensions, pdo and pdo_mysql.

    When the easyapache finishes I cannot choose a handler, it just says 'none'. Anyway, I save the config, open up php.ini and disable extension=pdo.so. Everything works then, I can choose a handler and apache works fine.

    Any idea why this is happening?

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Apache/PHP doesnt work when pdo is enabled

    Hello,

    Please go to WHM > Tweak Settings > Max cPanel Process Memory and increase it to 1024 MB instead of 512 (or 256 if you had it that low). Save the area, then see if you can select the PHP handler in WHM > Apache Configuration > PHP and SuExec Configuration area. You should be able to at that point.

    This happens because some PHP modules take more memory to load when that page loads (or that appears to be the case). Only some systems appear to experience this issue, but we have an internal case (56329) about better error detection to allow customers to know that memory is the issue for the handler being blank.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Apache mod_userdir Tweak doesnt work for single site
    By rajguru in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-24-2010, 12:00 AM
  2. php doesnt work after apache upgraded to ver 2
    By mehrdad abed in forum New User Questions
    Replies: 7
    Last Post: 06-03-2007, 09:30 AM
  3. postmaster wont work and bash_history doesnt work either
    By darklord1 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 09-03-2006, 12:41 PM
  4. PHP doesnt work
    By CGarson in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 09-29-2002, 02:54 PM
  5. Mailman doesnt work after SuEXEC is enabled??
    By Ken in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-25-2002, 09:40 PM

Tags for this Thread