Archive for August, 2009
How to install GPG PHP extension

hi all today i will install the GPG PHP extension on an Ubuntu Server 9.04

 

first we will install some preliminary stuff:

aptitude install php5-dev

 

aptitude search gpgme

aptitude install libgpgme11 libgpgme11-dev

 

pecl install gnupg

 

at the end we insert to php.ini the following:

extension=gnupg.so

How to install a PHP SSH2 Extension on Ubuntu Server 9.04

run the following command to do so:

#first we update the system

aptitude update

aptitude safe-upgrade

#install necessary packages

aptitude install php5-dev php5-cli php-pear build-essential

#configure openssl

openssl-dev zlib1g-dev

#install libssh2 ext

aptitude install libssh2-1-dev

#install the pecl ext

pecl install -f ssh2

#add the ext to the configuration file

echo ‘extension=ssh2.so’ > /etc/php5/conf.d/ssh2.ini

#restart the apache server

/etc/init.d/apache2 restart

that’s it enjoy

dompdf – The PHP 5 HTML to PDF Converter

Go to Source

CodeIgniter – Plugin for DOMPDF | Dream House

I have modified the plugin for DOMPDF which is found in CodeIgniter forum. I have added the paper size and orientation parameters. Here is the code to share

Go to Source

Wiki | CodeIgniter

CodeIgniter: an open source Web Application Framework that helps you write PHP programs

Go to Source