Apache make fails (apache, ssl, php, mysql)

Apache make fails (apache, ssl, php, mysql)

Post by Steve Wes » Sun, 20 May 2001 02:45:09



I'm trying to add php support into apache and the 'make' command fails.
mysql-3.23.38 installed fine and I ran some tests and everything is working.
php-4.0.5 also installed fine (but don't know how to test it from the
command line). The apache configure also went fine:


Quote:> --prefix=/usr/local/apache \
> --activate-module=src/modules/standard/mod_rewrite.c \
> --enable-module=rewrite \
> --enable-module=ssl \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=php4

But when I try to do 'make' for apache, I run into these problems:

(there is lots of messages about 'undefined reference...' for mysql)

modules/php4/libphp4.a(php_mysql.o): In function `_free_mysql_result':
/home/ae/software/php-4.0.5/ext/mysql/php_mysql.c:191: undefined reference
to `m
ysql_free_result'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/ae/software/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/ae/software/apache_1.3.14'
make: *** [build] Error 2

Does anyone know how I can correct this problem?

P.S. I'm trying to do this on a RedHat 7.0 box with a working version of
apache 1.3.14 already installed.

Thanks!

SW

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

1. Apache - MySQL - PHP (Auto-start Apache)

I'm currently running Apache 1.3.12, MySQL 3.22.32-1, and PHP 4.0.3 together
on RedHat 7.0 and everything works fine, although every time I boot up I
have to manually start the Web Server with command
/usr/local/apache/bin/apachectl start.

Does anyone know how to configure Apache so that it will start up
automatically when I boot up Linux?  (I know it's a little off the MySQL
subject, but I figured someone would have a similar setup.)

Thanks,
John Halladay

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

2. Non-DEC uses for VT320 terminals?

3. FIX [PHP-INST] Problem with PHP/Apache/MySQL on fresh RH7 install

4. Multiple outputs from one printf

5. Placing Apache::RequestRec & Apache::RequestIO & APR::Table use statements in startup.pl

6. FS: Games (new?)

7. install apache, php + mysql on linux redhat 6.2

8. Bug in win.h?

9. Pocket PC, Flash, Linux server, Apache, MySQL, PHP

10. linux novice cannot resolve apache-php-mysql linkage 2.

11. new install prblm mysql/php/apache

12. Problems compiling PHP with mysql support as a apache DSO on a

13. mySQL cache, BLOB, Apache or PHP limits on uploads?