1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

APC Upgrade?

Discussion in 'Off Topic' started by kuyenmotdivad, Dec 10, 2010.

  1. kuyenmotdivad

    kuyenmotdivad Active Member

    Hi,

    I tried to upgrade APC using Putty and I get this, did it upgrade right?

    apc.jpg
     
  2. Jason

    Jason Well-Known Member

    In short, no. The configure script didn't even finish running.

    It looks like /var/tmp was mounted with the 'noexec' option. As a kludge, you can remount it with the 'exec' option, perform the upgrade, and then change it back to 'noexec' once done.
     
  3. kuyenmotdivad

    kuyenmotdivad Active Member

    Dont know what i'm doing....:confused:

    How would I do that exec then upgrade then noexec?
     
  4. Jason

    Jason Well-Known Member

    Assuming that is the problem, in your case, you can change it by using:

    mount -o,remount,rw,exec /var/tmp

    and to change it back, once done with the install:

    mount -o,remount,rw,noexec /var/tmp
     
    Blandt likes this.
  5. kuyenmotdivad

    kuyenmotdivad Active Member

    I get this when typing that in.

    mount: can't find /root/tmp in /etc/fstab or /etc/mtab
     
  6. kuyenmotdivad

    kuyenmotdivad Active Member

    got it working when it asked these 2 questions what should I pick, no to them both?

    Enable per request file info about files used fromt he APC cache?
    Enable spin locks [EXPERIMENTAL]?
     
  7. Jason

    Jason Well-Known Member

    Personally, I would answer no to both of them.
     
  8. kuyenmotdivad

    kuyenmotdivad Active Member

    Thanks a lot its upgraded, one last thing at the bottom after its upgraded it says this.... How do I run the make test?

    Build complete.
    Don't forget to run 'make test'.
     
  9. Blandt

    Blandt Well-Known Member

    restart apache ... and look at your info.php .. good job :)
     
  10. kuyenmotdivad

    kuyenmotdivad Active Member

  11. Blandt

    Blandt Well-Known Member

  12. kuyenmotdivad

    kuyenmotdivad Active Member

    ok any idea about that on post 8 with the 'make test'
     
  13. Blandt

    Blandt Well-Known Member

    You do not need to worry about it :) all is up to date
     
    Darkimmortal likes this.
  14. kuyenmotdivad

    kuyenmotdivad Active Member

    Thanks guys for your help.
     
  15. kuyenmotdivad

    kuyenmotdivad Active Member

    These two questions it asks on upgrading how can I tell what I picked as I cant remember if I put yes or no?

    Enable per request file info about files used fromt he APC cache?
    Enable spin locks [EXPERIMENTAL]?
     
  16. SilverCircle

    SilverCircle Well-Known Member

    Generally, the safest way is to stick with the default settings provided by the configure script.

    Features marked as EXPERIMENTAL should normally not be enabled in a production environment unless you exactly know what you are doing and are aware of possible consequences.

    To figure out which configuration options were set execute a phpinfo();. Scroll down to the APC section and check what Locking type tells you. By default it is something like thread / mutex locks and if it doesn't mention the spin locks, they are most likely not enabled.

    Note that this is from memory - cannot verify this on a live server at the moment since I prefer eAccelerator over APC.
     
    Jason likes this.
  17. kuyenmotdivad

    kuyenmotdivad Active Member

    it shows this | Locking type : pthread mutex Locks
     

Share This Page