Solved

How to enable gd on Apache2 SUSE10

Posted on 2006-07-07
4
836 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 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