[PHP] problems configuring PHP
Hi, I am having a problem configuring PHP 4.0.5 for my Red Hat Linux 6.2 server. I am using Apache 1.3.12. When I try to "configure" PHP it comes up with the following error? checking whether to enable a memory limit... no checking whether to enable Zend debugging... no checking for inline... inline Configuring TSRM checking for stdarg.h... (cached) yes Configuring libtool checking build system type... Invalid configuration `enable-track-vars': machine `enable-track' not recognized checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B updating cache ./config.cache loading cache ./config.cache within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed [root@test php-4.0.5]# I was wondering do I really need this "enable-track" thing. It seems that this is the only one that is causing the problem. If I leave it out would it be better? Thanks. Peter
Re: [PHP] problems configuring PHP
Sorry forgot to be in my configuration arguments. Here they are: #./configure --with-mysql=/usr/local/mysql \ --with-xml --with-apache=../apache_1.3.2\ --enable-track-vars - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: "Peter Yung" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 4:41 PM Subject: Re: [PHP] problems configuring PHP > On Tue, 31 Jul 2001 17:51, Peter Yung wrote: > > Hi, > > > > I am having a problem configuring PHP 4.0.5 for my Red Hat Linux 6.2 > > server. > > > > I am using Apache 1.3.12. > > > > When I try to "configure" PHP it comes up with the following error? > > > > checking whether to enable a memory limit... no > > > > checking whether to enable Zend debugging... no > > > > checking for inline... inline > > > > Configuring TSRM > > > > checking for stdarg.h... (cached) yes > > > > Configuring libtool > > > > checking build system type... Invalid configuration > > `enable-track-vars': machine `enable-track' not recognized > > > > checking for ld used by GCC... /usr/bin/ld > > > > checking if the linker (/usr/bin/ld) is GNU ld... yes > > > > checking for BSD-compatible nm... /usr/bin/nm -B > > > > updating cache ./config.cache > > > > loading cache ./config.cache within ltconfig > > > > ltconfig: you must specify a host type if you use `--no-verify' > > > > Try `ltconfig --help' for more information. > > > > configure: error: libtool configure failed > > > > [root@test php-4.0.5]# > > > > > > > > I was wondering do I really need this "enable-track" thing. It seems > > that this is the only one that is causing the problem. If I leave it > > out would it be better? > > > > Thanks. > > > > > > > > Peter > > You haven't shown your configure arguments but just for a guess, did you > specify --enable-track-vars? Do a configure --help |less to see all the > possible configuration parameters. > > -- > David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc > CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA > >Bad breath is better than no breath. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP and Apache 1.3.12
Hi, I am using RedHat Linux 6.2. I just got my PHP installed but my Apache 1.3.12 server does not seem to recognize the PHP files and PHP scripting. I have already uncommented the lines in my httpd.conf file which read: > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps when I type httpd -l, I notice the following: >[root@test bin]# ./httpd -l >Compiled-in modules: > http_core.c > mod_env.c > mod_log_config.c > mod_mime.c > mod_negotiation.c > mod_status.c > mod_include.c > mod_autoindex.c > mod_dir.c > mod_cgi.c > mod_asis.c > mod_imap.c > mod_actions.c > mod_userdir.c > mod_alias.c > mod_access.c > mod_auth.c > mod_setenvif.c > suexec: enabled; valid wrapper /usr/local/apache/bin/suexec I am not sure why my Apache still does not recognize php files. When I try to access a php file on the server through a web browser, it will ask me if I want to download. It's almost as though it did not recognize the PHP extension. I was reading through some of README files that came with the PHP source files and it mentioned that I need to have the "mod_so" active. Well as you can see "mod_so" was not on my list when I typed httpd -l. I have read the Apache documentation, but I am lost in terms of how to install this mod_so module. I was wondering has anybody out there had a similar experience. If so can anyone offer any suggestions. thanks.