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

Plesk 10.3 & APC

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Michael Goeller, Sep 21, 2011.

  1. Michael Goeller

    Michael Goeller New Pleskian

    15
    85%
    Joined:
    Sep 1, 2010
    Messages:
    7
    Likes Received:
    0
    How do I get APC running? I simply can't get it to work.

    Code:
    # pecl install apc
    downloading APC-3.1.9.tgz ...
    Starting to download APC-3.1.9.tgz (155,540 bytes)
    ..........................done: 155,540 bytes
    running: phpize
    sh: phpize: command not found
    ERROR: `phpize' failed
    Ok, this seems that php-devel isn't installed so we install that!
    But you know what happens not, due to

    Code:
    --> Finished Dependency Resolution
    php53-sqlite2-5.3.2-11041315.i386 from installed has depsolving problems
      --> Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11041315.i386 (installed)
    Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11041315.i386 (installed)
    I do not know where to go on from here, so I tried a different approach

    and did a
    Code:
    # install yum php-pecl-apc
    [...]
    Installed:
      php-pecl-apc.i386 0:3.1.9-2.el5.art
    
    Complete!
    The installation created the file /etc/php.d/apc.ini with all settings ...
    Code:
    [22-Sep-2011 06:49:46] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/apc.so' - /usr/lib/php/modules/apc.so: undefined symbol: php_pcre_exec in Unknown on line 0
    I also have no clue how to fix this, uninstalling php-prce would also remove psa, etc ... so I am not sure of that is the best option :D

    Does anyone have a solution for this?
     
  2. Michael Goeller

    Michael Goeller New Pleskian

    15
    85%
    Joined:
    Sep 1, 2010
    Messages:
    7
    Likes Received:
    0
    I reinstalled my server today and Plesk. But still can't seem to get it running.

    Since I have a fresh install now, any advice on how to set up APC properly? Thanks.
     
  3. Michael Goeller

    Michael Goeller New Pleskian

    15
    85%
    Joined:
    Sep 1, 2010
    Messages:
    7
    Likes Received:
    0
    I got APC installed now, but I am running into problems with APC enabled

    To install I did:

    Code:
    yum install php-pear httpd-devel pcre-devel
    pecl install apc
    then edited /etc/php.d/apc.ini

    and restarted apache ...

    after the restart I ran into problems, horde for example displays only a blank page under https://webmail.
    and my caching tool complains that suddenly

    When I comment apc.ini out everything works fine, any suggestions?
     
  4. Michael Goeller

    Michael Goeller New Pleskian

    15
    85%
    Joined:
    Sep 1, 2010
    Messages:
    7
    Likes Received:
    0
    by trial and error I found "apc.include_once_override = 1" to be the culprit

    In case anyone if looking for a complete list:

    Installing APC on a Fresh Centos 5 & Plesk 10.3

    Code:
    yum install php-pear httpd-devel pcre-devel
    pecl install apc
    edit/create /etc/php.d/apc.ini
    Code:
    /etc/init.d/httpd restart
    hope that helps someone who was having the same issue

    Michael
     
  5. MikeK04

    MikeK04 New Pleskian

    12
    60%
    Joined:
    Feb 6, 2012
    Messages:
    4
    Likes Received:
    0
    Location:
    UK
    Brilliant!

    I have been searching for this for a day or so, worked straight away, only me checking took the time.

    Thanks very much!
     
  6. AdamBlansett

    AdamBlansett Guest

    0
     
    This worked for me.

    http://drupal.org/node/1116054

    I took the that this gave and it worked and Plesk is still in tacked.


     
Loading...