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

这篇文章有 71 个评论

  1. That’s an apt ansewr to an interesting question

  2. 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 .

  3. 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 .

  4. 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 .

  5. 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 .

  6. 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 .

  7. 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 .

  8. 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 .

  9. 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 .

  10. Thanks erstwhilef much for intercourse this online. I certainly favourite every bit of it.

  11. Thanks like your cPanel面板空间自定义php.ini | ClarkChen

  12. Thanks like your cPanel面板空间自定义php.ini | ClarkChen

  13. Thanks like your cPanel面板空间自定义php.ini | ClarkChen

  14. 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 :)

  15. 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 :)

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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!

  22. 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!

  23. 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!

  24. 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!

  25. 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!

  26. 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!

  27. 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!

  28. 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!

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

  30. I think this is among the most significant information for me. And i’m glad reading your article. But want to remark on some general things, The website style is ideal, the articles is really nice : D. Good job, cheers

  31. 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!

  32. 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!

  33. 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!

  34. 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!

  35. 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!

  36. 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!

  37. 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!

  38. I just like the important details you supply in your posts.I’ll bookmark your blog page and test once more right here usually.I am very confident I’ll realize quite a lot of new stuff correct below! Great luck for that up coming!

  39. 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!

  40. 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!

  41. I much like the worthwhile data you give you in your own articles.I will bookmark your site and take a look at once more below commonly.I’m very positive I’ll understand loads of recent stuff ideal here! Decent luck to the subsequent!

  42. 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!

  43. 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!

  44. 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!

  45. 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!

  46. 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!

  47. 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!

  48. 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!

  49. 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!

  50. 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.

  51. I enjoy what you guys are up too. This sort of clever work and reporting!
    Keep up the terrific works guys I’ve incorporated you guys to blogroll.

  52. 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.

  53. Incredible! This blog looks exactly like my old one!
    It’s on a completely different topic but it has pretty much the same page layout and design. Outstanding choice of colors!

  54. 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.

  55. 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!

  56. 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!

  57. 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!

  58. The standard problem: Wherever am i able to find your beer (particularly the cans) in San Francisco?

  59. 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.

  60. I perform trust this amazing locate seems to have some vastly fantastic information for everybody. Further in rank by made of wood folding chairs.

  61. 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!

  62. 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.

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

关闭菜单