Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-05-2002, 03:12 AM   #1
LQ Newbie
Registered: Mar 2002
Location: Portland, OR USA
Distribution: RedHat 7.2
Posts: 7

Rep: Reputation: 0
Question Problems configuring apache with php

I am trying to configure apache server to run with php. I am running redhat7.2 After I compiled and installed php, I reconfigured apache with

./config.status --activate-module=src/modules/php4/libphp4.a

then I did "make"
Here is the error.

/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0xa2): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x13a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/etc/apache_1.3.24/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/etc/apache_1.3.24'
make: *** [build] Error 2

I found this site and a fix is at the bottom of the page, however editing the makefile is beond me. How is this done?

Could somebody please help?

Old 04-29-2002, 11:43 PM   #2
LQ Newbie
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
Had the same problem, add --with-zlib to your PHP configure.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring php for apache PennyroyalFrog Linux - Newbie 3 02-08-2008 12:58 AM
configuring apache, php mjl3434 Linux - Software 4 09-22-2005 07:49 PM
Configuring PHP with Apache. LinuxStart Linux - Software 6 07-11-2005 10:15 AM
Configuring php on apache Dakkar Linux - Software 5 06-01-2004 10:26 AM
problems configuring php and apache vikram_cvk Linux - Software 2 03-06-2004 03:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration