Uploading via php scripts

Discussion in 'Server Operation' started by stoute, Apr 27, 2013.

  1. stoute

    stoute New Member

    I installed Ubuntu 12.04, increased the max upload size in the php.ini file.

    /etc/php5/apache2/php.ini

    post_max_size = 1800M
    upload_max_filesize = 1800M

    Now with ANY php script on this server it gives me an error and doesn't allow the file to be uploaded. I know the file size above is quite large but I even get the errors on files smaller than 394KB too.

    I'm guessing I mucked up something somewhere and have 45 sites running on the server now so to reinstall and start over wouldn't be a viable option.

    You can see the php information page here: http://greenromproject.com/info.php
     
  2. darinpeterson

    darinpeterson Member

    What is the specific error that you receive?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Do you use Apache or nginx? Are there any errors in the web site's error log?
     

Share This Page