[PHP] Changing the php.ini file
I changed a value for max uploads in my php.ini file (linux box); I restarted apache, then the whole server, to get the new value to come up and, generally, take affect. Neither of those things did it. Does anyone know what I need to do to get the ini file re-read by the OS, or system, so that the new value goes into effect? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Changing the php.ini file
[snip] I changed a value for max uploads in my php.ini file (linux box); I restarted apache, then the whole server, to get the new value to come up and, generally, take affect. Neither of those things did it. Does anyone know what I need to do to get the ini file re-read by the OS, or system, so that the new value goes into effect? [/snip] In your upload dialog form do you have something similar to this input type=hidden name=MAX_FILE_SIZE value=3 if so, it may need changing. If not, it may need adding. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Changing the php.ini file
I do have that in my form, it is set to 15 megs. I set the server (php.ini) to allow 15 megs. Still can't get anything past 2 megs to upload. :\ Thanks for help, -Mike -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:15 AM To: Mike At Spy; [EMAIL PROTECTED] Subject: RE: [PHP] Changing the php.ini file [snip] I changed a value for max uploads in my php.ini file (linux box); I restarted apache, then the whole server, to get the new value to come up and, generally, take affect. Neither of those things did it. Does anyone know what I need to do to get the ini file re-read by the OS, or system, so that the new value goes into effect? [/snip] In your upload dialog form do you have something similar to this input type=hidden name=MAX_FILE_SIZE value=3 if so, it may need changing. If not, it may need adding. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Changing the php.ini file
post_max_size is another setting that has effect on uploads. It should be higher than upload_max_filesize. Mike At Spy wrote: I changed a value for max uploads in my php.ini file (linux box); I restarted apache, then the whole server, to get the new value to come up and, generally, take affect. Neither of those things did it. Does anyone know what I need to do to get the ini file re-read by the OS, or system, so that the new value goes into effect? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Changing the php.ini file
Mike At Spy wrote: I changed a value for max uploads in my php.ini file (linux box); I restarted apache, then the whole server, to get the new value to come up and, generally, take affect. Neither of those things did it. Does anyone know what I need to do to get the ini file re-read by the OS, or system, so that the new value goes into effect? Take a look at the first block of the output from phpinfo() and make sure you were editing the correct php.ini file. Actually, make sure the phpinfo() still shows the old value for your setting and you're really sure you're changes haven't taken effect. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Changing the php.ini file
Marek Kilimajer wrote: post_max_size is another setting that has effect on uploads. It should be higher than upload_max_filesize. Make sure it isn't Apache doing the limiting, also. Some searching will tell you the setting, but Apache has a limit itself on the size of files it'll accept. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Changing the php.ini file
I re-checked the files - nothing I change in the php.ini files seems to take effect. How do I check apache? I saw the post_max_size thing and changed that to be equal to the upload_max_filesize. I'll make it a little higher. Outside of that, I have a cobalt raq4 I am working on with this, and the php.ini file is here: /usr/local/bin/php.ini Any other place an ini file might be? I've certainly learned not to depend on 'whereis' to list everything in the past. :) Thanks fot the help, -Mike -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:25 AM To: Marek Kilimajer Cc: Mike At Spy; [EMAIL PROTECTED] Subject: Re: [PHP] Changing the php.ini file Marek Kilimajer wrote: post_max_size is another setting that has effect on uploads. It should be higher than upload_max_filesize. Make sure it isn't Apache doing the limiting, also. Some searching will tell you the setting, but Apache has a limit itself on the size of files it'll accept. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Changing the php.ini file
On Wednesday 05 November 2003 22:38, Mike At Spy wrote: Outside of that, I have a cobalt raq4 I am working on with this, and the php.ini file is here: /usr/local/bin/php.ini Any other place an ini file might be? I've certainly learned not to depend on 'whereis' to list everything in the past. Where the php.ini is located is not the issue here. The issue is where php is expecting it to be. Search the archives (try using php.ini mac) for tips on how to determine this. -- 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-general -- /* In this vale Of toil and sin Your head grows bald But not your chin. -- Burma Shave */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Changing the php.ini file
On 05 November 2003 14:39, Mike At Spy contributed these pearls of wisdom: I re-checked the files - nothing I change in the php.ini files seems to take effect. How do I check apache? I saw the post_max_size thing and changed that to be equal to the upload_max_filesize. I'll make it a little higher. Outside of that, I have a cobalt raq4 I am working on with this, and the php.ini file is here: /usr/local/bin/php.ini That's all possibly irrelevant. Have you looked at your phpinfo() output to see where PHP is *expecting* to find the php.ini file? And is there a php.ini file there? Cheers! Mike -- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Changing the php.ini file
Bingo. I didn't even notice that the phpinfo was saying the ini file was in a different directory than the one I was looking at. So much for 'whereis' - again. :\ :) Thanks! -Mike -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:50 AM To: 'Mike At Spy' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Changing the php.ini file On 05 November 2003 14:39, Mike At Spy contributed these pearls of wisdom: I re-checked the files - nothing I change in the php.ini files seems to take effect. How do I check apache? I saw the post_max_size thing and changed that to be equal to the upload_max_filesize. I'll make it a little higher. Outside of that, I have a cobalt raq4 I am working on with this, and the php.ini file is here: /usr/local/bin/php.ini That's all possibly irrelevant. Have you looked at your phpinfo() output to see where PHP is *expecting* to find the php.ini file? And is there a php.ini file there? Cheers! Mike -- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Changing the php.ini file
[snip] Bingo. I didn't even notice that the phpinfo was saying the ini file was in a different directory than the one I was looking at. So much for 'whereis' - again. :\ [/snip] From the command line Mike try 'locate php.ini' (drop the quotes). You'll be surprised at what you might see. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php