I have been working on MAMP and everything worked well with prince.
MAMP uses:
Apache 2.0.59
MySQL 5.0.41
PHP 5.2.6
Now I switched to Leopards native apache installation and I am catching the error:
Mercury runtime: caught bus error ***
e: non-existent physical address
ess involved: 0x0
may have been caused by a stack overflow, due to unbounded recursion.
ing from signal handler
i am running the simplest form of php code:
as it may be of interest:
apache -V
and PHP Version 5.2.9:
entropy Release 7
so, is this error known?
is it due to apache or php?
cheers
manuel
Additional note: Somehow without changing anything it works with the simple php-example above but not with the procedure i actually use.
MAMP uses:
Apache 2.0.59
MySQL 5.0.41
PHP 5.2.6
Now I switched to Leopards native apache installation and I am catching the error:
Mercury runtime: caught bus error ***
e: non-existent physical address
ess involved: 0x0
may have been caused by a stack overflow, due to unbounded recursion.
ing from signal handler
i am running the simplest form of php code:
<?php
include 'prince.php';
$prince = new Prince('/usr/local/bin/prince');
$webdata = 'http //www advancedaquarist com/ ##change this###';
$outputfile = 'test.pdf';
$return = $prince->convert_file_to_file($webdata, $outputfile ,$msg);
print_r ( $msg );
?>
as it may be of interest:
apache -V
Server version: Apache/2.2.11 (Unix)
Server built: Feb 3 2009 01:54:45
Server's Module Magic Number: 20051115:21
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
and PHP Version 5.2.9:
entropy Release 7
so, is this error known?
is it due to apache or php?
cheers
manuel
Additional note: Somehow without changing anything it works with the simple php-example above but not with the procedure i actually use.