Custom php.ini file not working

2011-01-28 Thread Jerrin
Hi,


i have a  freebsd 7.3 server running apache2. php is configured to work with
the apache fcgid module.
i need to have a custom php.ini  file for some websites,the fcgidwrapper
script that i use is like this

#!/bin/sh
PHPRC=/usr/home/somefolder
export PHPRC
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN
export PHP_FCGI_MAX_REQUESTS=40
#export PHP_FCGI_MAX_REQUESTS
exec /usr/local/bin/php-cgi

a custom  php.ini file is here  /home/somefolder/php.ini

the phpinfo page shows the Loaded Configuration File as
/usr/home/somefolder/php.ini

Configuration File (php.ini) Path   /usr/local/etc
Loaded Configuration File   /usr/home/somefolder/php.ini
Scan this dir for additional .ini files /usr/local/etc/php

but the changes made in the  /usr/home/somefolder/php.ini doesn't shows up
on the phpinfo page.
changes made to /usr/local/etc/php.ini also won't show up. only the changes
made to the php.ini
file in   /usr/local/etc/php/php.ini is working.

Thank you
Rihaz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PHP Apache module no longer loads /usr/local/etc/php.ini

2009-01-07 Thread Morgan Wesström


APseudoUtopia wrote:
> On Tue, Jan 6, 2009 at 12:26 AM, Morgan Wesström
>  wrote:
>> Hi.
>>
>> I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache
>> 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP
>> module on one of those servers no longer loads /usr/local/etc/php.ini
>> and I can't for my world figure out what's preventing it. My workaround
>> right now is to move php.ini to / where it is loaded properly.
>>
>> phpinfo on non-working server:
>> http://pp.dyndns.biz/phpinfo.php
>>
>> phpinfo on working server:
>> http://prefectftp.no-ip.com/phpinfo.php
>>
>> According to php.net the default location for php.ini is /usr/local/lib
>> and to change that you have to compile PHP with
>> --with-config-file-path=/some/path but I can't see that this is done on
>> FreeBSD. Still /usr/local/etc is listed in phpinfo's "Configuration File
>> (php.ini) Path". What mechanism does FreeBSD use to alter the default
>> location of the ini file? Can I somehow have interfered with that mechanism?
>>
>> The following things DO work though:
>> - Setting PHPRC to /usr/local/etc (as described in php.ini) and
>> restarting Apache loads /usr/local/etc/php.ini correctly.
>> - CLI version works correctly regardless of PHPRC:
>> # php -i | grep php.ini
>> Configuration File (php.ini) Path => /usr/local/etc
>> Loaded Configuration File => /usr/local/etc/php.ini
>>
>> No errors are listed in any log-file and I've been banging my head
>> against the wall for four days now trying to solve this... Any help
>> would be appreciated to figure out what stupid mistake I've made. :-)
>>
>> Regards
>> Morgan
>>
> 
> Notice:
> Configuration File (php.ini) Path     /usr/local/etc
> Loaded Configuration File /php.ini
> 
> So it _IS_ looking in /usr/local/etc/ for a php.ini file, it just can't find 
> it.
> Move the file back to /usr/local/etc/, then make sure the permissions
> are correct (so the www-data user can read) on both the php.ini file
> and the directories above it.
> 

I forgot to respond to the list on this.

php.ini was present all the time in /usr/local/etc and with the right
permissions. There seemed however to be some weird inconsistencies in my
filesystem after one of the disks in my gmirror RAID1 failed earlier
that day and I had to rebuild it. Creating a new copy of php.ini in
/usr/local/etc once again made the php module able to pick it up. I have
now fsck:ed all filesystems and I hope they're alright again.

Just out of curiosity: how does the FreeBSD port of lang/php5 find
/usr/local/etc/php.ini without being compiled with --with-config-file-path ?

/Morgan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PHP Apache module no longer loads /usr/local/etc/php.ini

2009-01-06 Thread APseudoUtopia
On Tue, Jan 6, 2009 at 12:26 AM, Morgan Wesström
 wrote:
