Activity Stream
48,167 MEMBERS
65399 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1.     
    #1
    Member
    Website's:
    SpicyDen.com

    Smile how to change?

    hello guys i installed cpanel in my linux server i got 1 prob that is Increase upload size in php.ini file by default its restricted to upload file size is 2MB how to change that size limit in php.ini file i didn't find that file in my root folder can any one pls help me where i can find that file and where i hav to edit upload limit size from 2mb size to 1gb pls pls urgent
    jayaraj.chinna Reviewed by jayaraj.chinna on . how to change? hello guys i installed cpanel in my linux server i got 1 prob that is Increase upload size in php.ini file by default its restricted to upload file size is 2MB how to change that size limit in php.ini file i didn't find that file in my root folder can any one pls help me where i can find that file and where i hav to edit upload limit size from 2mb size to 1gb pls pls urgent Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    SpicyDen.com
    urgent guys pls help meeeeeee

  4.     
    #3
    Banned
    Website's:
    CuraShare.Net CuraShare.Me CuraShare.Info
    I don't have experience with cPanel, however I know that the php.ini file is located someware in your website's home directory (thus not public_html) or in /etc/php5/*

  5.     
    #4
    Member
    Website's:
    SpicyDen.com
    i didn't find in etc folder

  6.     
    #5
    Respected Member
    use this ssh command to find all php.ini files in reverse date order. Cpanel usually hides it under a cpanel folder.

    Code: 
    find / -name php.ini  -print0 | xargs -0 stat --format '%Y %n'|sort -r

  7.     
    #6
    Member
    Website's:
    SpicyDen.com
    Quote Originally Posted by Lock Down View Post
    use this ssh command to find all php.ini files in reverse date order. Cpanel usually hides it under a cpanel folder.

    Code: 
    find / -name php.ini  -print0 | xargs -0 stat --format '%Y %n'|sort -r

    will u plz also tell me how to change that upload limit to more than 2MB using SSH

  8.     
    #7
    Respected Member
    Once you find the php.ini use VI editor ( http://lowfatlinux.com/linux-editor-vi.html )
    find in the file :

    • upload_max_filesize = 2M
    • post_max_size = 2M

    Change the 2M to whatever size you want it to be.. Then save the file ..

    Then you will have to restart httpd service ..

    service httpd restart

  9.     
    #8
    Member
    php.ini is located at /usr/local/lib/php.ini at default cPanel setup.

    As mentioned above, you will need to restart HTTPD after changing php.ini.
    # service httpd restart
    KnownSRV.com - Quality comes at a price, and we provide it at affordable prices.
    PayPal, Skrill(MoneyBookers), Payza(AlertPay), 2CheckOut and LibertyReserve accepted!

  10.     
    #9
    Member
    Website's:
    SpicyDen.com
    Quote Originally Posted by Lock Down View Post
    Once you find the php.ini use VI editor ( http://lowfatlinux.com/linux-editor-vi.html )
    find in the file :

    • upload_max_filesize = 2M
    • post_max_size = 2M

    Change the 2M to whatever size you want it to be.. Then save the file ..

    Then you will have to restart httpd service ..
    Thnx Dude I ll try

  11.     
    #10
    Respected Member
    You are welcome

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VPS IP change
    By tut2tut in forum General Discussion
    Replies: 2
    Last Post: 7th Dec 2011, 09:25 AM
  2. [Hiring] Need VPs having change Ips Every Day
    By ahsanmcsd in forum Completed Transactions
    Replies: 8
    Last Post: 7th May 2011, 06:23 AM
  3. How to change these
    By downloadsmasti in forum vBulletin
    Replies: 6
    Last Post: 23rd Feb 2011, 03:29 AM
  4. Name change
    By H0VA in forum Technical Help Desk Support
    Replies: 4
    Last Post: 16th Jul 2010, 10:00 PM
  5. An IDEA can change ur Life ...But A Girl Can change Ur IDEA
    By desiboy in forum General Discussion
    Replies: 1
    Last Post: 28th Jun 2009, 06:43 PM

Tags for this Thread

BE SOCIAL