Tiny Core Extensions > TCE Q&A Forum

Php gd library ??????

(1/5) > >>

sandeep:
Hello i need to install gdlibrary in tinycore linux need not find the package in tiny core repository suggest me a method to do this plz help !!!!! ???

maro:
I'm not sure what you really need, but it might be that the 'libgd.tcz' extension is what you are after?

I don't know how that relates to php or whether you need something else or in addition to it. You better provide some more precise description of what you are trying to achieve.

sandeep:
Thankyou Maro for ur quick reply

In ubuntu we install gd library by

apt-get install  php5-gd and we restart apache and when we run phpinfo() it will show a separate coloum says gd library enabled. gd library is used to create images i tried libgd.tcz but that didnt worked for me

Iam attaching a link to give a clear idea of what i need

http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/

So plz help to install or create gd library for php in tiny core.. :-[

maro:
I'm not a php5 user, so I pretty much haven't got a clue. But looking a the file list of said Ubuntu package you might need a gd library build for php5.

If your are lucky it will only be that you need a config file (in addition to the 'libgd.tcz' extension), but I somewhat doubt that this would be all. You better hope that the php5 extension maintainer (i.e. 'robc', IIRC) or some other experienced TC user can provide a better answer.

OTOH, I just spotted that the 'apache2-mod-php5.tcz' extension contains a 'gd.so' library. So it might be that you'll just need that extension (instead of the 'libgd.tcz' one).

gutmensch:
php5 usually automatically builds in a bundled gd library (module).

Necessary steps:
1. Install apache2-mod-php5.tcz
2. Edit /usr/local/apache2/conf/php5/extensions/dist.ini to include extension=gd.so
3. Start apache with $ sudo apachectl -k start

Or use php5 extension with php as cgi module, no extension loading needed there since it's not shared but builtin. If there are special libraries needed for php extensions you can always easily grep them by running e.g. $ ldd /usr/local/lib/php/extensions/no-debug-zts-20090626/gd.so and watch out for missing libs.

[edit]
the info that libgd.tcz is needed for gd.so within dist.ini is not right as it's bundled - gonna change that in the next release.
[/edit]

Navigation

[0] Message Index

[#] Next page

Go to full version