> Hi.
>
> I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache
> 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP
> module on one of those servers no longer loads /usr/local/etc/php.ini
> and I can't for my world figure out what's preventing it. My workaround
> right now is to move php.ini to / where it is loaded properly.
>
> phpinfo on non-working server:
> http://pp.dyndns.biz/phpinfo.php
>
> phpinfo on working server:
> http://prefectftp.no-ip.com/phpinfo.php
>
> According to php.net the default location for php.ini is /usr/local/lib
> and to change that you have to compile PHP with
> --with-config-file-path=/some/path but I can't see that this is done on
> FreeBSD. Still /usr/local/etc is listed in phpinfo's "Configuration File
> (php.ini) Path". What mechanism does FreeBSD use to alter the default
> location of the ini file? Can I somehow have interfered with that mechanism?
>
> The following things DO work though:
> - Setting PHPRC to /usr/local/etc (as described in php.ini) and
> restarting Apache loads /usr/local/etc/php.ini correctly.
> - CLI version works correctly regardless of PHPRC:
> # php -i | grep php.ini
> Configuration File (php.ini) Path => /usr/local/etc
> Loaded Configuration File => /usr/local/etc/php.ini
>
> No errors are listed in any log-file and I've been banging my head
> against the wall for four days now trying to solve this... Any help
> would be appreciated to figure out what stupid mistake I've made. :-)
>
> Regards
> Morgan
>

Notice:
Configuration File (php.ini) Path   /usr/local/etc
Loaded Configuration File   /php.ini

So it _IS_ looking in /usr/local/etc/ for a php.ini file, it just can't find it.
Move the file back to /usr/local/etc/, then make sure the permissions
are correct (so the www-data user can read) on both the php.ini file
and the directories above it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

PHP Apache module no longer loads /usr/local/etc/php.ini

2009-01-05 Thread Morgan Wesström
Hi.

I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache
2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP
module on one of those servers no longer loads /usr/local/etc/php.ini
and I can't for my world figure out what's preventing it. My workaround
right now is to move php.ini to / where it is loaded properly.

phpinfo on non-working server:
http://pp.dyndns.biz/phpinfo.php

phpinfo on working server:
http://prefectftp.no-ip.com/phpinfo.php

According to php.net the default location for php.ini is /usr/local/lib
and to change that you have to compile PHP with
--with-config-file-path=/some/path but I can't see that this is done on
FreeBSD. Still /usr/local/etc is listed in phpinfo's "Configuration File
(php.ini) Path". What mechanism does FreeBSD use to alter the default
location of the ini file? Can I somehow have interfered with that mechanism?

The following things DO work though:
- Setting PHPRC to /usr/local/etc (as described in php.ini) and
restarting Apache loads /usr/local/etc/php.ini correctly.
- CLI version works correctly regardless of PHPRC:
# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => /usr/local/etc/php.ini

No errors are listed in any log-file and I've been banging my head
against the wall for four days now trying to solve this... Any help
would be appreciated to figure out what stupid mistake I've made. :-)

Regards
Morgan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: use a specific php.ini for php cli

2008-06-12 Thread AlexW474
On Jun 12, 5:24 pm, AlexW474 <[EMAIL PROTECTED]> wrote:
> On Jun 4, 3:31 pm, Bill Moran <[EMAIL PROTECTED]> wrote:
>
>
>
> > In response to Nicolas Letellier <[EMAIL PROTECTED]>:
>
> > > Hello.
>
> > > I would like to know if it is possible to have anotherphp.ini forphp
> > > command line? I have aphp.ini with many restrictions (open_basedir,
> > > disabled functions, etc...) used byapache(and mod_php).
>
> > > I would like to user anotherphp.ini file forphpcommand line (I don't
> > > want to have disabled functions or safe_mode for command linephp).
>
> > > I use php5 in the port tree.
> > >From 'manphp':
>
> >--php-ini path|file
> >-c path|file   Look forphp.ini file in the directory path or  use  
> > the
> >   specified file
>
> You can use this 
> instruction:http://www.witsuite.com/support/knowledge-base/manual-installation/in...
>
> It clearly shows how to use differentphp.ini forApachePHPandPHP
> CLI.
> You can even create a few bat files with different environment.
BTW, this instruction is for Windows, but the approach is suitable for
FreeBSD as well.

