hi, i am installing mysql+apache2+php

here is the informaitons.

OS :Freebsd 4.9 Release.

mysql  PORTVERSION=    4.0.17

PHP 4.3.4 (cgi) (built: Jan 23 2004 06:52:30)Copyright (c) 1997-2003 The PHP
Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

apache PORTVERSION=    2.0.48

when I install the php, I found the problems here. Thanks for telling me how
to do.

1)
./configure --with-mysql=/usr/local --with-mysqld-user=mysql --with-charset=
uj
is --with-extra-charets=all --with-tsrm-pth

ext/mysql/php_mysql.o: In function `zif_mysql_drop_db':
/usr/src/php-4.3.4/ext/mysql/php_mysql.c:1201: undefined reference to
`mysql_dro
p_db'
*** Error code 1

2)
./configure --with-mysql=/usr/local --with-mysqld-user=mysql --with-apxs2=/u
sr
/local/sbin/apxs --with-tsrm-pth --enable-mbstring --enable-mbstr-enc-trans 
--en
able-trans-sid --enable-versioning

pache2handler/sapi_apache2.lo sapi/apache2handler/apache_config.lo
sapi/apache2h
andler/php_functions.lo
main/internal_functions.lo -lcrypt -lcrypt -lmysqlclient
 -lm -lcrypt -lcrypt  -o libphp4.la
ext/ctype/ctype.lo: file not recognized: File truncated
*** Error code 1

3)
./configure
make
make install

As you know, if I choose 3), I can install php 4.3.4 successfully. But when
I make a phpinfo.php
file at /usr/local/www, I can not see the page with my IE Browzer(Version
6.0). The IE Browzer tells
me that error 404.

Thanks ,
Regards.

zhang

Tohoku University.

Reply via email to