Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2002 12:28:45 +0200
From:      "Ruben Kerkhof" <ruben@sion.themirror.nl>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: php.ini
Message-ID:  <00be01c20e0e$1aad6f20$aa00000a@blaat>
References:  <20020606212652.O50660-100000@serv1.wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You can make a little php-file in your document_root:

<?php

phpinfo();

?>

Then php shows you the path to your php.ini file

Hope this helps,

Ruben

> > On Thu, 6 Jun 2002, Michael Sharp wrote:
> >
> > > I just installed the apache+mod_ssl port (apache+mod_ssl-1.3.24+2.8.8)
,
> > > as well as mod_php4 (mod_php4-4.2.1_1) and mod_perl (mod_perl-1.26)
> > > after doing a fresh CVsup of ports on FreeBSD 4.6-RC.  I need to edit
> > > php.ini for an app I want to install, but find / -name php.ini
> > > says there is no php.ini on the system, yet php functionality IS
working
> > > in apache. Am I missing something, or is mod_php4 not using a php.ini
> > > anymore?
> > In /usr/ports/mod_php4/pkg-plist php.ini not found. Mayb mod using some
> > defaults, and you must create php.ini by yourself to override settings.
> > I'm not sure, 'cos i install my php module from sources from www.php.net
> > And php.ini _was_ created in this case.
> >
> > >
> > > michael



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?00be01c20e0e$1aad6f20$aa00000a>