php.ini not working

Alles, was PHP betrifft, kann hier besprochen werden.

php.ini not working

Postby hombre » 02. June 2010 09:26

Hi Folks,

I changed my PHP.INI in /etc/php5/ from upload_max_filesize = 2M to upload_max_filesize = 4M

But I still can not load bigger files than 2M.. So I checked the configuration in phpinfo.php:

upload_max_filesize 2M (local) 2M (Master)

The Config-Directory is the same /etc/php5/

Other webservers have no Problems with that, but this one (set up by a different person) bugs me really :D

Can someone help me?

Thanx hombre
hombre
 
Posts: 13
Joined: 18. September 2009 10:33

Re: php.ini not working

Postby Altrea » 02. June 2010 09:45

Do you have restartet Apache after the change in the php.ini?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: php.ini not working

Postby Mario Lanz » 02. June 2010 09:46

silly question from my site, did you restart apache?
User avatar
Mario Lanz
 
Posts: 104
Joined: 13. October 2004 22:47
Location: CH, Volketswil

Re: php.ini not working

Postby hombre » 02. June 2010 09:49

More than once. I even restarted the server just to check o0
hombre
 
Posts: 13
Joined: 18. September 2009 10:33

Re: php.ini not working

Postby Mario Lanz » 02. June 2010 11:57

maybe you can copy a php.ini from the other server?
User avatar
Mario Lanz
 
Posts: 104
Joined: 13. October 2004 22:47
Location: CH, Volketswil

Re: php.ini not working

Postby hombre » 04. June 2010 08:14

Yes, that did work! But why? o0
hombre
 
Posts: 13
Joined: 18. September 2009 10:33

Re: php.ini not working

Postby Mario Lanz » 04. June 2010 21:26

don't ask me...

I just thought, when the others are working, why not copying them. May be ther was a spelling mistake or something was not set correctly?? :?
User avatar
Mario Lanz
 
Posts: 104
Joined: 13. October 2004 22:47
Location: CH, Volketswil


Return to PHP

Who is online

Users browsing this forum: No registered users and 26 guests