Re: using php apc functions
| From: | Pierre Joye | Date: | Wed, 05 May 2010 07:41:42 +0000 |
| Subject: | Re: using php apc functions | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30074@lists.php.net to get a copy of this message | ||
hi,
Did you restart apache? Are you sure you edited the correct php.ini?
You can verify it using a simple phpinfo(); page.
Cheers,
--
Pierre
On Wed, May 5, 2010 at 8:30 AM, Alexander Schunk <aschunk@gmail.com> wrote:
> Hello,
>
> i want to use the php APC Functions.
>
> I am using xampp server and latest php.
>
> The Windows dll for APC is in the extensions directory and the
> extension is configured in the php.ini.
>
> However, i still get an error that php does not find the fuction apc_add:
>
> $myvar = 'hell world';
> $stored = apc_add('myvar',$myvar);
>
> if($stored){
> echo 'Variable wurde gecached';
>
> }
> else{
> echo 'Variable wurde nicht gecached';
> }
>
> Thank you
> Alexander
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org