Share » Forums » Install & configuration » Cronjobs kills Apache

Cronjobs kills Apache

Cronjobs kills Apache

Saturday 30 April 2011 5:22:01 am - 4 replies

Modified on Sunday 01 May 2011 5:20:39 am by Falkmar Fischer

Author Message

André R.

Sunday 01 May 2011 2:19:12 am

Seem like you have issues with APC, the php accelerator, try disabling it in your php.ini settings or if there is a controll panel for xampp, do it there. If that fixes it, try getting a more stable version of APC from the xampp project (either upgrade or downgrade).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Falkmar Fischer

Sunday 01 May 2011 5:18:47 am

Thanks Andre,
No idea, how I install the latest stable version of the PECL in XAMPP. Xampp 1.7.4 I've tried. There was too many problems.
Without APC, I have no problems (yet;-)). Thanks again, the cronjobs does working .
For all other below the parts of the PHP info and php.ini

APC-Info aus phpinfo.php

Version     3.1.3p1
MMAP Support     Disabled
Locking type     File Locks
Revision     $Revision: 289940 $
Build Date     Dec 13 2009 15:27:59

[PECL] aus php.ini

;APC switch off, becouse Problems with cronjobs
;extension=php_apc.dll
;    extension=php_dbase.dll
;    extension=php_fbsql.dll
extension=php_ming.dll
;    extension=php_msql.dll
extension=php_pdflib.dll
;    extension=php_pdo_oci.dll
;    extension=php_rar.dll

webshop - extension searched

Gaetano Giunta

Monday 02 May 2011 2:39:12 am

Note: you are usually better served using 2 separate php.ini file: one for the web version and one for the cli version. This way you can usually enable the opcode cache such as APC for Apache and not for the cli version.

When running php on the cli, use the "-c" to specify an alternative ini file.

Principal Consultant International Business
Member of the Community Project Board

Falkmar Fischer

Monday 02 May 2011 3:22:28 pm

Yesterday I read after Andres tip through the Internet. An interesting journey. Xampp is 1.7.3 with PHP 5.3.3 and APC 3.1.3p1. This package seems APC Official suitable only for PHP 5.1 and 5.2. The problems with PHP 5.3 I can confirm. The dynamic web pages within one hour sleep (alone in the development).

Since I do not get any further with ACP under Xampp I was looking for alternatives on Windows. I have found only WinCache (with additional installation platform) and eAccelerator. For research on the problems with eAcceletor I then met with memcached.

win32 binary

http://code.jellycan.com/memcached/

php_memcache.dll = php_memcache-cvs-20090703-5.3-VC6-x86.zip

http://code.google.com/p/thinkam/downloads/list?can=2&q=memcache

The caching works. An accelerator for a local testing environment is memcached not really . But I have been too many problems with my page and can not real say, what is fact.

The idea with two php.inis is interesting, because eZ does memcached not recognize. Thanks for this tip.

webshop - extension searched

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu