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: Turned on JIT and get crashes in php5ts.dll Page Previous  1, 2
Author
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Thu 19 Dec '13 8:09    Post subject: Reply with quote

After cleaning up PHP and Apache's directories server ran overnight without crashes. Gonna try the same with fcgid. If it works - then issues was with clutter in directories.
Back to top
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Thu 19 Dec '13 15:41    Post subject: Reply with quote

Indeed, seems like there were some libraries from older releases, that were messing up with the server. fcgid works fine as well.

BTW, what's the best solution in terms of performance: mod_fcgid or mod_php + APCu? I could not find any comparison in Google. There are general comparisons between fcgid and mod_php, but without the use of APCu (or any other accelerator). AI also can't find how to use APC with mod_fcgid as well, although some articles mentioned, that it's possible.
Back to top
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Wed 25 Dec '13 21:45    Post subject: Reply with quote

After some time it started again, even though I did not update neither PHP nor Apache and did not change any of their settings... Can this be due to high load on the server?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7398
Location: EU, Germany, Next to Hamburg

PostPosted: Tue 31 Dec '13 11:57    Post subject: Reply with quote

I did not see any difference in performance from mod_php vs mod_fcgid with PHP. By the way: There is no more APC. Parts of it have been merged into PHP 5.5 called OPCache. And it works fine with mod_php and mod_fcgid.
Back to top
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Tue 31 Dec '13 12:02    Post subject: Reply with quote

there is APCu and it does not work with CGI mode.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7398
Location: EU, Germany, Next to Hamburg

PostPosted: Tue 31 Dec '13 12:08    Post subject: Reply with quote

Simbiat wrote:
there is APCu and it does not work with CGI mode.


Indeed! But lucky for you fcgid IS NOT plain cgi. Else OPCache won't work either. So I think the chance that APCu works under fcgid is very very high.
Back to top
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Tue 31 Dec '13 14:55    Post subject: Reply with quote

it does not. in case of CGI I get error message, that APC is disabled.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7398
Location: EU, Germany, Next to Hamburg

PostPosted: Wed 01 Jan '14 12:13    Post subject: Reply with quote

Are you sure you load the correct php.ini ? Or just default settings?
Back to top
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Wed 01 Jan '14 12:20    Post subject: Reply with quote

of course I'm sure (= I have it enabled, after all... It's just that it's shown as disabled in case of CGI...
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7398
Location: EU, Germany, Next to Hamburg

PostPosted: Thu 02 Jan '14 15:53    Post subject: Reply with quote

it runs with fcgid here a snip from my config

Code:

extension=php_xsl.dll
;extension=php_zip.dll
zend_extension=php_opcache.dll
extension=php_apcu.dll

[apc]
apc.enabled=1
apc.shm_size=128M
apc.ttl=7200
apc.enable_cli=1
Back to top
SimbiatX



Joined: 22 Feb 2013
Posts: 35
Location: Moscow

PostPosted: Thu 02 Jan '14 16:01    Post subject: Reply with quote

Well, maybe it requires zend_extension=php_opcache.dll then... 'Cause I do not use it. Either way I found script,t hat was causing the error: it was simply called too often, which caused locked. And since I also did not notice any performance increase in case of CGI... It does not matter now Very Happy
Back to top


Reply to topic   Topic: Turned on JIT and get crashes in php5ts.dll View previous topic :: View next topic
Post new topic   Forum Index -> Other Software Page Previous  1, 2