How to Log PHP Errors and Warnings
You don’t want to keep the debug mode enabled to display the errors and warnings on your website but still want to see what you’re missing? Or maybe just want to write some info to a log for debugging purposes?…
Tutorials for Web Developers and more. Easy and fun!
Tutorials for Web Developers and more. Easy and fun!
You don’t want to keep the debug mode enabled to display the errors and warnings on your website but still want to see what you’re missing? Or maybe just want to write some info to a log for debugging purposes?…
In Ubuntu 20.04 the standard version of PHP is 7.4. You might want to install the newest version which is 8.0 (as of April 2021). Before installing it, you need to update your repository to get the packages: Now let’s…
This short tutorial will explain how to connect Apache 2 to Tomcat 10 using mod_jk. First thing, let’s install mod_jk. Now let’s create the workers properties file: Here is a simple workers.properties example: Next, edit Tomcat’s server.xml file to enable…
OpenJDK (Open Java Development Kit) is a free and open-source implementation of the Java Platform, Standard Edition (Java SE). Before you begin, let’s update the apt package index: Now let’s install it (it can take a few minutes as there…
After you installed Apache you can start hosting websites. For each website (domain or subdomain) you will need a Virtual Host. This requires a file that conatins information for Apache to find where the website’s files are on your server,…
WordPress makes it easy to find posts in the same category, with the same tag, most recent posts and so on. You may want to refine what other posts you recommend when viewing a post. For example, in one category…
When using the Yoast SEO plugin, you can define a Primary Category for each post. Here is the code to find it: