SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Addict
    Join Date
    May 2001
    Location
    Turkey
    Posts
    372
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hosting that can change php.ini

    Hello

    I need a host that can change the php.ini for me. I'm pretty sure no shared hosting would do that. so I'm looking for a VPS option. can you pls advise me if a VPS host would change the php.ini for me ?

  2. #2
    SitePoint Enthusiast Homie_187's Avatar
    Join Date
    Oct 2008
    Location
    United States
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What about a dedicated server? Then you could edit all of the configuration files yourself.

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Shared hosting with BlueHost/HostMonster/FastDomain allow you to set up your own php.ini
    Last edited by felgall; May 24, 2009 at 12:17.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    SitePoint Addict
    Join Date
    May 2001
    Location
    Turkey
    Posts
    372
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by felgall View Post
    Shared hosting bith BlueHost/HostMonster/FastDomain allow you to set up your own php.ini
    really ? I will check. thanks.

  5. #5
    SitePoint Enthusiast JLHC's Avatar
    Join Date
    Oct 2007
    Location
    MY - US
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually some providers will allow you to change the variables through php.ini, while others allowed it to be changed using the .htaccess file. What variables do you plan to change?
    James L. | Hosting Companies I Am Involved In:-
    Aspiration HostingHigh-Performance Magento Hosting Solutions
    SpeedySparrow ● LiteSpeed Hosting on the Cloud
    No Frills Reseller ● Simple and Affordable Reseller Hosting

  6. #6
    SitePoint Enthusiast rumsfo's Avatar
    Join Date
    Apr 2009
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some allow and some not and that as rule not posted on the web web hosting service provider's web site. So go ahead and ask questions.
    ASPnix Web Hosting - ASP.NET, MS SQL, AJAX, Hyper-V
    Microsoft Hosting and Virtualization

  7. #7
    SitePoint Addict
    Join Date
    May 2001
    Location
    Turkey
    Posts
    372
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by JLHC View Post
    Actually some providers will allow you to change the variables through php.ini, while others allowed it to be changed using the .htaccess file. What variables do you plan to change?
    I need to change max. PHP execution time. I'm running a RSS news site. I have over 100 RSS feeds. Cron runs once a hour and collects news. Cron mostly gets stuck and feeds are not updated for hours on a shared hosting environment. I assume this is because of the PHP execution time limit=30.

    actually I allready passed to a cheap VPS. so far I didn't see a cron stuck error. Still keeping to watch.

    even I had the chance to change php.ini on a shared hosting, I will most probably be warned by the host for over usage of server resources ?

  8. #8
    SitePoint Enthusiast reviewman's Avatar
    Join Date
    Mar 2009
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hostmonster do have this option for you. here is the detail:

    The servers use a master php.ini file for all directories without a php.ini file in it. You will have a copy of this file in your public_html directory, and you can make any changes to this file, and they will take precedence over the master file. You will need to copy this file into all subdirectories within your site which have php files that you would like to affect.

    You can also use this to have a different environment for different folders. So, if you want to run two scripts which have different requirements, you can put them in two different folders and then put different php.ini files in each of those folders.

  9. #9
    SitePoint Addict
    Join Date
    May 2001
    Location
    Turkey
    Posts
    372
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by reviewman View Post
    Hostmonster do have this option for you. here is the detail:

    The servers use a master php.ini file for all directories without a php.ini file in it. You will have a copy of this file in your public_html directory, and you can make any changes to this file, and they will take precedence over the master file. You will need to copy this file into all subdirectories within your site which have php files that you would like to affect.

    You can also use this to have a different environment for different folders. So, if you want to run two scripts which have different requirements, you can put them in two different folders and then put different php.ini files in each of those folders.
    thanks for sharing. this is really interesting.

  10. #10
    SitePoint Wizard ~ServerPoint~'s Avatar
    Join Date
    Nov 2007
    Posts
    1,813
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As an option could be VPS (the smallest one). I believe that will give you some sense of the independence.
    ServerPoint.com - a true hosting company since 1998
    Web Hosting, colocation,
    dedicated servers, Virtual Private Server (VPS) hosting

  11. #11
    SitePoint Member cliff1114's Avatar
    Join Date
    Apr 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remenber fatcow can change the php.ini

  12. #12
    SitePoint Addict jemple's Avatar
    Join Date
    Dec 2008
    Posts
    291
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hostgator has a php.ini editable in their shared hosting cpanels.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •