views:

43

answers:

2

I have changed all the php.ini parameters I know: upload_max_filesize, post_max_size.

Why am I still seeing 2MB?

Im using Zend Server CE, on a Ubuntu VirtualBox over Windows 7 host.

+2  A: 

You probably didn't restart your server ;)

Or you modified the wrong php.ini.

Or you actually managed to do both ^^

nikic
Hehe - I checked php.ini in use via and I restarted the server. I changed the settings via Zend Server - checked the phpinfo again, and the changes are there - but no effect on the phpMyAdmin form - when trying to import data/structure with a SQL file, I'm still limited by the 2MB.
Ronaldo Junior
Well that's odd then...
nikic
Maybe something with my environment? But I wonder how many developers do the same - using a linux distribution on a virtual machine as a local web server, for development. I guess a lot out there...
Ronaldo Junior
+1  A: 

I found the problem and am post hete if anyone followed some blog post out there to create the sort of enviromment I have (win 7 host with ubuntu and zend server ce on virtual box).

The thing is that MySQL is running on Lighttpd, not under Apache. So I had to change the php.ini file under that webserver as well which is in the path:

/usr/local/zend/gui/lighttpd/etc/php-fcgi.ini

In the end, you were right about the files, of course, but I was wrong on what file I had to change :)

Ronaldo Junior
uuh, that's nasty. Glad I have only Lighty installed and nothing more. That way I can't mix anything up ^^
nikic