Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2009 18:09:49 +0200
From:      Raphael Becker <rabe@uugrn.org>
To:        xer <xernet@hotmail.it>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: apache 2.0.63 and php5
Message-ID:  <20090412160949.GD1948@ma.sigsys.de>
In-Reply-To: <BAY126-DS4D615E21BA0F2E175F2E6A3810@phx.gbl>
References:  <20090409120815.A0FAB10658D2@hub.freebsd.org> <BAY126-DS4D615E21BA0F2E175F2E6A3810@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

--XvKFcGCOAo53UbWW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 11, 2009 at 06:37:48PM +0200, xer wrote:
> For fix it, i need to make a simple apachectl stop and start, then the ph=
p=20
> pages start to works...
>
> any ideas?

When you use apachectl start apache inherits the environment of the user
from apachectl, especially PATH. PATH is different for /root and boot.  =20

Create a simple php  with "<?php phpinfo(); ?>" in it and compare the
Values for PATH a) after boot b) after restart by apachectl



HTH

Raphael

--=20
Raphael Becker          <rabe@uugrn.org>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
=2E........|.........|.........|.........|.........|.........|.........|..

--XvKFcGCOAo53UbWW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFJ4hJNnNo+exDKny0RAqUsAKCPuIP8yqrCTXq1ycl6XeqDDDDbCQCghbE1
Zy8iEVRwSCKeiI7wwGDX4nM=
=a8EV
-----END PGP SIGNATURE-----

--XvKFcGCOAo53UbWW--



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