Installing PHP4.0.4pl1 on RedHat 5.2
| From: | James Kapherr | Date: | Tue, 06 Feb 2001 13:58:21 +0000 |
| Subject: | Installing PHP4.0.4pl1 on RedHat 5.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1948@lists.php.net to get a copy of this message | ||
Hi,
I am trying to upgrade from PHP3.0.7 to PHP4.0.4pl1 but I have had a
nightmare.
Noone can tell me if PHP4.0.4 can be installed on RedHat 5.2 so I have
that to contend
with too.
Anyway
I am compiling with
./configure --with-mysql=/usr/local/mysql --with-config-file-path=/home/
www/conf
--with-apache=/usr/lib/perl5/site_perl/i386-linux/auto/Apache --enable-
track-vars
and I get this...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... no
checking for Apache module support... no
configure: error: Invalid Apache directory - unable to find httpd.h
under
/usr/lib/perl5/site_perl/i386-linux/auto/Apache
httpd.h is in the /usr/lib/perl5/site_perl/i386-linux/auto/Apache/
include folder
If I compile it without Apache, it is ok until I make it then I get
/usr/local/mysql/lib/libmysqlclient.a(mf_format.o): In function `fn_
format':
mf_format.o(.text+0x201): undefined reference to `__lxstat64'
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o): In function `my_
fopen':
my_fopen.o(.text+0x21): undefined reference to `fopen64'
make[1]: *** [php] Error 1
make[1]: Leaving directory `/home/webmaster/php-4.0.4pl1'
make: *** [all-recursive] Error 1
Any ideas?
Regards
James
--