I have a php file that lives /php/dbtest.php
it worked perfectly fine on my local machine, running xampp I have uploaded it onto a Linux webhost, now the line
Your link should be not good. Because with the first /, you make reference to the root directoy of your linux system and generally website are contain in /etc/www. So try :
or something that is more linked to the way your document are present in your system.