Installing APC on CentOS

Discussion in 'Site & Server Administration' started by winker, Apr 9, 2012.

  1. #1
    Anyone know why I get this in my error log after installing APC

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

    The apc.so file is located there but I just keep getting this error.
     
    winker, Apr 9, 2012 IP
  2. tiffanywilliams12i2

    tiffanywilliams12i2 Peon

    Messages:
    164
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    double check the loctation and the entry in php.ini and make sure you using right one
     
    tiffanywilliams12i2, Apr 9, 2012 IP
  3. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #3
    Hello there,

    Did you make sure you compiled it correctly? How did you install APC? What version of PHP do you have installed?

    Regards,
    Chris
     
    RHS-Chris, Apr 9, 2012 IP
  4. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #4
    I have this problem also, CentOS 5.7 final.
    Any complete tut's ?
     
    nadlerz, Apr 11, 2012 IP
  5. winker

    winker Well-Known Member

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    I have tried installing via command line and also via WHM following several online tutorials. But always end up with the same error in my error_log.

    PHP 5.2.9
     
    winker, Apr 11, 2012 IP
  6. nadlerz

    nadlerz Well-Known Member

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    188
    #6

    Same here :(
     
    nadlerz, Apr 12, 2012 IP