I have ubuntu server 14.04 installed along side Apache, PHP5 and MySQL server all together. I can gain access to the server using putty and the mysql database using Heidi Sql remotely.
On my laptop, using xampp to write and read from the database on the server works perfectly fine using PHP, but when the same code on the server is ran nothing happens the code stops at
$connect = mysql_connect($host,$user,$pass) or die('Connection error');
After the code is run off the server the page remains blank and does not even show the
Connection Error message in the die section.
Note: Apache, PHP and MySQL works fines because all my web pages are in PHP.