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

2010-09-27 Thread Richard Lynch
On Fri, August 20, 2010 1:15 pm, Stanisław Findeisen wrote: > On 2010-08-20 17:10, Bostjan Skufca wrote: > 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? PHP does not do that.

[PHP] 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

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] mod_php

2010-08-20 Thread Bostjan Skufca
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 appropriate configuration, of course). I must admit t

[PHP] mod_php

2010-08-20 Thread Stanisław Findeisen
Hi Could anyone please explain to me the basic architecture of PHP module when running "in process" within Apache HTTP server? I guess this is called "mod_php". As far as I understand the shared library (e.g., libphp5.so) is being dynamically loaded by an Apache working process and then, whenever

Re: [PHP] mod_php environment

2006-01-20 Thread Richard Lynch
On Fri, January 20, 2006 9:30 am, [EMAIL PROTECTED] wrote: > How do I configure which variables are passed to mod_php's > environment? > > I'm working on a project using Jon Praise' superb PHP SASL bindings - > http://cgi.sfu.ca/~jdbates/moin/moin.cgi/SquirrelMail&SASL > > Using GSSAPI authenticati

[PHP] mod_php environment

2006-01-20 Thread ms419
How do I configure which variables are passed to mod_php's environment? I'm working on a project using Jon Praise' superb PHP SASL bindings - http://cgi.sfu.ca/~jdbates/moin/moin.cgi/SquirrelMail&SASL Using GSSAPI authentication requires a KRB5CCNAME environment variable be passed from mod_auth_k

[PHP] mod_php + oracle

2004-05-23 Thread André Ventura Lemos
Though I have: OCI8 Supportenabled Revision$Revision: 1.183.2.12 $ Oracle Version 10.1 Compile-time ORACLE_HOME/opt/oracle/product/10.1.0/db_1 Libraries Used no value and '--with-oci8=/opt/oracle/product

[PHP] mod_php + oracle

2004-05-22 Thread André Ventura Lemos
Though I have: OCI8 Supportenabled Revision$Revision: 1.183.2.12 $ Oracle Version 10.1 Compile-time ORACLE_HOME/opt/oracle/product/10.1.0/db_1 Libraries Used no value and '--with-oci8=/opt/oracle/product

RE: [PHP] mod_php issues with security or stablility?

2003-08-17 Thread Wouter van Vliet
m this? Wouter -Oorspronkelijk bericht- Van: Gerard Samuel [mailto:[EMAIL PROTECTED] Verzonden: zondag 17 augustus 2003 17:35 Aan: Jason Sheets CC: [EMAIL PROTECTED]; [EMAIL PROTECTED] Onderwerp: Re: [PHP] mod_php issues with security or stablility? Jason Sheets wrote: > On cavaeat is with CGI PHP c

Re: [PHP] mod_php issues with security or stablility?

2003-08-17 Thread Gerard Samuel
Jason Sheets wrote: On cavaeat is with CGI PHP can execute as the owner of the script, with mod_php it executes as the web server. IMHO, the biggest difference between the two as far as security is concerned in favour for CGI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] mod_php issues with security or stablility?

2003-08-17 Thread Jason Sheets
mod_php is the recommended installation for Apache. Thousands of people use mod_php with Apache. When I switched to mod_php from CGI I saw a significant performance increase, also you can not use things like Turck MMCache in CGI mode. In short not that I'm aware of, you might google for it

[PHP] mod_php issues with security or stablility?

2003-08-17 Thread Lane Vance
Hello, I work for a large web hosting company and we currently use php.cgi. We are considering changing to use mod_php. Is anyone aware of any security issues with using mod_php? Are there any stability issues? Theoretically, could a customer write php code that could crash Apache? Any other pros

[PHP] mod_php 4.3.2 (w/ apache 2.0.40 using apache filters) - problems loading extensions

2003-08-04 Thread Carl P. Corliss
(cross posted from php.install in hopes of increasing my chances of finding help) I've been trying to get php working on our RH8 box using a source rpm. PHP compiles fine however, when reloading apache with the new mod_php, mod_php fails to load any extensions. Yet php-cli and php-cgi load all ext

[PHP] mod_php / apache config

2002-09-03 Thread Lee Doolan
I apologize beforehand in case this message is posted twice. If there is some way to do this, then it has eluded me for several hours. I would like to set a variable in the apache config file which I can then access in a php script. I'm running mod_php4 and apache 1 I have tried things like

Re: [PHP] mod_php with Apache 2.0.16 beta?

2001-05-01 Thread Yasuo Ohgaki
Try 4.0.5. Configure with --with-apxs2. Regards, -- Yasuo Ohgaki ""Willis L. Sarka"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings, > > Just a general question, I am experimenting with Apache 2.0.16 beta. > Reading the manual that comes installed

[PHP] mod_php with Apache 2.0.16 beta?

2001-05-01 Thread Willis L. Sarka
Greetings, Just a general question, I am experimenting with Apache 2.0.16 beta. Reading the manual that comes installed from the source, it seems that third party modules like PHP will not work. Is there a development version of PHP designed to work with Apache 2.0? Thanks in advance, Will --