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

PHP has stopped working after migrating to cpanel

Recently we moved one of our sites, leadershiponthemove.com, to the new cpanel server.  This site makes use of several php scripts and mysql databases.  WHile it was working fine on the previous server, most of the php isn't working at all on the new server.  I tried to run phpinfo, but even that doesn't work, all I get is a blank screen.  THe functions in particular that I need to work ate mysqli_connect and fetch_assoc.   I tried to rebuild teh server using easyapache 3, but it still does not work.

 

2 REPLIES 2
Highlighted
Retired
Not applicable

Re: PHP has stopped working after migrating to cpanel

Hi,

 

Go into cpanel and web hosting, once in scroll down to PHP, click to see godaddy php settings. These are none editable by the way (oh what fun some would have). ASP style tags are off for example '<% %>' . You should check the other settings also, to see if compatible with your php settings.

It's possible there is a compatibility issue.

Highlighted

Re: PHP has stopped working after migrating to cpanel

Yeah, you're right.  the asp style tags are off. I went into Manage php configuration editor and turned it on.  I'm gonna try to rebuild and see if that fixes it .