I am using the linux OS to create an web application using PHP. In this I want to upload a file and move to a folder.I want to move the file up to the size of 25 MB. I used the code ini_set('max_upload_filesize', '25M'); But its not working. Is there any other way to change the max_fileupload_filesize in php.ini through code at run time. Any can help, Please?

Try this:

ini_set('post_max_size', '64M');
ini_set('upload_max_filesize', '64M');
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.