Trying to install APC

Discussion in 'Site & Server Administration' started by Ruriko, Aug 9, 2011.

  1. #1
    I have ubuntu 10.04 and I used LNMP 0.7 auto installer script. Now I'm trying to install APC. I've followed this tutorial http://www.giocc.com/installing-apc-...y-narwhal.html. I added extension=apc.so to my php.ini and rebooted but I don't see it being enabled. You can check my phpinfo http://205.185.119.35/phpinfo.php why won't it enable APC?

    I noticed I found 2 php.ini files one is located /etc/php5/cli and /usr/local/php/etc. I tried adding extension=apc.so on both of them but still doesn't enable APC
     
    Ruriko, Aug 9, 2011 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Do you get any errors when starting Apache or trying to run something like this from the command line?

    php --version
    Code (markup):
     
    digitalpoint, Aug 9, 2011 IP
  3. Ruriko

    Ruriko Well-Known Member

    Messages:
    4,023
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #3
    I don't use apache. I use nginx and I don't have any errors
     
    Ruriko, Aug 9, 2011 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    I would double check you are using the right .ini file (it will tell you where it is in your phpinfo)... If there was an error with the .so file, it should throw an error. Seems like it's not even trying to load.
     
    digitalpoint, Aug 9, 2011 IP
  5. linc

    linc Member

    Messages:
    355
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    28
    #5
    linc, Aug 11, 2011 IP