Re: [PHP-DB] PHP.ini file

2011-05-03 Thread David Robley
Gavin Chalkley wrote:

 Is there no way of setting unique .ini?
 
 As I am running multi Dev sites from Xampp, of which require different
 includes and other settings
 
 On 2 May 2011 18:31, Barry Stear bst...@gmail.com wrote:
 You just need to update the php.ini file that you have making any changes
 necessary. I would suggest making a backup of your existing php.ini file
 first.

 Regards,

 Barry

 On Sat, Apr 30, 2011 at 4:27 AM, Gavin Chalkley
 gavin.chalk...@gmail.com wrote:

 Afternoon all.

 I have a dev server using XAMPP, and am wondering if somone could
 point how to add a custom php.ini file?

 I have the ability to do this on the live server but am unsure how to
 make this read on the dev server?


Use a base php.ini for values common to all sites, then make variations as
necessary in your vhost config files.

http://php.net/manual/en/configuration.changes.php


Cheers
-- 
David Robley

The calm confidence of a Christian with four Aces. - M.Twain
Today is Pungenday, the 50th day of Discord in the YOLD 3177. 
Celebrate Discoflux


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] PHP.ini file

2011-05-02 Thread Gavin Chalkley
Is there no way of setting unique .ini?

As I am running multi Dev sites from Xampp, of which require different
includes and other settings

On 2 May 2011 18:31, Barry Stear bst...@gmail.com wrote:
 You just need to update the php.ini file that you have making any changes
 necessary. I would suggest making a backup of your existing php.ini file
 first.

 Regards,

 Barry

 On Sat, Apr 30, 2011 at 4:27 AM, Gavin Chalkley gavin.chalk...@gmail.com
 wrote:

 Afternoon all.

 I have a dev server using XAMPP, and am wondering if somone could
 point how to add a custom php.ini file?

 I have the ability to do this on the live server but am unsure how to
 make this read on the dev server?

 --
 Best regards,

 Gavin C

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




 --
 a href=http://www.c28.com/?adid=stiid=19467;
 img src=http://www.c28.com/images/banner_88x31.gif; border=0 width=88
 height=31/a




-- 
Best regards,

Gavin C

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] PHP.ini file

2011-04-30 Thread Gavin Chalkley
Afternoon all.

I have a dev server using XAMPP, and am wondering if somone could
point how to add a custom php.ini file?

I have the ability to do this on the live server but am unsure how to
make this read on the dev server?

-- 
Best regards,

Gavin C

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] php.ini

2003-07-06 Thread Jason Wong
On Sunday 06 July 2003 00:13, frank wrote:
 i found that even i have not the php.ini in my SYSTEMROOT, php can still
 run ... why?

 For window XP, should it be placed in c:/WINDOWS? or any other ?

If no php.ini is found then default values will be used.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
Life.  Don't talk to me about life.
- Marvin the Paranoid Anroid
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] php.ini

2003-07-06 Thread Russell Griechen
  i found that even i have not the php.ini in my SYSTEMROOT, php can still
  run ... why?
 
 
Sometimes they place it in C:\winnt\php.ini

search for  php.ini and it will show if there is a file and where it is.

Russell Griechen

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] php.ini

2003-07-06 Thread jsWalter
My understanding is the location PHP looks for the php.ini is dependant on
the OS and what %SYSTEMROOT% is set to.

This is what I have gleemed from my reading on this, as I had the same
issue.

walter


Russell Griechen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  i found that even i have not the php.ini in my SYSTEMROOT, php can still
   run ... why?
  

 Sometimes they place it in C:\winnt\php.ini

 search for  php.ini and it will show if there is a file and where it is.

 Russell Griechen



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] php.ini

2003-07-05 Thread frank
i found that even i have not the php.ini in my SYSTEMROOT, php can still run
... why?

For window XP, should it be placed in c:/WINDOWS? or any other ?

thx for answer!



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] PHP.ini

