php-windows Digest 30 Mar 2006 21:02:42 -0000 Issue 2927
Topics (messages 26804 through 26805):
Multiple php.ini with IIS6 and ISAPI PHP4
26804 by: pjn.nikolich.org
Re: Zend Optimizer Problem
26805 by: Edin Kadribasic
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
To allow multiple independant php.ini configs for different sites
on the same IIS6 box I have been using the cgi edition of PHP4 and
it all works well.
Each has its own PHP4 install with php.ini it the folder holding the
cgi binaries. The default search path checks the binary location first
and the custom php.ini is loaded.
The downside is upgrading PHP versions requires work for each site
and a very busy site is going to put a lot of extra load on the box.
Has any work been done to allow a custom php.ini per site under the
ISASPI version in IIS6?
Regards
Petar
--- End Message ---
--- Begin Message ---
Hi Mike,
You'll need to compile PHP with MS VC++ 6.0 (I know, ancient one), since
compiling with a newer compiler will produce msvcrt.dll version mismatch
wich will cause crashes.
Edin
Mike Milano wrote:
Zend Optomizer 2.6.2 works ok when I use the public release, but when I
try to use a custom build, I get a pretty vague exception when
php-cgi.exe is launched:
php-cgi.exe - Application Error
The instruction at "0x7c98fea" referenced memory at "0x00000010". The
memory could not be "written".
Here is how I load the extension in the php.ini file, but I really don't
think this is the issue since this works on the public build.
zend_extension_ts="C:\php5\ZendOptimizer.dll"
I'm building with 5.1.2 source using the following config:
cscript /nologo configure.js --with-openssl --with-mcrypt --with-mhash
--with-json --enable-sockets --with-zip --enable-soap
Is there anything else I need to enable or disable to get Zend Optimizer
to work?
--- End Message ---