strange CGI vs DSO problems with PDFlib

From: Date: Wed, 20 Dec 2000 19:25:15 +0000
Subject: strange CGI vs DSO problems with PDFlib
Groups: php.general 
Request: Send a blank email to php-general+get-31292@lists.php.net to get a copy of this message
k, here's the strange thing. configure \ --with-apxs \ --disable-debug \ --enable-versioning \ --enable-trans-sid \ --enable-sockets \ --with-mhash \ --with-mcrypt \ --with-pgsql \ --with-mysql \ --with-jpeg-dir=/usr/local \ --with-xpm-dir=/usr/X11R6 \ --with-png \ --with-tiff \ --with-zlib \ --with-ttf \ --with-t1lib \ --with-gd \ --with-pdflib \ when I try to use pdf function's namely pdf_set_font($pdf, "Times-Roman", 10, "winansi"); apache segfaults, no error's, php doesn't issue a log error, or echo anything. The raw hearders show. [lee@server lee]$ nc www.miningsurplus.com 80 GET /include/pdf_parts_query.inc HTTP/1.0 Host: www.miningsurplus.com [lee@server lee]$ strange eh? but whats even wierder is that when I compile php without the --with-apxs \ this generates a cgi executable, I can run the same script php pdf_parts_query.inc and all works great, no errors, just a prestean pdf file, like its supposed to.... PS. the pdflib example on http://php.net/manual/ doesn't work either on DSO mode, only when compiled as a CGI... Chris Lee Mediawaveonline.com

« previous php.general (#31292) next »