php-windows Digest 4 Apr 2006 14:04:02 -0000 Issue 2928

Topics (messages 26806 through 26810):

Re: Zend Optimizer Problem
        26806 by: Mike Milano

Re: Handle a serial communication on COM1
        26807 by: Ariz Jacinto

PHP5 win32service extension 's file/IO problem
        26808 by: Ariz Jacinto

Faulting application Apache.exe, version 2.0.53.0, faulting module ntdll.dll, 
version 5.2.3790.1830, fault address 0x000224b2 - Suspect COM object
        26809 by: Phillip Bayliss

Access javascript from php
        26810 by: Alf Stockton

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 ---
Thank you Edin,

So this is just a VC++7 issue? Do you know of any other compilers that work OK for compiling PHP on Windows?

I have access to VC++6, but I'm just curious if cygwin or other methods of compiling would be successful too.



Edin Kadribasic wrote:
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 ---
--- Begin Message ---
hi,

download and install php_dio.dll at  pecl4win.php.net.
the documentation on how to use it's functions are
included in the PHP manual (dio or direct IO).

regards,
Ariz Jacinto



Hi,
>
> I intend to manage a serial communication with a
> cash register trought COM1.
> ...
> I want to find any resources (man, docs) to help myself to do this. I
> look for PHP functions (or applications) to manage the connection with
> this device.
>
>

--- End Message ---
--- Begin Message ---
hi,

i'm currently testing the php_win32service.dll extension and it is working
until i've noticed that file/IO access functions (read/write) within the
PHP-
based service doesn't work when invoked by SC or win32_start_service.
got the same results from PHP 5.0.5 to 5.1.2.

is this a bug or by design?


regards,
Ariz Jacinto

--- End Message ---
--- Begin Message ---
Hi

Apache is crashing on windows with the following error after running for about 5 days and we suspect it is related to COM handling.

Faulting application Apache.exe, version 2.0.53.0, faulting module ntdll.dll, version 5.2.3790.1830, fault address 0x000224b2

The problem seems to be related to a COM object we are using which does ssl socket operations to a remote server. The failure is gradual. First the COM object encounters internal errors, then php cannot even create the com object (Failed to create COM object `My.ComObject': Invalid access to memory location.), then Apache crashes.

Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7f PHP/5.0.4

Windows 2003 server Standard Edition SP1.

Can anybody advise or recommend a solution ?  Thanks.

Cheers,

Phillip

--- End Message ---
--- Begin Message --- I have written my program in such a way that all the html is separate from my php but now I need to include a piece of javascript within the php but the php is very unhappy with <script type="text/javascript">,
telling me Parse error: syntax error, unexpected '<' on that line.
How do I do this?

--
Regards,
Alf Stockton            www.stockton.co.za

This life is yours. Some of it was given to you; the rest, you made yourself.

My email disclaimer is available at www.stockton.co.za/disclaimer.html

--- End Message ---

Reply via email to