From owner-freebsd-questions Fri Jul 14 18:21:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id 1066B37C68A for ; Fri, 14 Jul 2000 18:21:00 -0700 (PDT) (envelope-from ler@lerctr.org) Received: (from ler@localhost) by lerami.lerctr.org (8.10.1/8.10.1/20000708) id e6F1Kh829720; Fri, 14 Jul 2000 20:20:43 -0500 (CDT) From: Larry Rosenman Message-Id: <200007150120.e6F1Kh829720@lerami.lerctr.org> Subject: Re: newbie of php problem - code shows no output In-Reply-To: <396FBBA9.3A6BDF44@www3.pacific-pages.com> "from David Banning at Jul 14, 2000 09:17:29 pm" To: David@SkytrackerCanada.com Date: Fri, 14 Jul 2000 20:20:43 -0500 (CDT) Cc: Larry Rosenman , questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL79 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I didn't get that with my build (from ports) of php4.=20 I'd clean out /usr/ports/www/mod_php4/work, and re-do the install.. LER > Now here's something - going through the make of PHP I got this message; >=20 >=20 > +--------------------------------------------------------------------+ > | ATTENTION! | > | Something is likely to be screwed up here, because the configure | > | script was not able to detect a simple feature on your platform. | > | This is often caused by incorrect configuration parameters. Please | > | see the file debug.log for error messages. | > | | > | If you are unable to fix this, send the file debug.log to the | > | php-install@lists.php.net mailing list and include appropiate | > | information about your setup. | > +--------------------------------------------------------------------+ > | License: | > | This software is subject to the PHP License, available in this | > | distribution in the file LICENSE. By continuing this installation | > | process, you are bound by the terms of this license agreement. | > | If you do not agree with the terms of this license, you must abort | > | the installation process at this point. | > +--------------------------------------------------------------------+ >=20 > so when I looked in the debug.log file it said; >=20 >=20 > CONFIGURE: './configure' '--with-apxs=3D/usr/local/sbin/apxs' > '--enable-versioning' '--with-system > -regex' '--with-config-file-path=3D/usr/local/etc' '--disable-debug' > '--enable-track-vars' '--withou > t-gd' '--disable-pear' '--with-zlib' '--with-mysql=3D/usr/local' > '--prefix=3D/usr/local' 'i386--freebs > d4.0' > CC: cc > CFLAGS: -O -pipe > CPPFLAGS: > CXX: c++ > CXXFLAGS: -O -pipe > INCLUDES: -I/usr/local/include/apache -I$(top_builddir)/Zend > -I$(top_srcdir) -I/usr/local/incl > ude/mysql > LDFLAGS: -R/usr/local/lib/mysql -L/usr/local/lib/mysql > LIBS: -lmysqlclient -lm -lcrypt > DLIBS: > SAPI: apache > PHP_RPATHS: /usr/local/lib/mysql > uname -a: FreeBSD tracker 4.0-STABLE FreeBSD 4.0-STABLE #0: Tue Jul 4 > 12:18:07 EDT 2000 roo > t@tracker:/usr/obj/usr/src/sys/tracker i386 >=20 > cc -o conftest -O -pipe -R/usr/local/lib/mysql -L/usr/local/lib/mysql > conftest.c -lmysqlclient - > lm -lcrypt 1>&5 > /usr/local/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used > unsafely; consider using > mkstemp() >=20 >=20 > Any idea what to do with that? >=20 >=20 >=20 > Larry Rosenman wrote: > >=20 > > nope... Not at all. I added them to my stuff for me... > >=20 > > LER > >=20 > > > Sorry Larry, but I'm still somewhat lost here. > > > I have installed mod_php-4.0.0 and packages that installed with it > > > through ports, > > > but mod_perl and mod_dav are not installed. > > > Do I need them? > > > > > > Larry Rosenman wrote: > > > > > > > > They aren't, I added them for my amusement. > > > > > > > > You just need either mod_php3 or mod_php4 (as you can see, they > > > > co-exist). > > > > > > > > LER > > > > > > > > > Larry Rosenman wrote: > > > > > > > > > > OK - but if these are needed to run PHP - how come they weren't a= dded > > > > > with the 7 or so packages that load off ports automatically when I > > > > > installed PHP? > > > > > > > > > > > > I added them from the ports (/usr/ports/www/mod_perl, /usr/port= s/www/mod_dav), > > > > > > they added themselves to the config file. > > > > > > > > > > > > > Larry Rosenman wrote: > > > > > > > > > > > > > > > > what does the apache config say? > > > > > > > > > > > > > > > > Here is my apache.conf, and it has > > > > > > > > > > > > > > > > PHP 3 > > > > > > > > PHP 4 > > > > > > > > mod_perl > > > > > > > > mod_dav > > > > > > > > > > > > > > > > all activated. > > > > > > > > > > > > > > > OK - so I've got PHP 3 and PHP 4 activated, but mod_perl and = mod_dav > > > > > > > are nowhere to be found in my apache conf file. > > > > > > > > > > > > > > I recently removed perl 5 from my system - could that be the = problem? > > > > > > > (newbie question) > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org > > > > > > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > > > > > > > > > > -- > > > > > "It's not just a computer -- it's your ass." > > > > > -- Cal Keegan > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org > > > > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > > > > > > -- > > > When you try to make an impression, the chances are that is the > > > impression you will make. > >=20 > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org > > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 >=20 > --=20 > "It runs like _=08x, where _=08x is something unsavory" > -- Prof. Romas Aleliunas, CS 435 --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message