Solved

How to enable gd on Apache2 SUSE10

Posted on 2006-07-07
4
837 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
The better OS Architecture 13 110
IP 10.0.1.2 / 255.0.0.0 61 111
PHP website on Linux - server DNS address could not be found. 18 117
ifconfig related commands 6 25
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

752 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