logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: After I enable APC pages do not load
Author
ar099968



Joined: 20 Nov 2013
Posts: 2
Location: Italy

PostPosted: Wed 20 Nov '13 11:14    Post subject: After I enable APC pages do not load Reply with quote

I have installed APC on our Windows server. After I enable APC and restart apache our pages do not load. They timeout and I just get connection was reset on browser or automatic stopping apache service.

Code:

System              Windows NT 6.1 build 7601 (Windows Server 2008 R2 Web Server Edition Service Pack 1) i586
Architecture        x86
Server API          Apache 2.4 Handler Apache Lounge
Thread Safety       enabled
PHP Extension Build API20100525,TS,VC9


Apache Version      Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4
Virtual Server      Yes


APC Runtime Settings (php.ini)
Code:

extension=php_apc_319_php54_vc9_win7-2008.dll

[APC]
; Enable/disable APC
apc.enabled = 1

; PHP file cache 1 hour
apc.ttl=3600

; User cache 2 hour
apc.user_ttl=7200

; Garbage collection 1 hour
apc.gc_ttl=3600

; Setting this to 0 will give you the best performance, as APC will
; not have to check the IO for changes.
apc.stat=1



download the APC precompiled binary version from http://dev.freshsite.pl/php-accelerators/apc.html

I also checked php error log and I do not see anything there. Any help is greatly appreciated, thanks in advance.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Wed 20 Nov '13 14:32    Post subject: Reply with quote

Try the official PHP builds:
http://windows.php.net/downloads/pecl/releases/apc/3.1.13/

BTW: 3.14 was removed, because it had flaws.
Back to top
ar099968



Joined: 20 Nov 2013
Posts: 2
Location: Italy

PostPosted: Thu 21 Nov '13 16:01    Post subject: Reply with quote

Throwing Lots of PHP Notices

Code:

Notice: Unknown: 1. h->opened_path=[null] h->filename=[xxxx] in Unknown on line 0

Notice: Unknown: apc_cache_find [-1302308902] in Unknown on line 0

Notice: Unknown: 2. h->opened_path=[xxx] h->filename=[xxx] in Unknown on line 0

Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [xxxx] in Unknown on line 0

Notice: Unknown: Inserting [xxxx] in Unknown on line 0

Notice: require_once(): 1. h->opened_path=[xxx] h->filename=[xxx] in xxxx on line 2

Notice: require_once(): apc_cache_find [-1302314147] in xxx line 2

Notice: require_once(): 2. h->opened_path=[xxxx] in xxx on line 2

Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [xxxx] in xxx on line 2

Notice: require_once(): Inserting [xxx] in xxx on line 2


Try this
http://windows.php.net/downloads/pecl/releases/apc/3.1.13/php_apc-3.1.13-5.4-ts-vc9-x86.zip
Back to top


Reply to topic   Topic: After I enable APC pages do not load View previous topic :: View next topic
Post new topic   Forum Index -> Other Software