Jump to content


Photo

php.ini Help


  • Please log in to reply
4 replies to this topic

#1 krimchik

krimchik
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 01 September 2006 - 10:51 AM

Hi, new to all this, and having loads of trouble. I have a virtual dedicated server, and I am trying to change the max upload on php.ini, having problem after problem.

I foolowed this http://www.phpfreaks...95911.msg384326
and it makes sense. But the file tells me is read only, and I can't seem to change it. How??

I have also accessed via ftp and tried to write over the file, and can not.

So no matter if I use ssh or ftp I can not change it.

So I need to know how to get it done? I have access to the root and have whm and cpanel, if it matters. Any help wpuld be great!

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 01 September 2006 - 08:49 PM

Are you logging in via ssh as root?

#3 krimchik

krimchik
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 02 September 2006 - 01:53 AM

I use my IP to log in as specified by the host. So yes, I blieve it is the root.

#4 coffear

coffear
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 03 September 2006 - 09:03 AM

presumably you have remembered to restart apache after making the changes?

#5 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 04 September 2006 - 02:08 PM

I use my IP to log in as specified by the host. So yes, I blieve it is the root.


You would need to specify root. eg;

ssh root@yourip

Though this isn't the most secure method. It would be safer to ssh as a normal user and then su to root.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users