#24483 [Bgs]: Mono integration doesn't work
| From: | kris dot hofmans at pandora dot be | Date: | Thu, 03 Jul 2003 19:57:17 +0000 |
| Subject: | #24483 [Bgs]: Mono integration doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43208@lists.php.net to get a copy of this message | ||
ID: 24483
User updated by: kris dot hofmans at pandora dot be
Reported By: kris dot hofmans at pandora dot be
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 5.0.0b1 (beta1)
Assigned To: sterling
New Comment:
oh boy, is my face red :)
Although there is no explicit mention of this I could have figured it
out looking at the stack.php example.
I expected the "console" output would be translated to whatever output
handling available, I was thinking about using the CLI binary to test
but unfortunatly it doesn't compile here (I'm going to look into it
though).
Now if I could only figure out where you guys are hiding that java
extension I'm all set :)
Previous Comments:
------------------------------------------------------------------------
[2003-07-03 14:37:54] sterling@php.net
Mono doesn't work from within Apache, as Console.WriteLine() writes to
the *console*, not to apache's stdout. If you want this to work in
apache, you need to try something like mod_haydn (http://haydn.sf.net/)
or mod_mono (forgot the url).
Try it from the command line first though.
------------------------------------------------------------------------
[2003-07-03 09:14:23] derick@php.net
Sorry, that was my mistake...
------------------------------------------------------------------------
[2003-07-03 09:10:57] kris dot hofmans at pandora dot be
The summary, os and version changed? I'm sorry I'm new at bugzilla.
------------------------------------------------------------------------
[2003-07-03 08:57:50] kris dot hofmans at pandora dot be
Description:
------------
I've been trying to get this to work for a couple of days now.
When I call a page that uses mono I get this in the apache logs:
** ERROR **: file jit.c: line 4100 (mono_get_lmf_addr): should not be
reached
aborting...
[Thu Jul 03 15:41:34 2003] [notice] child pid 7752 exit signal Aborted
(6)
I get this with the most basic helloworld sample from sterling.
I'm using the mono repository provided here:
http://www.debianplanet.com/mono/ on a freshly
installed adamantix
(former trusteddebian) system.
Reproduce code:
---------------
<?php
$Console = new Mono('System.Console');
$Console->WriteLine("Hello World");
?>
Expected result:
----------------
Hello World
Actual result:
--------------
nothing, just the log entry.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24483&edit=1