|
|
|
|
Thread title: Anyone had horror server migrations? |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
05-07-2007, 05:23 AM
|
#1
|
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
Posts: 5,572
|
Anyone had horror server migrations?
Hi, my webhost has migrated to new servers two weeks ago. In their infinite wisdom they thought it wise to install PHPsuexec, this software prevents users from utilising CHMOD 777 permissions. In doing so they have ruined the functionality of three of my sites. These sites require CHMOD 777 permissions to work via flat file php databases. They keep telling me the permissions have to be CHMOD 755 max, I keep telling them the flat file databases require CHMOD 777.
So i'm kind of stuck wondering if I should change hosts, or stick with them because they have been amazingly great up till now.
What would you do? And what horror migration stories do you have?
|
|
05-07-2007, 05:56 AM
|
#2
|
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
Posts: 2,694
|
Tell them to fix the problem, and not to be ignorant about it? I haven't had any luckly!
|
|
05-07-2007, 09:23 AM
|
#3
|
Status: On Vacation
Join date: Oct 2006
Location:
Expertise:
Software:
Posts: 115
|
Surely you should ask them to fix everything but if they refuse to do it - change them then.
|
|
05-07-2007, 10:56 AM
|
#4
|
Status: Back in business...
Join date: May 2005
Location:
Expertise:
Software:
Posts: 1,317
|
Julian, in a PHPsuexec environment PHP is ran under the user 'nobody' for security purposes. This means that files set to 755 are writeable.
It is VERY wise of your host to have PHPsuexec installed, just to re-iterate - your site will work without the need for 777 permisions. That's just one of the perks of PHPsuexec - no chmodding required!
|
|
05-09-2007, 08:15 AM
|
#5
|
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
Posts: 5,572
|
Gareth, I have had to change all php file permissions to 644 and folders to 755. I have also had to make a php.ini file and place it in every folder in the sites. This has gotten one sites scripts working, but the others aren't.
I am still getting an error with ExecCgi, I have asked my web host for clarification. This prevents all scripts working on a clients shopping cart, and all my clients email scripts from working.
Garrett and Torrens77, most professional web hosts are running PHPsuexec. So as it turns out it's something I have to get used to.
|
|
05-15-2007, 07:29 AM
|
#6
|
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
Posts: 5,572
|
UPDATE:
I have resolved the ExecCGI problem. If you get this error if your server adopts PHPsuexec you will have to add the following to your top level directories .htaccess file:
Options +ExecCGI
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|