| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 134756 | 2013-08-07 06:47:00 | OpenHost doesn't allow site to have it's own php.ini ... is that correct? | simone3 (16806) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 1350796 | 2013-08-07 06:47:00 | Hello there, We're preparing to migrate our site to a new host, and thought that OpenHost suited our requirements. However, having asked their Sales Helpdesk ... they say the site can't have it's own php.ini file, which seems highly unusual. But it's possible the Sales person didn't really understand what we were asking, so just thought to check here. So ... - is anyone here on OpenHost and using their own php.ini ...? - alternatively, can anyone recommend a NZ-based webhost that permits sites to have their own php.ini ...? Thanks! |
simone3 (16806) | ||
| 1350797 | 2013-08-07 07:08:00 | If you are looking at a shared hosting arrangement, then the answer is typically no. If you get a VPS you can set it up however you want. |
fred_fish (15241) | ||
| 1350798 | 2013-08-07 07:19:00 | Oh, I see - thanks for that info Fred. We'd go the VPS route, except we're from a Windows background and know next-to-nothing about Linux, so setting up a VPS would likely be a steep and lengthy learning curve which we'd prefer to avoid just now, as we just want to keep things simple and migrate our site. But from what you say it looks like we might be stuck with our current host for now, and we'll just have to hunt around and try and find an 'untypical' webhost, that allows php.ini on shared plans. Thanks! |
simone3 (16806) | ||
| 1350799 | 2013-08-07 08:03:00 | Probably email openhost and ask about your specific php requirements (don't just say you need to edit php.ini as that won't get you anywhere). Email is more likely to get to a technical person than phoning the sales desk. |
fred_fish (15241) | ||
| 1350800 | 2013-08-07 09:02:00 | We did email, but it was to their Sales desk rather than Technical Support. So yes, we might try asking Technical Support instead. The alternative I suppose would be to use their default php.ini, but I expect we'd have to sign up before we could run phpinfo to look at it, so it would be a Catch-22 if we signed-up only to find it was deficient for our needs! As it is, we use custom naming of php error logs, and define the location of browsap.ini for IP lookups by country (for internal logging purposes), amongst other things, which all require a custom php.ini to work. Else I guess we'll have to acquire a VPS then get the hang of configuring it correctly before migrating the site, which will probably take weeks ... but there you go. Anyway, thanks Fred for the suggestions! |
simone3 (16806) | ||
| 1350801 | 2013-08-07 09:45:00 | You could look at a Windows VPS... | inphinity (7274) | ||
| 1350802 | 2013-08-07 10:07:00 | Yes, that would be easier to get to grips with, except our php code is currently littered with calls to Unix! | simone3 (16806) | ||
| 1350803 | 2013-08-07 10:42:00 | You can set some php directives in .htaccess files (or in vhost definitions, but you probably don't have access to them either). Not sure if that will do what you need but it's probably worth looking at. From memory, openhost uses cpanel, and there may be some settings you can adjust via that, but again, your best bet is asking them directly. |
fred_fish (15241) | ||
| 1350804 | 2013-08-07 11:07:00 | Good idea Fred, had forgotten about htaccess! That might be worth checking out. Though I guess whether a workaround would in fact work might depend on settings in the host's core PHP configuration. Still, worth looking at ... thanks for that suggestion! Might have to consider hardcoding some of our ini settings in our php as well ... things like max upload size and suchlike. |
simone3 (16806) | ||
| 1350805 | 2013-08-07 19:59:00 | Oh, I see - thanks for that info Fred. We'd go the VPS route, except we're from a Windows background and know next-to-nothing about Linux, so setting up a VPS would likely be a steep and lengthy learning curve which we'd prefer to avoid just now, as we just want to keep things simple and migrate our site. But from what you say it looks like we might be stuck with our current host for now, and we'll just have to hunt around and try and find an 'untypical' webhost, that allows php.ini on shared plans. Thanks! You can't run PHP on a windows server, even with shared hosting it would need to be on a linux shared server. So, what difference does it make if it's a VPS?? There are certain configuration changes you can have on the shared servers, Himem and so on, that they can do for you, but no, they won't alllow the ini on a shared server. You could also look at Web Drive plans too - same company as Openhost - there is more allowed on those servers than on Openhosts.... But yes, .htaccess is the method most people use, email or ring tech support, they will give you all the various options... |
pctek (84) | ||
| 1 2 | |||||