PHP upload limit (Webmatrix)

52 views Asked by At

I changed the php upload limit in the php.ini file, but it didn't take effect.

I'm using MS Webmatrix on a local machine, and restarted it if that matters.

I'm not sure what to do?

2

There are 2 answers

1
Sam Kool On BEST ANSWER

Could you double check the location of the php.ini file used?

Run the following code:

phpinfo();

This will give you the PHP settings. On the 9th row the ini location should be printed (Loaded Configuration File)

If the file path is correct, please share the actual error you are getting.

0
AudioBubble On

I ran phpinfo(); then discovered that another version of php was actually being used.

So, I edited the right php.ini file, which was in a different location.

After restarting WebMatrix, everything worked as expected.