|
From: <php...@li...> - 2007-12-15 00:32:53
|
Hiya,
We're using PJB with PHP 5.1.6 and Apache 2.0.61 on Windows, and
experiencing frequent segfaults of Apache. Inspecting the dump
reveals that PHP is crashing somewhere, something to do with a null
pointer exception when reporting an error.
I've tried using the same combination but with the latest Apache
(2.2.6), but the segfault still happens.
It seems to happen most (and reproducibly) when getting requests
through a flex client, when an open connection already exists from a
flex client on the same machine (i.e. one browser window runs the flex
client, and opens a popup window also with the flex client running).
Firstly, has anyone experienced this?
So, I'm trying to update to the latest version of PHP (5.2.5), but
coming up against some problems when attempting to build PHP, to build
PJB. I've tried to build PHP using Cygwin, cross-compiling against
mingw32, but that failed with a number of build errors, presumably
related to incompatible libs and includes.
Instead I tried using MS's Visual Studio C++, as in the documentation
in the PHP build directory. Firstly I couldn't get the configure
script to find the win32build folder, so I added it to PATH and tried
again. Then, the configure script ran successfully, but nmake fails
with:
"" -h win32\ -r Release_TS\ -x Release_TS\ win32\build\wsyslog.mc
'-h' is not recognized as an internal or external command, operable
program or batch file.
NMAKE : fatal error U1077: '"' : return code '0x1'
Stop.
It would appear that PHP's configure script isn't writing the make
rules properly, and is setting an empty string instead of the name of
some build tool.
Can anyone help with this? Is there a way of building PJB for win32
that doesn't require a build of PHP itself? How were the existing
binaries of PJB built?
We must have it sorted by next Wednesday (the 19th), and we're willing
to pay a reasonable rate for assistance.
Cheers,
Mike
--
Michael Tyson | Developer | smartpath.com.au
m: (+61) 0407 754 124
e: mt...@sm...
aim: mikerusselltyson
|
|
From: <php...@li...> - 2007-12-15 10:43:29
|
Hi,
> experiencing frequent segfaults of Apache.
I don't see how the PHP/Java Bridge is involved here. The Java.inc is pure PHP and everything else
runs (should run!) outside of the HTTP domain.
Regards,
Jost Boekemeier
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail
|
|
From: <php...@li...> - 2008-01-13 02:41:16
|
Hi again, So, I've had nothing but failures trying to build the pjb module; a post from PHP-WIN says that I'd have to set up a makefile by hand to build the module, as no phpize-like script exists for win32. Not having any experience with these tools, I don't know where to begin. Does anyone have the skillset to accomplish such a thing? We would gratefully pay you to build us a pjb module for php 5.2.5 (and probably a copy of php 5.2.5, for apache 2.2.6). Failing that, I'd happy accept a point in the right direction! While our segfault problem isn't coming from pjb, it is probably an issue with php 5.1.6, or one of its modules; in the absence of any other ideas, we want to use the latest php (which does include many bugfixes). Many thanks, Michael > > Hiya, > > We're using PJB with PHP 5.1.6 and Apache 2.0.61 on Windows, and > experiencing frequent segfaults of Apache. Inspecting the dump > reveals that PHP is crashing somewhere, something to do with a null > pointer exception when reporting an error. > > I've tried using the same combination but with the latest Apache > (2.2.6), but the segfault still happens. > > It seems to happen most (and reproducibly) when getting requests > through a flex client, when an open connection already exists from a > flex client on the same machine (i.e. one browser window runs the flex > client, and opens a popup window also with the flex client running). > > Firstly, has anyone experienced this? > > So, I'm trying to update to the latest version of PHP (5.2.5), but > coming up against some problems when attempting to build PHP, to build > PJB. I've tried to build PHP using Cygwin, cross-compiling against > mingw32, but that failed with a number of build errors, presumably > related to incompatible libs and includes. > > Instead I tried using MS's Visual Studio C++, as in the documentation > in the PHP build directory. Firstly I couldn't get the configure > script to find the win32build folder, so I added it to PATH and tried > again. Then, the configure script ran successfully, but nmake fails > with: > > "" -h win32\ -r Release_TS\ -x Release_TS\ win32\build\wsyslog.mc > '-h' is not recognized as an internal or external command, operable > program or batch file. > NMAKE : fatal error U1077: '"' : return code '0x1' > Stop. > > It would appear that PHP's configure script isn't writing the make > rules properly, and is setting an empty string instead of the name of > some build tool. > > Can anyone help with this? Is there a way of building PJB for win32 > that doesn't require a build of PHP itself? How were the existing > binaries of PJB built? > > We must have it sorted by next Wednesday (the 19th), and we're willing > to pay a reasonable rate for assistance. > > Cheers, > > Mike > -- > Michael Tyson | Developer | smartpath.com.au > > m: (+61) 0407 754 124 > e: mt...@sm... > aim: mikerusselltyson > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users -- Michael Tyson | Developer | smartpath.com.au m: (+61) 0407 754 124 e: mt...@sm... aim: mikerusselltyson |
|
From: <php...@li...> - 2008-01-14 09:19:48
|
Hi,
> So, I've had nothing but failures trying to build the pjb module;
you don't need to build the PHP/Java Bridge module. It is written in pure Java.
> Does anyone have the skillset to accomplish such a thing? We would
> gratefully pay you to build us a pjb module for php 5.2.5
I don't think anybody is able to compile the PHP 4 C code against PHP 5.x.
Why do you need it?
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|