PHP upload_max_filesize

I have my website hosted on a shared hosting server.

I need to increase the maximum upload filesize, to do that, I created a file called php.ini on my website root folder. As soon as I create the file (php.ini), even before I add lines

upload_max_filesize = 10M

post_max_size = 20M

the application fail with the error:

include(PDO.php) [<a href="function.include">function.include</a>]: failed to open stream: No such file or directory

Any idea on why?

How can I increase the maximum upload filesize. Remember I don’t have access to the main php.ini file

Regards

I’m a little surprised they let you specify your own php.ini on a shared server.

But if that really is happening, you probably want to make a copy of the default one they’re using and edit the settings you want to change. Starting one from scratch may be your problem.

You can’t do that.

Get rid of it.

And post any errors here. If you get any.

The error says, in English: ‘PHP can’t find PDO.’

Which means that something’s wrong. Most probably PHP just lost the rest of the ini files, the include paths and the extension settings in particular.

You can’t do it from an ini file, you need to consult your hosting provider.

[color="#006400"]/* moved to installation forum from general Yii 1.1 forum */[/color]