LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   upload_max_filesize won't change from default? please help (https://www.linuxquestions.org/questions/linux-software-2/upload_max_filesize-wont-change-from-default-please-help-828008/)

CMaan 08-23-2010 10:38 AM

upload_max_filesize won't change from default? please help
 
Hallo guys..
This is my first post on this forum, but its also the first problem I never had have with php in linux. :confused:

I have searched the net, but have not found a solution to the problem.

The problem is that "upload_max_filesize" wont change when I change the the default 2M to 10M in the php.ini and restart apache.

I have also tried make it change with a .htaccess file.
I have tried to search for all my php.ini files with
Code:

find / -name *php.ini
I get
Code:

/etc/php5/cli/php.ini
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini

My system is :Linux Debian-50-lenny-64-minimal 2.6.26-2-amd64
And I have installed a LAMP with the newest packages.
My next idea was to use a different version of php.

But hope someone know the issue an can help me out here.. I am getting :banghead:
thanks:)

quanta 08-23-2010 10:49 AM

Make sure you have edited the right php.ini file which Apache is using. You can create a info.php file to check that.

CMaan 08-23-2010 01:02 PM

Quote:

Originally Posted by quanta (Post 4075165)
Make sure you have edited the right php.ini file which Apache is using. You can create a info.php file to check that.

That I did...

CMaan 08-23-2010 06:08 PM

It works now... used a PHPINIDir an moved my php.ini file to /www/ now it works ... I think it was not reading the php.ini file.. :)

CMaan 08-23-2010 06:09 PM

It works now... used a PHPINIDir an moved my php.ini file to /www/ now it works ... I think it was not reading the php.ini file.. :)

please make this thread solved


All times are GMT -5. The time now is 05:01 PM.