Web Hosting Talk







View Full Version : PHP not working


Darren M
05-23-2002, 05:07 PM
Hello... got a friend/reseller using their own name servers on my plesk box and when they set up a name based account php doesnt work yet html pages appear fine. Any ideas why a simple test php wont work on this plesk name based domain using their name servers? All the other dns is unchanged the only thing thats been changed are the first 2 NS.

Ive tried the php test on other accounts using ip based accounts and it works using the name servers of my friend but wont work for name based? If I try the php test on one of my own domains(name based)using my name servers it works fine.

Any ideas ?

Cheers

ZeonHost
05-23-2002, 09:11 PM
What do you mean by PHP not working? Is it just displaying the source?

bobcares
05-24-2002, 01:10 PM
Hi!

This does not seem to be a name server problem...

Can you please give us the exact problem.

Is the source code being shown.

Try a simple php file..



<?

phpinfo() ;

?>



Also name it as info.php , info.php3 and see the results.. Mostly it would be something with the Mime type definations...



Have a great day :)



Regards

Amar