How to allow uploads in php.ini

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jimtron
    Junior Member
    • May 2004
    • 12

    #1

    How to allow uploads in php.ini

    I am having trouble getting uploads to work with dadabik software (mysql interface). In a dadabik forum, it was suggested, "Ensure you have uploads allowed in php.ini"

    Is this php.ini file something I need to create, or does it already exist? I have chmodded my uploads folder to 777, by the way.

    I'd appreciate any help.
  • -Oz-
    Senior Member
    • Mar 2004
    • 545

    #2
    i'm on cpanel28 and my uploads work fine without any changes. Granted, i'm not using the software but my own scripts. What type of files are you trying to upload?
    Dan Blomberg

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3655

      #3
      There is no need to chmod anything to 777 for PHP scripts on our servers. In fact, that will cause scripts not to work more often than not with phpsuexec. PHP uploading is enabled by default on all servers.

      Comment

      • jimtron
        Junior Member
        • May 2004
        • 12

        #4
        What should the permissions be for an upload folder? Also, is php.ini something we have access to?

        Thanks.
        Last edited by jimtron; 06-06-2005, 08:13 PM.

        Comment

        • AndrewT
          Administrator
          • Mar 2004
          • 3655

          #5
          As per my response to your ticket, you can create your own php.ini file in the directory of the script that requires the specific settings - but this will not be the problem here with uploading. Chmod the folder to 755 or leave it at the default, anything more than 755 and you will likely run into problems.

          Comment

          • jimtron
            Junior Member
            • May 2004
            • 12

            #6
            Thanks.

            Comment

            Working...