
06-04-2009, 07:39 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Mar 2005
Location: Georgia
Posts: 77
|
|
Accounts didnt transfer correctly
I acquired a hosting company from a friend, and I've been spending today moving their accounts onto a new server.
Well, the php on some of the accounts will not work. When you access a php extention, you're prompted to download a file.
Its not like this for all the accounts, just a few.
Does anyone know how I can fix this?
|

06-04-2009, 08:46 PM
|
|
Offshore Hosting Specialists
|
|
Join Date: May 2008
Location: Montreal, Canada
Posts: 929
|
|
Did you get this problem with all PHP files or only for PHP4?
Are you actually sure apache and PHP are configured correctly?
__________________
█• UnderHost Inc. • Offshore Hosting Solutions and USA/Canadian based servers.
█• 24/7 Rapid Support / 99.9% Uptime Guarantee / Shared / Reseller / VPS / Dedicated
█• Premium VPS • USA Cloud Virtual Private Servers - Dedicated and Scalable Resources - Parallels® Virtuozzo
█• Hong Kong - SG - USA - Canada - Netherlands - UK - Germany - Panama - Malaysia - Russia •
|

06-04-2009, 08:50 PM
|
|
Newbie
|
|
Join Date: Jan 2008
Posts: 16
|
|
Are you using Apache?
Sounds like the webserver is not set to hand that particular file extension off to the PHP interpreter to actually render the final output.
|

06-04-2009, 09:23 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2001
Location: Paradise
Posts: 11,337
|
|
check the .htaccess of the accounts having that problem.
|

06-04-2009, 09:43 PM
|
|
Web Hosting Guru
|
|
Join Date: Jun 2008
Location: India
Posts: 258
|
|
check the versions of php on both the servers check whether necessary handlers present in .htaccess
__________________
Ranjith
Light travels faster thn sound.This is why some people look bright until you actually hear them speak
|

06-05-2009, 05:24 AM
|
|
Web Hosting Master
|
|
Join Date: Apr 2009
Posts: 643
|
|
What are control panels installed on the both sides? What about databases? Have you had any problems with moving them?
__________________
ASPnix Web Hosting - ASP.NET, MS SQL, AJAX, Hyper-V
Microsoft Hosting and Virtualization
|

06-05-2009, 03:08 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Mar 2005
Location: Georgia
Posts: 77
|
|
Quote:
Originally Posted by rankris
check the versions of php on both the servers check whether necessary handlers present in .htaccess
|
What handlers should I look for? I honestly let my server admin take care of all this stuff, but I want to see if I can fix this problem myself.. haha.
Um PHP5 is installed right now. So I think what i'll do is recompile apache to have both php4 and php5, and see if that fixes the problem?
Would it be an unwise decision to recompile apache while backups are transfering, or would it not make any difference?
|

06-05-2009, 03:40 PM
|
|
Aspiring Evangelist
|
|
Join Date: May 2006
Location: World Wide Web
Posts: 380
|
|
Quote:
Originally Posted by Streetwizard
Um PHP5 is installed right now. So I think what i'll do is recompile apache to have both php4 and php5, and see if that fixes the problem?
Would it be an unwise decision to recompile apache while backups are transfering, or would it not make any difference?
|
No, your recompilation will not affect your backup process. If you think php5 was loaded earlier, you could still make it working by adding the following line to your httpd.conf,
AddType application/x-httpd-php5 php
that renders the .php files through the php5 engine.
|

06-05-2009, 03:43 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Mar 2005
Location: Georgia
Posts: 77
|
|
Quote:
Originally Posted by logicsupport
No, your recompilation will not affect your backup process. If you think php5 was loaded earlier, you could still make it working by adding the following line to your httpd.conf,
AddType application/x-httpd-php5 php
that renders the .php files through the php5 engine.
|
Isnt this possible to do in WHM? I moved houses last weekend and mediacomm wont be at my house to install my internet until monday. I'm using my work computer and I can't download putty :'( BUT im pretty sure you can edit the httpd in WHM? I just cant seem to find whereeeeee at.
|

06-05-2009, 03:43 PM
|
|
CEO & Leading Designer
|
|
Join Date: May 2008
Location: Iowa
Posts: 1,138
|
|
Quote:
Originally Posted by Jedito
check the .htaccess of the accounts having that problem.
|
That is exactly what I thought at first.
__________________
Develop corporate brand identity | Web Design | Development | Logos | Business Cards
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
eStore ~ One-Time Buy on ALL Pre-made Photoshop Files
Portfolio ~ Web & Print Showcase
|

06-05-2009, 03:51 PM
|
|
Aspiring Evangelist
|
|
Join Date: May 2006
Location: World Wide Web
Posts: 380
|
|
Quote:
Originally Posted by Streetwizard
Isnt this possible to do in WHM?
|
You could take this route,
Main >> Service Configuration >> Apache Configuration

|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|