I have just upgraded PHP on one of our boxes using easyapache, a client had asked for pdflib so I compiled that in too, since the upgrade i have had to do a bit of work to get everything working again, I have Zend Optimiser compiled in (Manually) since I ran easyapache to upgrade to PHP 4.4.2 pear stopped working because of a problem with the include path, rather than edit the php.ini I just symlinked the folders it couldnt find when running the pear executable from the shell (The folders were 'Archive' and 'Console') which reside in /usr/lib/php yet the include path is set to /usr/local/lib/php this seems to have got pear running ok again, however the story is not the same for PDFlib, running a phpinfo() shows that the PDFLib extension is loaded however whenever trying to utilise it with the test script provided by PDFLib GMBH themselves, I recieve a 'Call to undefined function' error.
I figured that i'd try and manually install PDFLib from pecl, however because my /tmp directory is set to noexec that failed, I then manually downloaded the tgz and manually compiled it in with phpize & added the extension line to my php.ini, that all went ok but I still have the same error with 'Call to undefined function'
Does anyone have a workaround or a way to get this working, or am I missing something?
Any Help Greatly Appreciated.



LinkBack URL
About LinkBacks

Reply With Quote




