Solved

How to enable gd on Apache2 SUSE10

Posted on 2006-07-07
4
834 Views
Last Modified: 2013-12-16
Suse 10
I installed apache2, apxs, mysql, ... and php4 as module also php4-gd (gd) php4-mysql etc .. all using yast
started and stoped apache2 server

but my phpinfo() shows all the time this
 './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux'

note '--without-mysql'  but mysql support works

Server API       Apache 2.0 Handler

I have error log from apache Unable to load dynamic library '/usr/lib/php/extensions/gd.s' ...  undefined symbol gdImagePngCtx in Unknown

Please
I want to enable gd I have all packages installed and restarted server and I think that problem is in
Unable to load dynamic library '/usr/lib/php/extensions/gd.s' ...  undefined symbol gdImagePngCtx in Unknown
How to solve this

0
Comment
Question by:mirzaAbazovic
  • 2
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 125 total points
ID: 17060937
Appears to be a fairly common problem this. Normally solved by:

Add the following line to /etc/ld.so.conf:

/usr/lib/php/extensions/

This adds the directory to your library directory list. Then run:

/sbin/ldconfig

To load the new library list into the system and then retry:)

(   (()
(`-' _\
 ''  ''

0
 
LVL 1

Author Comment

by:mirzaAbazovic
ID: 17067290
Still not helping
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17067371
'/usr/lib/php/extensions/gd.s'

from your post....I presume that this is a spelling mistake?...or did you cut and paste? I'd expect the file to be:

/usr/lib/php/extensions/gd.so

Can you check that this file exists, If so, then check the /etc/php.ini and files in the /etc/php.d/ for a directive "extension=gd.so" or similar.

>note '--without-mysql'  but mysql support works.

mySQL support for php, apache, and other systems within your server are all different. The --without-mysql refers to only the phpinfo() directive. Provided the necessary libraries are loaded as moduels, then mySQL databases may still be useable.

(   (()
(`-' _\
 ''  ''






0
 
LVL 1

Author Comment

by:mirzaAbazovic
ID: 17070757
Yes I have included line /usr/lib/php/extensions/gd.so in php.ini and i have go.so in that dir. I heard that suse 10 does not support gd is that true ?????
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux "time" command output redirection 16 121
parse convert xml feed to text (python) 2 71
linux ssh 4 59
AWS CLI issues with Tags 3 66
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now