LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2005, 06:38 PM   #1
mmilan
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
PHP & GD library problem


I have installed PHP4, gd library and php4-gd but I don't have a gd supprt in PHP.
When I run php I get this error:

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - /usr/lib64/php/extensions/gd.so: undefined symbol: gdImageCreateFromJpegCtx in Unknown on line 0

PHPinfo shows that gd support is not installed.

I checked i YaST and it shows that all packages are installed and tried to reinstall them but the problem is same...

Please, can you help? I don't know which information about problem to write, I'm new with Linux.

p.s. Sorry for bed english
 
Old 11-15-2005, 01:36 AM   #2
Seniltai
LQ Newbie
 
Registered: Nov 2005
Location: Friesland, The Netherlands
Distribution: Fedora Core 5 Test 2 / FreeBSD 6 / Windows XP SP2
Posts: 17

Rep: Reputation: 0
Yeah well i had the same problem too. I'm not sure about you, but when I installed php 5 i didn't get any extensions. So i just needed to enable gd in ./configure. I did it with ./configure --with-gd, but if you want to see all specific gd flags you should try ./configure --help | grep -i gd.

If you're interested, this is the full command i used to configure my PHP 5:
./configure --enable-sockets --with-gd --enable-pcntl --with-mysql=/usr/local/www/mysql --with-apxs2=/usr/local/httpd/bin/apxs --with-zlib-dir=/usr --with-freetype-dir=/usr

Hope this helps you
 
Old 11-15-2005, 06:00 AM   #3
mmilan
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I tried to install PHP5 but with it I have different problem - Apache do not see that it is installed.

p.s. Finally I solved problem with Apache and PHP5 and it works now.

Last edited by mmilan; 11-15-2005 at 09:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP & GD Library - Combine Two Images wh33t Programming 1 11-29-2005 09:12 AM
apache 2.0.54 & php-4.3.11 problem jiawj Red Hat 2 08-19-2005 06:47 AM
php & gd problem niehls Programming 0 12-17-2003 12:53 PM
Problem with PHP & GD cmfarley19 Programming 0 06-10-2003 10:50 AM
Problem configuring php & apache !!! trubi Linux - General 5 02-03-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration