I am on a shared server
I was trying to access my php.ini file to add another include folder using the vi command on SSH/Shell Access but It seems it only is read only access. Any idea on how can I do this? Without having to do it on each php page. I try using the .htaccess but it just crashes my whole server :/
5 replies to this topic
#1
Posted 16 May 2011 - 12:57 PM
This was my spammy web host sig.
|
|
|
#2
Posted 17 May 2011 - 06:18 AM
If you've got shared storage, I would contact your hosting provider and ask them, because they may have set up read only access on that file for their customers.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#3
Posted 17 May 2011 - 08:09 AM
"If you've got shared storage, I would contact your hosting provider and ask them, because they may have set up read only access on that file for their customers."
ya i have shared storage ...and i know they have given read only access ............... but i am asking if there is anything i can do
ya i have shared storage ...and i know they have given read only access ............... but i am asking if there is anything i can do
This was my spammy web host sig.
#4
Posted 17 May 2011 - 08:30 AM
Email them and ask. It's likely any attempt to circumvent the security measures they've set up would be a violation of their terms of service, and could get your account discontinued. Since I don't know what hosting provider you use or how their particular servers are set up, you'd have to contact their technical support team to inquire if what you're wanting to do is possible.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#5
Posted 17 May 2011 - 08:20 PM
I do not think .htaccess would crash the server, otherwise they have improperly set it up or it is a bug. Are you referring to the server only serving a 500 error page? This is due to incorrect .htaccess directives or a typographical error in them.
Hosts often allow a suEXEC installation and their own custom php.ini file in the root folder of their hosting, this allows generally sandboxed control over PHP's settings. It all depends on your host, they are always the final word either way unfortunately - sometimes they help if you provide a good enough reason (so that they can add extended features with their own discretion)
Hosts often allow a suEXEC installation and their own custom php.ini file in the root folder of their hosting, this allows generally sandboxed control over PHP's settings. It all depends on your host, they are always the final word either way unfortunately - sometimes they help if you provide a good enough reason (so that they can add extended features with their own discretion)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#6
Posted 18 May 2011 - 07:39 AM
Post your .htaccess file here and maybe somebody can tell you if you've got an error in it.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