2003-01-19 Thread Sabina A. Schneider
Sorry... here is the attach!

  Sabina Alejandra Schneider
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] php.ini Question

2002-05-24 Thread Daz

Hi

could anyone point me in the right direction please??

I needed to use php to upload some large files into mysql and reading 
through previous posts saw that the php.ini file has a default entry 
limit of 2M... this explained why small files were ok but not large 
ones...

OK.. but I didnt have a php.ini... hence I downloaded the lastest php 
and used the 4.2.1 php.ini-dist file renaming it to the php.ini 
and putting it in usr/local/bin as listed in  phpinfo()

I changed the min file upload limit to 1000M setting and rebooted the machine..

Since then  phpinfo() says the default php.ini file is just 
/php.ini and also worse is that all my forms no longer work! basic 
variables are not being passed across...

I also read that this can be caused by a setting in the php.ini 
file.. but which one?

Also is there a limit on the file size I can upload?? I noticed that 
there is also a limit in the php.ini file on the amount of data 
post can handle.. is this a concern??

Setup: OSX  Server 10.1.4, PHP 4.2.1, Mysql 3.23.46

Cheers for any advice!

Daz
-- 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] php.ini Question

2002-05-24 Thread Daz

Hi

could anyone point me in the right direction please??

I needed to use php to upload some large files into mysql and reading 
through previous posts saw that the php.ini file has a default entry 
limit of 2M... this explained why small files were ok but not large 
ones...

OK.. but I didnt have a php.ini... hence I downloaded the lastest php 
and used the 4.2.1 php.ini-dist file renaming it to the php.ini 
and putting it in usr/local/bin as listed in  phpinfo()

I changed the min file upload limit to 1000M setting and rebooted the machine..

Since then  phpinfo() says the default php.ini file is just 
/php.ini and also worse is that all my forms no longer work! basic 
variables are not being passed across...

I also read that this can be caused by a setting in the php.ini 
file.. but which one?

Also is there a limit on the file size I can upload?? I noticed that 
there is also a limit in the php.ini file on the amount of data 
post can handle.. is this a concern??

Setup: OSX  Server 10.1.4, PHP 4.2.1, Mysql 3.23.46

Cheers for any advice!

Daz

BTW Sorry if you get this twice but I had a response from the list saying
could not be delivered... mailing list (Mailbox or Conference is full.)?

-- 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] php.ini Question

2002-05-24 Thread Jason Wong

On Friday 24 May 2002 20:35, Daz wrote:
 Hi

 could anyone point me in the right direction please??

Yes, but there's no need to post twice. 

 I needed to use php to upload some large files into mysql and reading
 through previous posts saw that the php.ini file has a default entry
 limit of 2M... this explained why small files were ok but not large
 ones...

 OK.. but I didnt have a php.ini... hence I downloaded the lastest php
 and used the 4.2.1 php.ini-dist file renaming it to the php.ini
 and putting it in usr/local/bin as listed in  phpinfo()

 I changed the min file upload limit to 1000M setting and rebooted the
 machine..

I hope you mean the max file upload limit.

 Since then  phpinfo() says the default php.ini file is just
 /php.ini and also worse is that all my forms no longer work! basic
 variables are not being passed across...

Most likely it's because you have:

  register_globals = Off

 I also read that this can be caused by a setting in the php.ini
 file.. but which one?

Best way to find out is to go through the whole php.ini file. Have the manual 
handy so you can refer to what settings does what.

 Also is there a limit on the file size I can upload?? I noticed that
 there is also a limit in the php.ini file on the amount of data
 post can handle.. is this a concern??

Probably, if you find that you're still hitting a limit then increase 
post_max_size as well. Also for older versions of php file uploads are 
stored in memory and are not written to disk until the whole file has been 
transferred. Thus you may find that you need to increase memory_limit as 
well.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *


/*
There... I've run rings 'round you logically
-- Monty Python's Flying Circus
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php