php-general Digest 5 Aug 2012 15:15:34 -0000 Issue 7910
Topics (messages 318628 through 318630):
Re: php safe mode no more?
318628 by: Lester Caine
318629 by: Marco Behnke
Newfangled features ;)
318630 by: Lester Caine
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
tamouse mailing lists wrote:
What I've noticed running apache suexec + fastcgi is that the memory
requirements increased over running nonsuexec and mod_php under
apache. when i went to a nginx + fastcgi, things worked much better
overall with limited memory (i'm on 1GB limited slice, non-burstable).
Funny you should mention nginx ... that one is on my todo list as well ...
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---
--- Begin Message ---
Am 04.08.12 11:51, schrieb Lester Caine:
> tamouse mailing lists wrote:
>> What I've noticed running apache suexec + fastcgi is that the memory
>> requirements increased over running nonsuexec and mod_php under
>> apache. when i went to a nginx + fastcgi, things worked much better
>> overall with limited memory (i'm on 1GB limited slice, non-burstable).
>
> Funny you should mention nginx ... that one is on my todo list as well
> ...
>
I can definetly recommend that one.
I tested nginx + php-fpm against apache2 + mod_php. Since then every
server setup for PHP appliactions is done with nginx + php-fpm. It is
faster and uses less memory.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
I'm busy trying to work out why I should be using 'Reflections' ...
I'm seeing elements of this appearing in the PEAR code I'm trying to clean up to
be strict safe, where some packages have been cleaned up, but the core code lags
behind.
On my own framework, I identify the type of page that needs to be generated, and
then load the relevant code to provide the classes needed to create that page.
Then run an instance of the relevant class(s) to generate the html of the page.
Smarty templates provide the configurable elements of the layout, linked to .css
for the particular theme. SO I simply can't see at the moment why I would need
'ReflectionClass($classname)' when I'm going to use the class anyway?
If a function does not exist then I've messed up somewhere already?
Of cause something to solve the 'white page' after making just a minor change in
the code would help ... but we've lived that for years already. :)
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---