So if you want to install it, it will have to be outside of EasyApache. Here's how you could do it:
# wget http://www.pdflib.com/binaries/PDFlib/704/PDFlib-Lite-7.0.4p4.tar.gz
# tar -zxvf PDFlib-Lite-7.0.4p4.tar.gz
# cd PDFlib-Lite-7.0.4p4
# ./configure --without-java
# make && make install
Then build PHP with pdflib support.
# echo '--with-pdflib' >> '/var/cpanel/easy/apache/rawopts/all_php5'
# /scripts/easyapache --build
Finally, make sure pdflib is enabled as an extension in php.ini; add:
extension=pdf.so
to /usr/local/lib/php.ini and restart apache. Then it will show up. I have already done this for you as a courtesy.
Go_GrEen^ThiNk_GReeN~LoVE_GreEn - Pushkar
No comments:
Post a Comment