Thanx for this information. I really was ignorant about it. I have reinstalled RHL 7.2 and everything is working just fine.
Thanx
Gagneet
-----Original Message----- From: Chris Hewitt [mailto:g0pae manordat demon co uk] Sent: Thursday, May 09, 2002 16:43 PM To: Gagneet Subject: Re: [PHP-INST] Debug Log file -- Errors in installation..
Gagneet,
I wonder why you are installing php and mysql since RedHat 7.2 comes with php 4.0.6 and mysql 3.23.41-1, newer versions than those you are installing. I can understand putting current versions on but why older ones?
HTH Regards Chris
Gagneet wrote:
Hi! I have installed PHP 4.0 on a machine I am using as a file server. This has Red hat Linux distribution 7.2 installed on it. I have the network configured with Samba. Before installing PHP, I have installed MySQL-3.22.32 and Apache- 1.3.12. After completing the PHP installation an error dialog was shown and I was told to write to the mailing list in case PHP does not work. The same has happened and hence this note.
Thanx for the help in advance.
Gagneet
The debug.log file contents are displayed below:
CONFIGURE: './configure' '--with-mysql=/usr/mysql-3.22.32-pc-linux- gnu-i686/' '--with-apxs=/usr/apache_1.3.12/bin/apxs' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/usr/apache_1.3.12/include -I$(top_builddir)/Zend - I$(top_srcdir) -I/usr/mysql-3.22.32-pc-linux-gnu-i686//include LDFLAGS: -Wl,-rpath,/usr/mysql-3.22.32-pc-linux-gnu- i686//lib/mysql -L/usr/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql LIBS: -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt - lnsl -lresolv DLIBS: SAPI: apache PHP_RPATHS: /usr/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql uname -a: Linux LinuxServer 2.4.7-10enterprise #1 SMP Thu Sep 6 16:48:20 EDT 2001 i686 unknown
gcc -o conftest -g -O2 -Wl,-rpath,/usr/mysql-3.22.32-pc-linux-gnu- i686//lib/mysql -L/usr/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql conftest.c -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt - lnsl -lresolv 1>&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status