[PHP-DEV] Re: [PHP] mod_php

2010-08-20 Thread Stanisław Findeisen
On 2010-08-20 17:10, Bostjan Skufca wrote: Yes, this is correct. If you look at sapi/apache2handler/sapi_apache2.c in PHP sources, you will find that PHP SAPI registers it's function php_handler() within apache. This function gets called every time PHP is requested by some client (with

Re: [PHP-DEV] Re: [PHP] mod_php

2010-08-20 Thread Guillaume Rossolini
Hi, 1. What optimizations does PHP interpreter make? I guess it should be able to check file modification time and cease to compile it again and again. Is this correct? There is some bytecode form, right? Core PHP does not optimize your code like a DBMS would rewrite your SQL. There are