>
> Regards,
> Alex
> ___
> [EMAIL PROTECTED] mailing 
> listhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: use a specific php.ini for php cli

2008-06-12 Thread AlexW474


On Jun 4, 3:31 pm, Bill Moran <[EMAIL PROTECTED]> wrote:
> In response to Nicolas Letellier <[EMAIL PROTECTED]>:
>
> > Hello.
>
> > I would like to know if it is possible to have anotherphp.ini forphp
> > command line? I have aphp.ini with many restrictions (open_basedir,
> > disabled functions, etc...) used byapache(and mod_php).
>
> > I would like to user anotherphp.ini file forphpcommand line (I don't
> > want to have disabled functions or safe_mode for command linephp).
>
> > I use php5 in the port tree.
> >From 'manphp':
>
>--php-ini path|file
>-c path|file   Look forphp.ini file in the directory path or  use  the
>   specified file

You can use this instruction:
http://www.witsuite.com/support/knowledge-base/manual-installation/install-php.php#configure-php-to-use-in-command-prompt

It clearly shows how to use different php.ini for Apache PHP and PHP
CLI.
You can even create a few bat files with different environment.

Regards,
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: use a specific php.ini for php cli

2008-06-04 Thread Bill Moran
In response to Nicolas Letellier <[EMAIL PROTECTED]>:

> Hello.
> 
> I would like to know if it is possible to have another php.ini for php
> command line? I have a php.ini with many restrictions (open_basedir,
> disabled functions, etc...) used by apache (and mod_php).
> 
> I would like to user another php.ini file for php command line (I don't
> want to have disabled functions or safe_mode for command line php).
> 
> I use php5 in the port tree.

>From 'man php':

   --php-ini path|file
   -c path|file   Look for php.ini file in the directory path or  use  the
  specified file


-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


use a specific php.ini for php cli

2008-06-04 Thread Nicolas Letellier
Hello.

I would like to know if it is possible to have another php.ini for php
command line? I have a php.ini with many restrictions (open_basedir,
disabled functions, etc...) used by apache (and mod_php).

I would like to user another php.ini file for php command line (I don't
want to have disabled functions or safe_mode for command line php).

I use php5 in the port tree.

Thanks for your informations.

-- 
 - Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD6: php.ini not find in phpinfo

2007-06-11 Thread Richard Lynch
On Sun, June 10, 2007 7:49 pm, James liu wrote:
> i use ports to default setup...
>
> web£ºlighttpd
>
> php: php5+php5-extensions
>
>
> cp /usr/local/etc/php.ini-recommended /usr/local/etc/php.ini
>
> restart lighttpd and phpinfo don't know php.ini.
>
> now i wanna config php moudel, but if no php.ini, i will do nothing.
>
> anyone know how to let phpinfo find php.ini?

phpinfo() output includes the directory name where it is looking for
php.ini

Put your php.ini file there.

You can also, in Apache2 and more recent versions of php, add a
configure directive to Apahce that tells PHP where to look for
php.ini.  It is named something like PHPIniDir, I believe.
http://apache.org

Note that PHP running as an Apache module reads the php.ini file only
once, when Apache STARTS UP.

You *must* re-start Apache to get your "new" or "changed" php.ini file
to be re-read.

If you are running as CGI, PHP is re-started on each page hit, and
reads php.ini at that time.

If you are running as FCGI, re-start the FCGI process should do it, I
would think, but never investigated...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD6: php.ini not find in phpinfo

2007-06-10 Thread James liu

i use ports to default setup...

web:lighttpd

php: php5+php5-extensions


cp /usr/local/etc/php.ini-recommended /usr/local/etc/php.ini

restart lighttpd and phpinfo don't know php.ini.

now i wanna config php moudel, but if no php.ini, i will do nothing.

anyone know how to let phpinfo find php.ini?


--
regards
jl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: php.ini in /usr/local/etc

2007-02-12 Thread Bill Moran
In response to Noah <[EMAIL PROTECTED]>:
> 
> some flavors of linux place php/ini in /usr/local/lib.  I am wondering 
> if there is a web page and/or document that describes the convention 
> and  importance of placing config and ini files in /usr/local/etc

man hier is the best reference I know.

The basic rule is that stuff that is installed through ports gets its
config in /usr/local/etc.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php.ini in /usr/local/etc

2007-02-12 Thread Hugo Silva

Noah wrote:

Hi there,

some flavors of linux place php/ini in /usr/local/lib.  I am wondering 
if there is a web page and/or document that describes the convention 
and  importance of placing config and ini files in /usr/local/etc


cheers,

Noah



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


It's a 3rd party configuration file, hence it's in /usr/local/etc and 
not /etc/ , and imo it wouldn't make sense if it was anywhere else.


Check man hier(7)

Hugo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php.ini in /usr/local/etc

2007-02-12 Thread Noah

Hi there,

some flavors of linux place php/ini in /usr/local/lib.  I am wondering 
if there is a web page and/or document that describes the convention 
and  importance of placing config and ini files in /usr/local/etc


cheers,

Noah



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd technology + mail + php.ini

2006-01-10 Thread c-boulard
Hi,
I'm a "disabled" noob and have an obsessing problem about the freebsd 
technology  this is why I allow myself to address this message to you. I don't 
find any resource about this topic on the web, may be too particular...If you 
want to help me about the following problem :
What shall i modify in my php.ini to send a message through a windows server 
exchange from an hosting freebsd server ? (i guess your comments but these are 
the pre-necessaries of my customer)
HELP ! (Thanks in all the cases)
Sincerely,
CB
Ps : Happy New Year ^^

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php.ini

