finding difficulty in installing php5

[email protected] ("lokesh mohan bhagat")
Newsgroups php.install
Message-ID <[email protected]>
dear sir

my system is
fedora 8
mod_ssl-2.8.31-1.3.41
openssl-0.9.8g
mysql-5.0.51a-linux-i686
apache 1.3.41

i am tring to install php5.2.5

pls find attached the log file

suggest
kind regards
lokesh mohan bhagat
debug.log (text/x-log, 1.6 KB)
CONFIGURE:   './configure'  '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--enable-mbstring' '--enable-soap'
CC:         gcc
CFLAGS:     -I/usr/include -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/include/libxml2 -I/usr/local/php-5.2.5/ext/date/lib -I/usr/local/php-5.2.5/ext/mbstring/oniguruma -I/usr/local/php-5.2.5/ext/mbstring/libmbfl -I/usr/local/php-5.2.5/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include
LDFLAGS:    -L/usr/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib
LIBS:       -lcrypt -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -lmysqlclient -lz -lcrypt -lnsl -lm -lnss_files -lnss_dns -lresolv -lnss_files -lnss_dns -lresolv -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/local/lib /usr/local/mysql/lib
uname -a:   Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux

gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib conftest.c -lcrypt -lrt -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -lmysqlclient -lz -lcrypt -lnsl -lm -lnss_files -lnss_dns -lresolv -lnss_files -lnss_dns -lresolv -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt 1>&5
conftest.c: In function 'main':
conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
./conftest: error while loading shared libraries: /usr/local/mysql/lib/libmysqlclient.so.15: cannot restore segment prot after reloc: Permission denied
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.