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
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.