Webmaster Forum



Go Back   Webmaster Forum > Web Development > Web Hosting Forum

Web Hosting Forum Discuss web hosting related stuff.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2009, 05:59 AM
Junior Member
 
Join Date: 10-18-09
Posts: 15
iTrader: 0 / 0%
Tweep Cat is liked by many
Please help - Cpanel Problem

I have recently moved to a new server, both were using Cpanel.

On the old server I was able to install phpbb3, Automod and Mods onto Automod fine.

On the new server I am having some issues that are making running a forum very hard. When I installed the phpbb3 board I had to change permissions of the config.php to 777 before it would let me write anything. When installing the Automod it asked for the ftp so I entered the details that I use to log into my cpanel. I also had to change a directory to the 777 permission so that it would be able to write to install Automod. I tried to install mods with the Automod and on the new server and it asked for the ftp so I entered my cpanel login details. When I did it said 'Unable to change directory'. The ftp was correct I think, as if I entered wrong details it said it was wrong.
None of this happened on the old server - I wasn't asked for ftp and the files were able to write properly.

I also tried installing mybb but it said: http://i38.tinypic.com/14ohlh.jpg

I also tried smf which installed fine, but the mods didn't seem to upload properly which I think might be the same issue as the phpbb3 forum and Automod.

I posted this here and not in the forum area because I think this might be a problem or a setting to do with cpanel not the forum software because it worked fine on the old server.

Is there a setting on cpanel that could help me, because I can't install anything such as mods and some forums properly?
Share |
Reply With Quote
  #2 (permalink)  
Old 10-18-2009, 06:49 AM
vectro's Avatar
Contributing Member
 
Join Date: 12-29-08
Location: U.S.A.
Posts: 375
iTrader: 0 / 0%
vectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of light
Did your last server use any Apache modules like fcgi or php-cgi? Those are modules that causes a PHP script to run under the username who owns it instead of running under the 'nobody' username that Apache uses. This means that PHP will only allow the user who owns a file to write to it. It is good for security and also prevents the need for files to be chmod 777 to be written to. If your old server uses one of those but the new one doesn't, that would explain why your old server didn't have these problems.
Share |
Reply With Quote
  #3 (permalink)  
Old 10-18-2009, 06:56 AM
Banned
Latest Blog:
None

 
Join Date: 09-06-09
Posts: 562
iTrader: 3 / 100%
websiteguy is liked by somebodywebsiteguy is liked by somebodywebsiteguy is liked by somebodywebsiteguy is liked by somebody
you can discuss this with support of your host. I am sure you will get some solution.
Share |
Reply With Quote
  #4 (permalink)  
Old 10-18-2009, 07:02 AM
Junior Member
 
Join Date: 10-18-09
Posts: 15
iTrader: 0 / 0%
Tweep Cat is liked by many
Thanks.

Would it work if I changed all of the files to 777 while installing mods on Automod and then changing them back to their previous settings? Or wouldn't that make any difference?
Share |
Reply With Quote
  #5 (permalink)  
Old 10-18-2009, 07:12 AM
vectro's Avatar
Contributing Member
 
Join Date: 12-29-08
Location: U.S.A.
Posts: 375
iTrader: 0 / 0%
vectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of light
Changing them all to 777 is highly insecure as it makes files world-writable. Once you change them all to 644 any files that that need to be written to won't be able.
Share |
Reply With Quote
  #6 (permalink)  
Old 10-18-2009, 07:15 AM
Junior Member
 
Join Date: 10-18-09
Posts: 15
iTrader: 0 / 0%
Tweep Cat is liked by many
Quote:
Originally Posted by vectro View Post
Changing them all to 777 is highly insecure as it makes files world-writable. Once you change them all to 644 any files that that need to be written to won't be able.
But would it work if I change them to 777 while installing stuff then changing it back to 644?
Share |
Reply With Quote
  #7 (permalink)  
Old 10-18-2009, 07:21 AM
vectro's Avatar
Contributing Member
 
Join Date: 12-29-08
Location: U.S.A.
Posts: 375
iTrader: 0 / 0%
vectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of lightvectro is a glorious beacon of light
Quote:
Originally Posted by Tweep Cat View Post
But would it work if I change them to 777 while installing stuff then changing it back to 644?
Theoretically, yes. When you change back make sure that any files that need to be written to in the future remain 777.

I'm trying to get to the root of the problem, though. If you can get there then you won't have problems in the future and will be able to install what you need. It sounds like an issue with permissions and that your new server is handling PHP requests differently than the last one. When putting those two factors together it seems like you're missing a module that runs PHP as CGI (since that relates to both permissions AND how PHP is handled).
Share |
Reply With Quote
  #8 (permalink)  
Old 10-18-2009, 07:50 AM
Banned
Latest Blog:
None

 
Join Date: 10-13-09
Location: facts-and-fallacies.blogspot.com
Posts: 296
iTrader: 1 / 100%
icebreaker is liked by somebodyicebreaker is liked by somebodyicebreaker is liked by somebodyicebreaker is liked by somebody
Send a message via Yahoo to icebreaker
Quote:
Originally Posted by websiteguy View Post
you can discuss this with support of your host. I am sure you will get some solution.
This is the right thing to do. Any technical problems that you encounter must be resolved immediately by getting assistance from the technical support of your web host company.
Share |
Reply With Quote
  #9 (permalink)  
Old 10-18-2009, 11:19 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 7,649
iTrader: 4 / 100%
ScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster materialScriptMan is supreme webmaster material
Many times 744 or 755 will work where you think you need 777. Either is slightly more secure.

I would hesitate to use a script that needed 777 as an ongoing event.

As noted above this isn't really a cPanel issue. It is something in the server configuration. My first guess is the old server was using suexec and the new is not.
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
ScriptMan
Share |
Reply With Quote
  #10 (permalink)  
Old 10-20-2009, 02:33 AM
Banned
Latest Blog:
None

 
Join Date: 11-27-07
Posts: 1,271
iTrader: 0 / 0%
~ServerPoint~ is on the right path~ServerPoint~ is on the right path~ServerPoint~ is on the right path
I beklive all what you need is contact your provider and ask for the help
Share |
Reply With Quote
  #11 (permalink)  
Old 10-20-2009, 09:51 AM
Junior Member
 
Join Date: 10-18-09
Posts: 15
iTrader: 0 / 0%
Tweep Cat is liked by many
Thanks, I will do that.
Share |
Reply With Quote
  #12 (permalink)  
Old 10-21-2009, 01:22 AM
rumsfo's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 04-27-09
Posts: 219
iTrader: 0 / 0%
rumsfo is liked by many
Quote:
Originally Posted by Tweep Cat View Post
Thanks, I will do that.
Please keep us updated about your experience and feel free to ask any questions you have
__________________
?Want FREE Windows 7 UE or Zune HD 32GB? - We will give it!
learn more how to get it...
ASPnix Web Hosting - ASP.NET, MS SQL, AJAX, Hyper-V
Microsoft Hosting and Virtualization
Share |
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google's China Problem (and China's Google Problem) - NYTimes Sunday Mag (4/23/06) Julie Google Forum 4 10-26-2009 02:54 PM
Cpanel problem with addon domain DragonEye Reseller Hosting 8 04-15-2009 08:15 AM
Problem with cPanel and email accounts seniorheff Web Hosting Forum 6 06-15-2006 04:24 AM
Cpanel addon domain problem ninjabicuit Domain Name Forum 1 04-14-2006 08:56 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 09:41 AM.
Powered by vBulletin
Copyright © 2000-2011 Jelsoft Enterprises Limited.
Copyright © 2003 - 2011 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.