2005-01-16 Thread Xian
On Sunday 16 January 2005 12:47, Dick Hoogendijk wrote:
> I installed php4 from ports. In /usr/local/etc are two files,
> php.ini-recommended and php.ini-dist. I have two questions:
> (a) I understand the recommended file is the most secure (?)
> (b) To what location do I have to copy one of them as php.ini? I read
> somewhere that I need to copy the file to /usr/local/lib. Is that right?
> The manual does not mention it ;-(
> Any help would be appreciated.

I installed PHP from the source code not ports, but my php.ini file 
is /usr/local/lib/php.ini

-- 
/Xian

"You cannot shake hands with a clenched fist"
Golda Meir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php.ini

2005-01-16 Thread Dick Hoogendijk
I installed php4 from ports. In /usr/local/etc are two files,
php.ini-recommended and php.ini-dist. I have two questions:
(a) I understand the recommended file is the most secure (?)
(b) To what location do I have to copy one of them as php.ini? I read
somewhere that I need to copy the file to /usr/local/lib. Is that right?
The manual does not mention it ;-(
Any help would be appreciated.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP.ini

2003-11-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Ian Barnes wrote:

Hi,

I appologise for duplicate posting. I forgot to attach the file

I am having problems parsing php variables.

say now i goto http://www.testdomain.com/index.php?news=TODAY its not
carrying the news=TODAY variable to the next page.
I have gone through my php.ini file and i cant find any problems. Now im
fairly sure that it is my php.ini file thats causing the problems. Attached
is my php.ini, if someone could find a fault i would be most gratefull.
I am running PHP 4-4.3.3.r1_1,1 withApache 1.3.27_5 on FreeBSD 4.9 Stable.

Thanks.

Ian
 

While it would be more appropriate to post this in
some forum or list that deals specifically with PHP
--- I'd recommend the forums at phpbuilder.com or
phpfreaks.com; both are friendly and have knowledgeable
PHP coders present.
However, this is absolutely the #1 FAQ re:
PHP at present, and it couldn't hurt, in light of the
continual growth in popularity of this scripting
language, to address it here.
PHP is now shipped with register_globals=OFF,
as noted in your attached file.  If you access the
URL http://www.foo.com/foo.php?bar=baz, and then attempt
this in the script "foo.php"


echo $bar;

?>

You will get no output.  It is recommended that
you code foo.php thus:


echo $_GET['bar'];

?>

which is the above case would echo "baz"
to the browser.
The workarounds are many; the one you are
looking for is to change the register_globals
directive in your php.ini to =ON and restart
Apache.  This is not recommended for several
security reasons.
As mentioned before, it's *recommended highly*
that you begin converting your scripts to the latter
usage.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP.ini

2003-11-15 Thread Matthew Seaman
On Sat, Nov 15, 2003 at 07:08:40PM +0200, Ian Barnes wrote:

> I am having problems parsing php variables.
> 
> say now i goto http://www.testdomain.com/index.php?news=TODAY its not
> carrying the news=TODAY variable to the next page.
> 
> I have gone through my php.ini file and i cant find any problems. Now im
> fairly sure that it is my php.ini file thats causing the problems. Attached
> is my php.ini, if someone could find a fault i would be most gratefull.

register_globals is turned off for security reasons nowadays.  You
should be very careful of turning off register_globals on any machine
exposed to the internet.

The recommended way to access the CGI data is through the $_GET[]
array (or $_POST[] for scripts that work by that action)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: PHP.ini

2003-11-15 Thread Peter Zyumbilev
This:
register_globals = Off
 shol
uld be:
register_globals = On

BIVOL
- Original Message - 
From: "Ian Barnes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 15, 2003 7:08 PM
Subject: PHP.ini


> Hi,
>
> I appologise for duplicate posting. I forgot to attach the file
>
> I am having problems parsing php variables.
>
> say now i goto http://www.testdomain.com/index.php?news=TODAY its not
> carrying the news=TODAY variable to the next page.
>
> I have gone through my php.ini file and i cant find any problems. Now im
> fairly sure that it is my php.ini file thats causing the problems.
Attached
> is my php.ini, if someone could find a fault i would be most gratefull.
>
> I am running PHP 4-4.3.3.r1_1,1 withApache 1.3.27_5 on FreeBSD 4.9 Stable.
>
> Thanks.
>
> Ian
>






> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PHP.ini

2003-11-15 Thread Ian Barnes
Hi,

I appologise for duplicate posting. I forgot to attach the file

I am having problems parsing php variables.

say now i goto http://www.testdomain.com/index.php?news=TODAY its not
carrying the news=TODAY variable to the next page.

I have gone through my php.ini file and i cant find any problems. Now im
fairly sure that it is my php.ini file thats causing the problems. Attached
is my php.ini, if someone could find a fault i would be most gratefull.

I am running PHP 4-4.3.3.r1_1,1 withApache 1.3.27_5 on FreeBSD 4.9 Stable.

Thanks.

Ian


phpold.ini
Description: Binary data
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PHP.ini parsing problems

2003-11-15 Thread Ian Barnes
Hi,

I am having problems parsing php variables.

say now i goto http://www.testdomain.com/index.php?news=TODAY its not
carrying the news=TODAY variable to the next page.

I have gone through my php.ini file and i cant find any problems. Now im
fairly sure that it is my php.ini file thats causing the problems. Attached
is my php.ini, if someone could find a fault i would be most gratefull.

I am running PHP 4-4.3.3.r1_1,1 withApache 1.3.27_5 on FreeBSD 4.9 Stable.

Thanks.

Ian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php.ini

2002-11-28 Thread Ceri Davies
On Thu, Nov 28, 2002 at 11:12:12PM +0800, adrian kok wrote:
> 
> I installed mod_php4 by port
> 
> But where is a file php.ini?

/usr/local/etc/php.ini-dist

Ceri
-- 
Your ignorance shall be your last breath!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: php.ini

2002-11-28 Thread Jack L. Stone
At 11:12 PM 11.28.2002 +0800, adrian kok wrote:
>Hi all
>
>I installed mod_php4 by port
>
>But where is a file php.ini?
>
>Thank you for your help
>

Should be in /usr/local/etc

Your will have to rename it php.ini and edit any lines needed

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



php.ini

2002-11-28 Thread adrian kok
Hi all

I installed mod_php4 by port

But where is a file php.ini?

Thank you for your help

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message