Providing remote access to MySQL server in Linux / Ubuntu

You have installed all the basic requirements for your web server like apache, php, mysql, phpmyadmin and git. Then you test out the server connection and hit the server’s IP address. A apache welcome page opens up. Hurray!!! Your apache web server is working perfectly. Then you try to establish a mysql database connection. Then Oh Snap! MySQL denied your service.

It means that your web server’s mysql still needs to have remote access configured.

(more…)

Read More

Enable Php to display errors on ubuntu.

If you have freshly install ubuntu 16.04 or any version of ubuntu, and then installed fresh apache and php into the system then lets be frank, the error reporting has been turned off by default.

Then the first thing that we do is start our terminal type in php –ini and search for the php.ini file which tells us to be /etc/php/7.0/cli/php.ini and edit the ini file to display_errors. Then we restart the apache server.

But wait! did that solve the issue.

(more…)

Read More

Managing file and folder permissions for wordpress in live server.

You have developed a site on wordpress and then have uploaded the site onto the live server. Then after fixing all the database conections and the site url. You test your website.

Then snap!

500 forbidden error occurs. Or the browser fails to load the page due to some redirection error or such.

This may be caused by improper permission to the files of the project.

(more…)

Read More