G3NERALCHRIS Posted February 24, 2015 Share Posted February 24, 2015 (edited) I have the complete website, and works fine on windows using XAMPP control panel accessing via localhost. Now I am having trouble accessing the table(s) via ubuntu after turning on mysql in ubuntu also I am receving no errors just a blank page. You can check the php but it might not make any difference. All assoicated files for linking with mysql are below if needed I will upload whole webiste without images. I have stopped mysql and restarted it, over and over again. Also tried using sudo /usr/sbin/mysqld --skip-grant-tables --skip networking & command and no luck. Website is running succesfully just mysql is not working any suggestion on what could be wrong. add-aboutme.php add-contactme.php add-guestbook.php delete-contact.php guestbook.php view-aboutme.php view-contactme.php view-guestbook.php Edited February 24, 2015 by G3NERALCHRIS Quote Link to comment https://forums.phpfreaks.com/topic/294857-having-trouble-loading-the-php-on-ubuntu/ Share on other sites More sharing options...
Ch0cu3r Posted February 24, 2015 Share Posted February 24, 2015 I am receving no errorsjust a blank page This usually means PHP encountered an unrecoverable error. First step is to checked the error logs for your server. Or enable error reporting in the php.ini error_reporting = E_ALL display_errors = On Make sure you restart your http server after making any changes to the php.ini Post the errors you get here I have the complete website, and works fine on windows using XAMPP control panel accessing via localhost If it worked on Windows then it should work on your Ubuntu server. I have a feeling something is not configured correctly on Ubuntu. Once we know what the errors are we can start to assist you better. Quote Link to comment https://forums.phpfreaks.com/topic/294857-having-trouble-loading-the-php-on-ubuntu/#findComment-1506621 Share on other sites More sharing options...
G3NERALCHRIS Posted February 25, 2015 Author Share Posted February 25, 2015 This usually means PHP encountered an unrecoverable error. First step is to checked the error logs for your server. Or enable error reporting in the php.ini error_reporting = E_ALL display_errors = On Make sure you restart your http server after making any changes to the php.ini Post the errors you get here If it worked on Windows then it should work on your Ubuntu server. I have a feeling something is not configured correctly on Ubuntu. Once we know what the errors are we can start to assist you better. I check the php.ini in terminal display errors is on by default and error reporting is E_ALL by default. Any suggestion? Quote Link to comment https://forums.phpfreaks.com/topic/294857-having-trouble-loading-the-php-on-ubuntu/#findComment-1506697 Share on other sites More sharing options...
Solution G3NERALCHRIS Posted February 26, 2015 Author Solution Share Posted February 26, 2015 No idea what the problem was but I reinstalled Ubuntu on vmware and done all the steps again and it worked first time. Quote Link to comment https://forums.phpfreaks.com/topic/294857-having-trouble-loading-the-php-on-ubuntu/#findComment-1506808 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.