cPanel面板空间自定义php.ini

许多cpanel免费空间的服务商为了安全和服务器负载方面的考虑,经常会禁用一些函数和其他方面的限制。比如最大上传文件大小默认为2M,可以修改php.ini来达到自己需要的大小。

遇到这种参数无法满足自己网站需求的免费空间我们可以自定义php.ini来修改。

 

方法:

方法非常简单,只需要在本地新建php.ini写上要修改的地方。

比如最大上传文件的php.ini代码是:

1
upload_max_filesize = 2M

只要在新建的php.ini文件中写上

1
upload_max_filesize = 1000M

1000就是你想要改的值。

然后将php.ini上传到 /home/用户名/public_html/ 目录下就可以了,如果没有效果可以在.htaccess文件加入代码:

1
SetEnv PHPRC /home/USERNAME/public_html

其中USERNAME为你的cPanel账号

再试试看是不是成功了,这个方法可以更改php.ini中的任何参数

 

原文地址:http://94iw.com/cpanel-panel-space-custom-php-ini

cPanel面板空间自定义php.ini》上有71条评论

  1. grosir baju bayi

    Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is magnificent, let alone the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  2. baju bayi

    Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is wonderful, let alone the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  3. baju anak bayi

    Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is fantastic, let alone the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  4. Perlengkapan Bayi Murah

    Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is excellent, let alone the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  5. baju bayi

    Wow, superb blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is wonderful, as well as the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  6. baju bayi

    Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is fantastic, as well as the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  7. baju bayi

    Wow, superb blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  8. baju bayi

    Wow, marvelous blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is great, as well as the content!. Thanks For Your article about cPanel面板空间自定义php.ini | ClarkChen .

    回复
  9. Reseller baju bayi

    Enthusiastic weblog here! Also your journal loads up speedily! What web multitude are you using? Can I get your affiliate hyperlink to your web boniface? I pauperization my personalised websites unexploded up as instant as yours :)

    回复
  10. baju bayi

    Enthusiastic weblog here! Also your diary loads up apace! What web host are you using? Can I get your affiliate hyperlink to your web army? I poverty my personal websites undischarged up as fleet as yours :)

    回复
  11. baju bayi

    I think this is among the most significant info for me. And i’m glad reading your article. But wanna remark on some general things, The site style is wonderful, the articles is really great : D. Good job, cheers

    回复
  12. Perlengkapan bayi

    I think this is among the most significant information for me. And i’m glad reading your article. But wanna remark on few general things, The web site style is perfect, the articles is really great : D. Good job, cheers

    回复
  13. baju bayi

    I think this is one of the most vital info for me. And i am glad reading your article. But wanna remark on few general things, The site style is wonderful, the articles is really nice : D. Good job, cheers

    回复
  14. baju anak bayi

    I think this is among the most important information for me. And i am glad reading your article. But want to remark on some general things, The site style is ideal, the articles is really excellent : D. Good job, cheers

    回复
  15. Baju Bayi

    I think this is one of the most important information for me. And i’m glad reading your article. But want to remark on some general things, The web site style is great, the articles is really great : D. Good job, cheers

    回复
  16. click for source

    I similar to the useful details you give inside of your articles.I will bookmark your blog and examine again below continually.I am fairly totally sure I will gain knowledge of a good deal of new stuff precise right here! Good luck for that next!

    回复
  17. try these guys

    I like the useful details you supply within your reports.I will bookmark your web log and test once more right here frequently.I am really positive I will understand considerably of latest things perfect right here! Very good luck for the following!

    回复
  18. find more

    I just like the treasured data you provide you with on your articles.I’ll bookmark your blog and test once again the following commonly.I’m quite confident I will learn about a whole lot of new stuff precise below! Good luck for your following!

    回复
  19. hop over to here

    I similar to the priceless facts you give you as part of your content.I will bookmark your web log and check out once again right here regularly.I’m relatively definitely sure I’ll discover a lot of latest things right below! Really good luck for the subsequent!

    回复
  20. description

    I just like the significant facts you provide you with in the reports.I will bookmark your website and test once more right here consistently.I’m particularly certainly I will master an awful lot of new stuff best the following! Good luck for your up coming!

    回复
  21. why not try here

    I like the worthwhile info you offer in your articles.I will bookmark your weblog and take a look at once more listed here regularly.I am particularly convinced I’ll gain knowledge of a lot of recent things perfect below! Excellent luck for your following!

    回复
  22. more helpful hints

    I similar to the helpful information you give you with your articles.I will bookmark your web site and take a look at yet again listed here repeatedly.I’m extremely guaranteed I will gain knowledge of quite a bit of new stuff most suitable here! Good luck for that upcoming!

    回复
  23. how much is yours worth?

    I much like the helpful info you provide inside your articles.I’ll bookmark your blog and check once more listed here routinely.I’m quite certainly I will understand considerably of new things best suited right here! Fantastic luck for your subsequent!

    回复
  24. curiosity rover

    I such as the priceless data you present as part of your reports.I will bookmark your blog page and take a look at once again here routinely.I’m very guaranteed I’ll understand a whole lot of recent things most suitable here! Superior luck with the future!

    回复
  25. bulk sms for business

    I like the significant details you give into your article content.I will bookmark your blog site and investigate yet again listed here frequently.I am very certainly I’ll find out lots of new stuff most suitable listed here! Fine luck with the subsequent!

    回复
  26. Florida Festivals

    I like the beneficial facts you offer in your own content articles.I will bookmark your web page and look at again here routinely.I’m extremely totally sure I’ll master loads of latest stuff precise listed here! Beneficial luck for that subsequent!

    回复
  27. best sat navs online

    I similar to the priceless data you offer you as part of your article content.I’ll bookmark your web log and check out once more listed here recurrently.I’m pretty sure I’ll know plenty of recent stuff best right here! Fantastic luck for the subsequent!

    回复
  28. empower network

    I just like the important data you provide you with in your own reports.I will bookmark your web site and investigate yet again below commonly.I’m particularly confident I’ll discover plenty of latest things appropriate here! Beneficial luck for your following!

    回复
  29. travel tripadvisor

    I just like the priceless info you give within your reports.I will bookmark your blog page and test once more listed here usually.I’m rather confident I’ll understand loads of recent stuff precise right here! Excellent luck for your up coming!

    回复
  30. VIGO

    I like the worthwhile info you provide into your content articles.I’ll bookmark your website and verify yet again here continually.I’m really certain I will discover lots of recent things best suited listed here! Good luck for the up coming!

    回复
  31. sillas hosteleria

    I such as the beneficial details you offer you on your content articles.I’ll bookmark your blog and check once more right here commonly.I am quite guaranteed I will gain knowledge of a great deal of latest stuff right here! High-quality luck to the following!

    回复
  32. avea tl yükleme

    I just like the invaluable information you present as part of your article content.I will bookmark your website and check again the following commonly.I am pretty positive I’ll know a great deal of new things best below! Fantastic luck for your subsequent!

    回复
  33. find more info

    I just like the important facts you furnish in the content articles.I will bookmark your weblog and check out all over again right here commonly.I’m rather positive I will know plenty of new stuff proper below! Really good luck for that following!

    回复
  34. liberty reserve

    This is the punish cPanel面板空间自定义php.ini | ClarkChen diary for anyone who wants to essay out out about this content. You respond so often its nigh effortful to fence with you (not that I real would want…HaHa). You definitely put a new prolong on a substance thats been engrossed virtually for life. Fastidious hokum, simply zealous!

    回复
  35. HSBC loan modification

    I much like the valuable details you present inside of your articles or blog posts.I’ll bookmark your website and take a look at once again right here continually.I am particularly absolutely sure I will realize lots of new stuff correct right here! Fantastic luck for the up coming!

    回复
  36. honda generator parts

    I much like the priceless data you offer you in your article content.I will bookmark your web page and test yet again below routinely.I’m really convinced I’ll find out plenty of recent things best below! Very good luck for the next!

    回复
  37. como vender en facebook

    I like the important details you furnish inside your content.I will bookmark your website and examine once again listed here routinely.I am really certainly I will gain knowledge of an awful lot of recent things correct listed here! Fine luck to the up coming!

    回复
  38. see page

    I like the worthwhile information you offer in your own content pieces.I will bookmark your blog site and check all over again below usually.I’m extremely absolutely sure I’ll discover an awful lot of recent things suitable right here! Superior luck to the future!

    回复
  39. invest liberty reserve

    This is the straight cPanel面板空间自定义php.ini | ClarkChen journal for anyone who wants to essay out out nearly this content. You observe so much its virtually debilitating to argue with you (not that I truly would want…HaHa). You definitely put a new acrobatics on a message thats been cursive near for eld. Nice lug, simply great!

    回复
  40. liberty reserve

    This is the proper cPanel面板空间自定义php.ini | ClarkChen journal for anyone who wants to act out out virtually this matter. You notice so some its almost wearying to discourse with you (not that I really would want…HaHa). You definitely put a new extend on a topic thats been engrossed some for eld. Discriminating push, only uppercase!

    回复
  41. moncler

    I’ve been browsing online more than 4 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me.
    In my view, if all site owners and bloggers made good content
    as you did, the net will be a lot more useful than ever before.

    回复
  42. moncler

    Being really lightweight and cozy, Moncler jackets are often transportable within a small
    container. Moncler jackets are due option to livelihood your disposition linked to plan alive.
    Getting ready for winter.

    回复
  43. miumiustoreol.com

    I’ve been browsing online more than 2 hours today, yet I never found any interesting article like yours. It’s pretty
    worth enough for me. Personally, if all webmasters and bloggers made
    good content as you did, the net will be a lot more useful than ever before.

    回复
  44. liberty reserve

    This is the accurate cPanel面板空间自定义php.ini | ClarkChen blog for anyone who wants to essay out out most this substance. You observance so overmuch its almost exhausting to discourse with you (not that I real would want…HaHa). You definitely put a new extend on a matter thats been transcribed active for years. Overnice meaninglessness, simply majuscule!

    回复
  45. liberty reserve

    This is the turn cPanel面板空间自定义php.ini | ClarkChen journal for anyone who wants to essay out out most this topic. You observe so such its most effortful to discourse with you (not that I real would want…HaHa). You definitely put a new revolve on a theme thats been handwritten virtually for geezerhood. Pleasant hooey, but outstanding!

    回复
  46. Costa Rica Tours Jaco

    I similar to the precious info you deliver into your content articles.I will bookmark your web log and check once more below usually.I’m relatively sure I will study a great deal of recent things proper the following! Fine luck for the up coming!

    回复
  47. Jamal Amezquita

    My ex-wife used to do the job there forty decades in the past as being a parts driver to area wholesale accounts. They also had radio spots about the local underground rock station KPPC 106.seven, also performed by Firesign Theatre. My ex explained they hung around, sponging off of Jack Poet, who was also pretty a character. Certainly I even now have all my vinyl discs of early Firesign Theatre, and they are worthy of the listen today. A snapshot in time, and I even now assume they may be offered in Compact disk format.

    回复
  48. Read the Full Guide

    What i do not realize is in truth how you are now not actually a lot more smartly-favored than you may be now.
    You are so intelligent. You know thus considerably in relation to
    this topic, produced me personally consider it from numerous numerous angles.

    Its like women and men are not fascinated until it is
    one thing to accomplish with Woman gaga! Your individual stuffs great.
    Always take care of it up!

    回复
  49. naoid

    I am not sure where you’re getting your info, but good topic.
    I needs to spend some time learning much more or
    understanding more. Thanks for great info I was looking
    for this information for my mission.

    回复

发表评论

电子邮件地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.