MLUG: [MLUG] MySql+PHP+Apache configuration
[MLUG] MySql+PHP+Apache configuration
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I am trying to get MySql+PHP+Apache running on RedHat
7.1. When I try to start apache server using "service
httpd restart" after installation, I have been getting
this "Cannot load /usr/lib/apache/libphp4.so into
server: /usr/lib/apache/libphp4.so: undefined symbol:
uncompress".....after spending hours reading various
mails in the mailing lists, I was led to believe that
its got something to do with zlib. 

I am running the following configure command for PHP: 

./configure --prefix=/usr --with-config-file-path=/etc
--with-apxs=/usr/sbin/apxs --with-zlib
--with-mysql=/usr/local/mysql --with-xml

Someone in one of the mailing lists had suggested that
I change the line (just before running make install)
in Makefile (in the top level php-4.0.6) from
LTLIBRARY_LDFLAGS = ...... to LTLIBRARY_LDFLAGS = -lz
[....]

This did not help in anyway....make install exited
with an error. 

One more fix that was suggested was to change the
configuration for PHP from --with-zlib to --with-gzip.
This wasnt successful either.

one more fix that was suggested was to provide the
path to zlib along with the --with-zlib. 

Now when i say "rpm -q zlib" it gives me 
zlib-1.1.3-22. 
I guess that means that the required zlib is
installed(perhaps by default with Redhat 7.1 or I
might have chosen to install the package while
installing RedHat).

If the solution you think is adding the path to
--with-zlib, could you please tell me what that would
be??? I have no clue as to what path that this might
be expecting. The following is the output from "find .
-print|grep zlib" run from the / directory as root:

[EMAIL:PROTECTED /]# find . -print |grep zlib 
./usr/share/doc/zlib-1.1.3 
./usr/share/doc/zlib-1.1.3/README 
./usr/share/doc/zlib-devel-1.1.3 
./usr/share/doc/zlib-devel-1.1.3/ChangeLog 
./usr/share/doc/zlib-devel-1.1.3/algorithm.txt 
./usr/share/doc/libgcj-2.96/ChangeLog.zlib 
./usr/share/doc/python-docs-1.5.2/Doc/libzlib.tex 
./usr/share/man/man3/zlib.3.gz 
./usr/lib/python1.5/lib-dynload/zlibmodule.so 
./usr/lib/python1.5/test/output/test_zlib 
./usr/lib/python1.5/test/test_zlib.py 
./usr/lib/python1.5/test/test_zlib.pyc 
./usr/lib/python1.5/test/test_zlib.pyo 
./usr/X11R6/include/X11/extensions/lbxzlib.h 
./usr/include/bzlib.h 
./usr/include/bzlib_private.h 
./usr/include/zlib.h 
./usr/include/mozilla/zlib.h 
./usr/src/linux-2.4.2/drivers/net/zlib.c 
./usr/src/linux-2.4.2/drivers/net/zlib.h 
./usr/src/linux-2.4.2/fs/cramfs/inflate/zlib.h 



What path would one provide in this case??? 

And then in yet anothor solution MySql Shared
libraries was to be installed....I have MySql-3.23-38
installed and I am not able to find the required RPMs
for this version for my distro.

Is there anything that anyone can suggest that I could
try to install and get this running?? 

Thanks
Venkat.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/