cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PHP require not working after move to cPanel

Moved from one linux hosting to a deluxe linux account today and I am having issues with PHP

 

I am using a PHP to bring in another file for making my site navigable, the thing worked this morning on the old host before the move. Now it does not work.

 

I used a require() function to bring in the file, but none of the file is loaded into the page. Any suggestions?

1 REPLY 1
Community Manager

Hi @sniperbbb. Welcome to GoDaddy Community!

 

There are a few things that I've seen users have issues with when it comes to moving between accounts. Depending on the way your script is set up, you may be having an issue with absolute path. That will be different than what it was previously if you've changed accounts. Another common issue that people run into is PHP version. You'll want to make sure that you're either using the same PHP version in your new account or that all of your website's scripting is created to function on the version the hosting account is currently using. If those suggestions don't help, it may help to provide additional information on where this issue can be seen (including URLs). That may help others respond. 

 

JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.