Getting php + apc to work with the arch-package

Hi,
I am trying to get APC to work with PHP. And I am wondering if it is really working.
I have installed the archlinux APC and PHP.
Then I uncommented /etc/php/conf.d/apc.ini in so:
extension=apc.so
When i run php_info():
there is actually a new section for APC:
APC Support     enabled
Version     3.0.19
MMAP Support     Enabled
MMAP File Mask     no value
Locking type     pthread mutex Locks
Revision     $Revision: 3.154.2.5 $
Build Date     May 15 2008 19:49:30
but,
when i do: php-cgi -v
PHP 5.2.9 with Suhosin-Patch 0.9.7 (cgi-fcgi) (built: Mar 25 2009 14:59:15)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
shouldn't it print something at the bottom saying something like "with APC ...."
my other consern is if php actually needs to be compiled with support for APC and that is not the case with the php that comes with the
archlinux package? If I do: php-config
I can not see anything about APC.
If I try to benchmark with and without extension=apc.so I don't see any improvements, actually it is some percent slower with apc commented in.
Last edited by jb234 (2009-06-22 11:27:25)

Ok, I think it is working.
The problem was testing with a too small a php-script. The bigger a php-script the more potential for speedup from apc.
Sorry for the confusion.

Similar Messages

  • HT3310 how do i get my headphone to work with the iphone?

    how do i get my headphone to work with the iphone? Are there some settings
    that I need to turn on so I can use my headphone while talking on the phone?

    Are you using the earbuds that came with the iPhone? If you are using other earphones, it's possible that they need an adaptor to work with the iPhone's recessed headphone jack. 

  • Is there an adapter can i get so square will work with the otterbox i have on my iphone

    Is there an adapter can i get so square will work with the otterbox i have on my iphone, I love the otterbox and want to keep it on all the time. not only does it protect my iphone it, it makes it easy for me to hold because I have trouble with my hands. please help

    That's a good question. The main problem with the Square readers is that the plug is designed to send data to devices, rendering most headphone extension cables useless.
    Reading another forum I saw this: http://www.amazon.com/gp/product/B001BN7XSM
    Give that a try. Claims to work perfectly for Square. NOT headphones.

  • How to get online apps to work with the Verizon DSL modem firewall set at "Medium" level, not "Low?"

    How to get online apps to work with the Verizon DSL modem firewall set at “Medium” level? Xbox 360 Live, FTP, and the Windows sntp Time checker native to Windows XP WON’T WORK unless the Verizon firewall is first reset down to “Low.” Then all works well, but I then risk low firewall protection. Setup: · Westell 6100 DSL modem (Software Version: VER:4.04.03.00 Transceiver Revision: 7.2.3.0 Model Name: C90-610015-06), · D-Link DIR-655 wireless router (Hardware Version: A3, Firmware Version: 1.21), For Xbox 360 Live the “canned” port forwarding rule for provided in Verizon’s drop-down list for the Westell 6100 modem forwards ports 88 and 3074 for both TCP and UDP. This does not meet Microsoft’s forwarding recommendations for Xbox 360 Live stated at http://support.microsoft.com/kb/908874. Instead, for the Verizon modem (Westell) I made a new port forwarding rule to comply with those Microsoft instructions. It forwards ports 53, 80 and 3074 for TCP and ports 53, 88 and 3074 for UDP. These same ports are also forwarded in the D-Link router configuration. For FTP, port 21 is also forwarded for TCP and UDP in both modem and router. But they don’t work until I first cripple the Verizon firewall down to “Low.” How to get them to work with the Verizon firewall up to Medium?

    While I do not know the answer to your question, BUT since you have this modem and another router - you could just follow.
    http://www.dslreports.com/faq/13600
    ^^
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • How to get my Addon to work with the license key?

    Hi,
    Can someone tell me how to get the Addon to work with the license key?
    I've follow the steps as stated in this thread:
    [Re: SBO 2005 A - How do I get a Connection string from SAP B1.|Re: SBO 2005 A - How do I get a Connection string from SAP B1.]
    1) i've registered a BASIS key and get a 'BASISXXXXXX" string
    2) then i paste my BASIS key in "Solution" of Add-On Indentifier Generator and generate the  Add-On Indentifier Code
    3) then i paste the string to my source code
    which is the "XXX" of the sample code in that thread.
    static string AddonIdentifierString="XXX";
    int lRetCode=0;
    int errCode=0;
    string errMsg= string.Empty;
    string connectionStr ="";
    link = new SAPbouiCOM.SboGuiApiClass();
    connectionStr =Environment.GetCommandLineArgs().GetValue(1).ToString();
    link.AddonIdentifier=AddonIdentifierString;
    link.Connect(connectionStr);
    oApp = link.GetApplication(-1);
    vCompany = new SAPbobsCOM.CompanyClass();
    string cookie = vCompany.GetContextCookie();
    string conStr = oApp.Company.GetConnectionContext(cookie);
    vCompany.SetSboLoginContext(conStr);
    lRetCode = vCompany.Connect();
    4) then i add my add-on using manager role at Add-on admin
    5) then i can see my add-on there. it not suppose to be there since i've not installed any of my add-on license for my own add-on.
    what steps did i miss? Can someone please advise? Thanks
    ps : i'm coding in VB

    Hi,
    i think you have to change the license file attributing the number of licensing for your addon, then download it from https://websmp202.sap-ag.de/smb and then install it on SAP License manager, then I think you should give the license for your addon for individual users (example manager)
    I hope it helps.
    Best regards

  • Getting an autosuggest Search working with the Hierarchy Viewer

    Hi,
    I recently raised an issue with Oracle Support 3-7934581791 : Hierarchy Search not working in HTMl5 version, this was promoted to being a bug in ADF HV
    Bug 17601664 - NON-FLASH VERSION OF HIERARCHY VIEWER DOES NOT DISPLAY A SEARCH FORM
    So, my question is what other option preferably programmatically to provide the user with an auto suggest list of employees, selecting this list then re-queries the Hierarchy Viewers query and thus providing the user with an updated HV with the selected employee showing. Any help appreciated; Just not I am running the page with flash disabled and therefore the default search form available cant be used due to bug above.

    just note I have reviewed
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/hv/hvSearch.jspx
    This is perfectly fine if running Flash and have this working, but I am tryinto get this to work on an iPad and non Flash enabled browsers.

  • How to get custom graphics to work with the animator object

    I Have a costom graphic that I wish to have change color depending the position of a Pot, and have tried using the animator object. However the animator object fails to change color when the pot is moved, when i replace the costom graphic with a standard one (a pipe) the color changes perfectly. The costom graphic is in wmf format so it should work. what am i doing wrong or is this just not possible?

    Hello,
    That's a little odd. Did you trying playing with the Gray Proximity settings? If it's not too difficult maybe you can create various colored versions of your graphic and use the Multistate object instead.
    Is it possible to post the picture here so we can try?
    Regards,
    Khalid

  • Can't get php mysql to work with DW CC2014

    Even though I opened the WAMP server first and can see my database it will not connect to DW.
    The error is:
    MySQL Error#: 2002
    Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock'2
    Have attempted to follow instructions in Adobe support pages but it doesn't deal with this.
    I am using Windows 8.1 and Internet Explorer.
    All I am trying to do is create a Registration page for now.  If I can connect I then hope to move on to Log In, etc. Please help!

    Yes, I did that first, nowhere does it deal with errors and how to correct them.
    I started over again numerous times following step by step on several YouTube vids trying to see what I might be misconstruing.
    However, I am still stuck and cannot move forward until I can connect. Or can I? I don’t even know that for sure.
    Regards,
    Chris
    Chris Bukovac, CEO Conquering Computers
    8834 E. Jumping Cholla Dr. Gold Canyon, AZ 85118
    Office: 480.474.8037  Mobile: 480.577.4309
    <mailto:[email protected]> [email protected]
    www.conqueringcomputers.com
    "I'll have you conquering computers in no time!"
    <https://www.facebook.com/pages/Conquering-Computers/131230543569597> Click to Like!     <http://www.linkedin.com/profile/edit?goback=%2Enmp_1_1_1_1_1_1_1_1_*1&trk=spm_pic>  LinkedIn   <https://twitter.com/ChrisBukovac1>  Follow us on Twitter!

  • How can I update a Numbers '08 document to work with the current version?

    I've had Numbers '08 for quite awhile (obviously). Have a few spreadsheets in it that I tried as an alternative to Excel. I've now got the most current version of Numbers but it won't open the spreadsheets created in the '08 version. I get an error message telling me to save them with Numbers '09, which I do not have.
    Is there any way to get these updated to work with the current version? If so, that would be great, would like to try it out. If not, I'm just going to copy this stuff into Excel and be done with Numbers entirely.

    This is a work-around - but also send feedback to apple that that is pretty low in the 21st century where people may keep data without opening it for a very long time - then need it desperately.
    http://www.apple.com/feedback/>Apple - Feedback
    Export the spreadsheets to another format - CSV may work - then import into the new version.
    Also you could try export to excel format and import.

  • Can't get out.print to work with XML jsp tags

    <jsp:scriptlet>
    if(ErrorTrap == true) {
         out.println("<tr><td colspan=\"center\" align=\"center\">There was" an error while processing the form</td></tr>");
         ErrorTrap = false;
    </jsp:scriptlet>
    I can't get this script to work with the XML stype jsp tags. It keeps telling me the <jsp> tags are untermintaed. Is there a special trick to fix this or do I have to use the non-XML type tags?

    Sorry, I didn't mean to put the extra " in the out.println text string. :-/

  • Real Player download not working since I updated FF.... It didn't work with the latest version of FF so I reinstalled vrevious FF but still can't get Real Player to work again.

    I lost the Real Player download capabillity when FF updated to FF4..... The plug ins for Real Player still show on the add on screen but no " download this video" shows when I mouse over a video.... I tried reverting to earlier version of FF which had worked well for Real Player donloads but it no longer works either.
    How can I get Real Player to work with FF again?

    Many thanks b Noir
    This is a copy of ONEof the keys  in the registry I changed  as told by Apple support today. I also have changed others as instructed by GEAR  software support to manually delete GEAR drivers (that I had installed but couldn't delete some of the others  they mentioned from Windows system 32. Then some bright spark at work told me I need the Gear drivers so  I downloaded the software and installed again.
    Sorry, just this minute went to insert image  and it is giving me a message saying this sort of content  is not allowed?.
    The most recent key I altered is in: HKey _local _machine. System\class - 4D36E965-E325-11CEBFC1-08002BE10318. Upper Filter data: Upper filter NTIDrvr  SiRem GEARAspiWDN.
    The GEARsoftware info about manually deleting  GEAR drive is from:
    http://www.gearsoftware.com/wiki/index.php?title=DRIVERS:_Windows_-_Updating%2C_ removing%2C_64_bit_versions%2C_etc
    I hope you can help

  • I'm a software tester for an in-house app at my company. version 10.0.2 is not cmopatible with some controls within our software. I need the v9.0.1 download which I know works with the controls. Where can I get it?

    I'm a software tester for an in-house app at my company. version 10.0.2 is not cmopatible with some controls within our software. I need the v9.0.1 download which I know works with the controls. Where can I get it?

    Well, if you need old versions of firefox you can find them on this site:
    - http://www.oldapps.com/firefox.php
    Best regards, G-Cloud.

  • I followed all the directions to get Norton 360 to work with Firefox 8, but nothing works. I love Firefox, but if my Norton 360 won't work with it I'll be stuck with IE, which I do not like. Please Help Me!

    I followed all the directions to get Firefox 8 to work with my Norton 360, but nothing has worked. Is there anything else I can do? I didn't know there was an issue when I first upgraded to Firefox 8 so didn't choose the Norton plug ins immediately so I uninstalled Firefox hoping to be able to do it correctly when I Downloaded it again. Unfortunately it didn't ask me any thing regarding Norton so I went to Plug ins as directed to Enable Norton 360's plug ins, but none were listed.
    What can I do now? I LOVE Firefox! If we can't make it work I'll be stuck with Internet Explorer which I do not care for at all!
    I need to have Norton Security to protect my computer. Please help me find a solution to this problem ASAP.
    Thank you,
    Susan L Woods
    [email protected]

    Hi Susie, I use Norton 360 and have the latest Firefox 8 installed is working fine for me. Firefox 8 support for [http://community.norton.com/t5/Norton-360/Firefox-8-Support-for-Norton-Toolbar/td-p/581640 Norton Toolbar] was released on Nov 8th. Install the appropriate add-ons based on the version of Norton 360 you're using (see official Norton link above). Hope this helps.

  • I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the Component and Audio ports on my TV?

    I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the MacBook Pro and connected to the TVs Component and Audio in ports.

    Will not work.  To my knowledge, dual converting like that isn't supported.  The Mac must detect the connected video output device and that sort of info cannot be done across an analog component uni-directional connection.

  • I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server

    I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server

    I may be way out, but do you know about this product, would it help integrate the Macs for you.
    https://www.thursby.com/sites/default/files/images/ADmitMacv8_SPD.pdf

Maybe you are looking for

  • Problem while mining archivelog in Logical Standby Database

    I have configure Data Guard with one Primary database, one physical standby and one logical standby database; redo are applied correcly on the physical standby database but on the logical standby database when logminer begin mining logfile it encount

  • New 3G - yellow-tinted screen...

    My wife and I just bought two new 3G's (after having owned the original iPhone for 8 months). The first thing I noticed after powering my 16GB 3G up was a very noticeable yellow-tint on the display. After searching the internet I realized that this w

  • Where can i get an apps to install photoshop 5.5 on windows 8

    anyone know where to get this apps thanks

  • MBP 2008 is running very sluggish

    It seems every day I am having to restart my MBP at least 2 times a day. I am a web designer so I am running Dreamweaver and Photoshop daily. I have upgraded my ram and it still runs this way. Here are the spec. Processor - 2.6GHz incore 2 Duo Memory

  • FBL3N & F-03

    Hi All When I query fbl3n for GL :XXX (Intercompany-Accruals) if gives me list of document types AC & SA as open items. But I try to clear them in f-03 few documents are missing here. I am not sure why the few documents are missing here. Any ideas on