[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] PHP Upload problem
- Subject: Re: [cobalt-users] [RaQ4] PHP Upload problem
- From: "Shaun Johnston" <shaun@xxxxxxxxxxxxxxxx>
- Date: Thu Nov 7 17:04:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi
> >As I recall nothing needs to be restarted for php to use the new settings
> >but I still cannot upload a file larger than 8mb. Any suggestions are
> >welcome!
> >
> >- Bill B.
> >
> >---------------------------------
> >William, You will probably need to restart you apache server so that it
can
> >re-read the PHP.INI.
> >any time you make a change to it, you need to do a hard restart
> >
> >/etc/rc.d/init.d/httpd restart
> >
> Yep Thanks! It's all good now. (somebody told me I didn't have to restart
:(
Instead of editing the php.ini file, I've found it's easier to set the
variables on an application level by using ini_set()
http://www.php.net/manual/en/function.ini-set.php