Web & Software Developer

Posts Tagged “LAMP”

Tutorials about the LAMP stack development environment, which includes Linux, Apache server, MySQL, and PHP.

Reset MySQL root password in Ubuntu/Linux Command Line

These are the terminal commands to reset your MySQL password for your “root” user. This is useful if you forgot your MySQL password on your local LAMP server. This is a fix for errors like these: ERROR 1045: Access denied for user: ‘root@localhost’ (Using password: NO) ERROR 1045: Access denied for user: ‘root@localhost’ (Using password: … Read more →

Create a PHP info Test Page on Command Line

This will create a PHP info page so that you can test if your PHP server is working. This test file will be created quickly using the command line. Open a terminal and type: Open your web browser and type in the address bar “localhost/test.php” and press ‘enter’. You should see the PHP Info page. … Read more →

File Permissions for Local WordPress Development on LAMP

This permission scheme will avoid the “Unable to save – Permission denied – File is Read only” error when you try to save a file in your local /var/www/html/ directory. This will let you edit “Read only” files by adding you to the www-data group and granting the group permission to write to the files. … Read more →

Install a Local WordPress Development Environment in Ubuntu

These steps will install a local WordPress development environment, including Apache, MySQL, and PHP, so that you can develop WordPress plugins or themes on your local Ubuntu (or other Linux) computer. This has been tested on Ubuntu 16.04 LTS, Ubuntu 16.10, and Ubuntu 14.04 LTS. This also works on the LXDE light desktop, or Xubuntu, … Read more →