No php interpretation since migration

Hello,

I just migrated my website from old cpanel to the new one but since that php is not interpreted anymore, php variables are shown, and a phpinfo() page shows nothing it’s blank

Any idea ?

What is your domain name??
Can you downgrade your php version to 5.4 from “Settings” – “General” – “Php Version”

tba77.netai.net is my domain, I downgraded php version to 5.2 but still doesn’t work I’ll try with 5.4

Thank you

Edit : Same thing even with php 5.4 if you go to http://tba77.netai.net/phpinfo.php it’s a blank page but my code is just

<? phpinfo(); ?>

Can you open phpinfo.php and see if any other code has appeared in the file?

Okay I’ll do, I uploaded with ftp client filezilla so I don’t think there any alteration but I’ll look

Edit : I checkd but nothing appeared.

How are you making the php file?

Like any page

<? //php code for example phpinfo(); ?>

and save it as myfile.php it works on my local webserver it just doesn’t work here since migration to the ne cpanel.

Did you check this?

1 Like

Beat me to it.

[code]<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>[/code]

it’s better now still have some issues but at least it works,

Thank you.

Great to hear, happy site building.