Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 20:20:43 -0500 (CDT)
From:      Larry Rosenman <ler@lerctr.org>
To:        David@SkytrackerCanada.com
Cc:        Larry Rosenman <ler@lerctr.org>, questions@freebsd.org
Subject:   Re: newbie of php problem - code shows no output
Message-ID:  <200007150120.e6F1Kh829720@lerami.lerctr.org>
In-Reply-To: <396FBBA9.3A6BDF44@www3.pacific-pages.com> "from David Banning at Jul 14, 2000 09:17:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007150120.e6F1Kh829720>