Jump to content


Photo

Max file size for upload

php upload

  • Please log in to reply
2 replies to this topic

#1 softlab

softlab

    Rank IV Member

  • Members
  • PipPipPipPip
  • 255 posts
  • Gender:Male
  • Location:Italy

Posted 26 November 2019 - 07:19 PM

Hi.

 

I'd like to know if there is a limit for a php application to upload a file and, if present, if it is customizable.

 

Thank you



#2 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 19,356 posts
  • Gender:Male

Posted 26 November 2019 - 08:08 PM

Yes, you can check the current php upload size by creating a phpinfo file. I usually name it phpinfo.php but it can be anything you want. Then put the contents
<?php

phpinfo();
When you visit this page in a browser it will list all the information about the php version you're using. Here's Johnny's php 5.6 for example https://krydos2.heli.../56/phpinfo.php Then you can search the page for the value you're looking for, such as max_file_uploads. If you need something changed on that page let us know and we can do it for you. For large uploads we recommend FTP though. Uploading large files through php is inefficient and uses a lot of memory and can cause instability on the server.

#3 softlab

softlab

    Rank IV Member

  • Members
  • PipPipPipPip
  • 255 posts
  • Gender:Male
  • Location:Italy

Posted 26 November 2019 - 08:52 PM

Ok, thank you.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users