note 108248 deleted from cairo.installation by mazzanet
| From: | mazzanet@php.net | Date: | Thu, 12 Apr 2012 06:15:02 +0000 |
| Subject: | note 108248 deleted from cairo.installation by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187068@lists.php.net to get a copy of this message | ||
Note Submitter: chickenSandwich
----
Ubuntu php and cairo:
install cairo library
sudo apt-get install libcairo2-dev
install php-pear
sudo apt-get install php-pear
download the cairo tgz from cairographics.org
wget http://pecl.php.net/get/cairo
pecl the tgz
sudo pecl install Cairo-0.3.1.tgz (which ever is the version you downloaded)
for testing scripts via the command-line, modify /etc/php5/cli/php.ini
add the line: extension=cairo.so
for testing cairo via apache, modify /etc/php5/apache2/php.ini
add the line: extension=cairo.so
and restart apache: sudo service apache2 restart
I hope this helps! Let's post to this part of the php documentation!