|
|
|
|||||
|
About IcePHP exception?
hi,
I have a problem with the ice exception.The follow code is a part of "hello.php" demo.if the Apache server is not run,it will catch the connection exception.then if I try to connect a few times, the memory error dialog is display.WHY? Besides that, all the user exceptions have the same status. Wish you can give me a good news,thanks. <?php Ice_loadProfile(); try { $p = $ICE->stringToProxy("hello:tcp -p 10000:udp -p 10000"); if($p->ice_isTwoway()) { $hello = $p->ice_checkedCast("::Hello"); } } catch(Ice_LocalException $ex) { echo "<pre>\n"; print_r($ex); echo "</pre>\n"; } ?> |
|
||||||
|
After a lot of research, I've determined that this is caused by a bug in PHP, and not in IcePHP. I've submitted a PHP bug report which you can find here.
If this bug is a serious problem for you, it's possible that compiling PHP in debug mode will avoid it. Let me know if you need help building PHP from source, as it takes some effort. Take care, - Mark |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Have IceUtil::Exception inherit from std::exception? | bpolivka | Comments | 2 | 12-13-2006 11:52 AM |
| IcePHP | cesartovic | Help Center | 2 | 09-25-2006 01:05 PM |
| Missing IcePHP? | g00fy | Comments | 4 | 07-13-2006 01:06 PM |
| IcePHP tests | alfredt | Help Center | 2 | 04-08-2004 11:46 AM |
| why I can't use slice in icephp? | angela.lu | Help Center | 5 | 03-24-2004 05:39 PM |