Solved

How to enable gd on Apache2 SUSE10

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.
Suggested Courses

631 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