Lanyon A Simple Blogger template

Free tutorials, courses, generative tools, and projects built with Javascript, PHP, Python, ML, AI,.Net, C#, Microsoft, Youtube, Github Code Download and more.

September 2023

Archive for September 2023

Astro Web Framework Crash Course


Curriculum for the course Astro Web Framework Crash Course

Learn to use Astro in this beginner's tutorial. Astro is an all-in-one web framework for building fast, content-focused websites like landing pages, blogs, technical documentation, and more. ✏️ This course was developed by @JamesQQuick 🔗 Longer Astro Course: https://astrocourse.dev/ 💻 Code: https://github.com/jamesqquick/astro-course-demo Astro Docs - https://docs.astro.build/ SSG vs SSR Diagram - https://app.eraser.io/workspace/CmsSg90ShrgnuACWRsPH?origin=share 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Astro Web Framework Crash Course


Click Here to watch on Youtube: Astro Web Framework Crash Course


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Astro Web Framework Crash Course courses free download, Plurasight Astro Web Framework Crash Course courses free download, Linda Astro Web Framework Crash Course courses free download, Coursera Astro Web Framework Crash Course course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Java Basics – Crash Course


Curriculum for the course Java Basics – Crash Course

Learn the basics of Java programming is this crash course for beginners. ✏️ Course developed by @programmingwithalex.585 ⭐️ Contents ⭐️ ⌨️ (0:00:55) Install Intellij IDEA ⌨️ (0:07:16) Hello World ⌨️ (0:13:34) Keywords Explained ⌨️ (0:20:13) Variables ⌨️ (0:29:01) Variables: int. byte and long ⌨️ (0:41:54) Datatype: short ⌨️ (0:44:20) Datatypes: float and double ⌨️ (0:50:39) Datatypes: boolean and char ⌨️ (0:54:52) Operators and Operations ⌨️ (1:12:45) if statement ⌨️ (1:23:19) else if and logical NOT operator ⌨️ (1:34:09) Nested ifs ⌨️ (1:36:31) logical AND operator ⌨️ (1:41:09) logical OR operator ⌨️ (1:44:58) SWITCH statement ⌨️ (1:55:22) enhanced SWITCH ⌨️ (1:57:23) FOR loop ⌨️ (2:04:49) while and do while loop ⌨️ (2:13:17) Functions ⌨️ (2:24:38) Functions return ⌨️ (2:31:04) Arrays ⌨️ (2:46:00) Arrays Challenge ⌨️ (2:50:57) Classes ⌨️ (3:03:57) Classes getters and setters ⌨️ (3:11:26) OOP: constructors ⌨️ (3:19:57) OOP: inheritance ⌨️ (3:32:27) static keyword 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Java Basics – Crash Course


Click Here to watch on Youtube: Java Basics – Crash Course


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Java Basics – Crash Course courses free download, Plurasight Java Basics – Crash Course courses free download, Linda Java Basics – Crash Course courses free download, Coursera Java Basics – Crash Course course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Nuxt 3 — Course for Beginners


Curriculum for the course Nuxt 3 — Course for Beginners

Learn how to use Next 3 in this full tutorial for beginners. Nuxt.js is a progressive JavaScript framework for building user interfaces on the web. Nuxt makes it easy to create server-rendered applications, static websites, and single-page applications. ✏️ Course developed by @codewithguillaume Contents ⌨️ (0:00:00) Intro ⌨️ (0:02:51) Create an App ⌨️ (0:11:07) Pages ⌨️ (0:22:37) Components ⌨️ (0:32:10) Layouts ⌨️ (0:37:47) Assets ⌨️ (0:48:40) Composables ⌨️ (0:55:00) Plugins ⌨️ (1:00:43) Middlewares ⌨️ (1:07:36) Modules ⌨️ (1:12:57) State Management ⌨️ (1:23:28) Server ⌨️ (1:33:42) Nitro ⌨️ (1:38:17) Rendering modes ⌨️ (1:52:04) useFetch ⌨️ (2:02:27) useAsyncData ⌨️ (2:08:16) SEO & Metas ⌨️ (2:18:57) Hooks ⌨️ (2:22:02) Nuxt.config.ts ⌨️ (2:30:14) Nuxt Content ⌨️ (2:41:29) Build Docs and API 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Nuxt 3 — Course for Beginners


Click Here to watch on Youtube: Nuxt 3 — Course for Beginners


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Nuxt 3 — Course for Beginners courses free download, Plurasight Nuxt 3 — Course for Beginners courses free download, Linda Nuxt 3 — Course for Beginners courses free download, Coursera Nuxt 3 — Course for Beginners course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Combine subtree merge with sparse checkout in Git

Combine subtree merge with sparse checkout in Git

Follow the below steps to combine a subtree merge with sparse checkout in Git

  1. Create a new directory and navigate to it using the terminal.
  2. Initialize a new Git repository.
  3. Add the remote repository that you want to merge as a subtree.
  4. Add the subtree using the git subtree add command.
  5. Create a sparse checkout using the git sparse-checkout command.
  6. Edit the .git/info/sparse-checkout file to include only the files and directories that you want to include in the sparse checkout.
  7. Run git read-tree again to update the working tree with the sparse checkout.

Note that Git is mostly all-or-nothing, so it may not be possible to combine subtree merge with sparse checkout in all cases.

Build-aware sparse checkouts - Git Merge - Youtube

Twitter has developed a tool called focus which manages sparse checkouts as defined by targets in Bazel. By carefully defining the dependency model, we can precompute dependency queries such that users can create the sparse checkout without necessarily having to invoke Bazel first in a dense checkout. Git Merge is dedicated to amplifying new voices in the Git community and showcasing the most thought-provoking projects from developers, maintainers, and teams around the world.

Other Good reads on "How to combine subtree merge with sparse checkout in git":

"'git' is not recognized as the name of a cmdlet" - 3 ways to resolve the error

The error "'git' is not recognized as the name of a cmdlet" can occur when Git is not properly installed or configured on a Windows system. Here are some ways to resolve the error.


"'git' is not recognized as the name of a cmdlet" - 3 ways to resolve the error


Restart Command Prompt

If you have already opened Command Prompt before you install Git for Windows, the latest variables changes might not be updated, which could be one of the reasons why you got the error message. To solve the problem, you can exit Command Prompt, search for Command Prompt in the Windows Search utility, right-click it, and select Run as administrator.

Reinstall Git for Windows

If the Git path is not configured correctly, you could also receive the error "git is not recognized as an internal or external command, operable program or batch file". You can try reinstalling Git for Windows to set the path automatically.

Configure the Git Path Manually

You can configure the Git path manually by adding the Git installation path to the PATH environment variable. Here are the steps to do it:

  • Open the Windows Search utility and search for "environment variables".
  • Click on the "Edit the system environment variables" option.
  • Click on the "Environment Variables" button.
  • In the "System Variables" section, find the "Path" variable and click "Edit".
  • Click "New" and type the installation path for your Git. For example, it could be "C:\Program Files\Git\bin" or "C:\Program Files (x86)\Git\bin".
  • Click "OK" to close all the windows.

Now try typing "git" in the Command Prompt and check if the error disappears.

Few good reads on the topic "'git' is not recognized as the name of a cmdlet":

Git Pull vs Fetch - Difference explained between commands with examples

Git pull and fetch are two commands that are regularly used by Git users. Both commands are used to update your local repository with changes from a remote repository. However, there are some differences between the two commands. Here's a detailed explanation of the differences between Git pull and fetch with examples.


Git Pull vs Fetch - Difference explained between commands with examples


Git Fetch

  • Git fetch is the command that tells your local Git to retrieve the latest metadata info from the original remote repository without bringing the changes into the local repository.
  • Git fetch only downloads new data from a remote repository but doesn't integrate any of this new data into your working files.
  • Fetch is great for getting a fresh view of all the things that happened in a remote repository.
  • Git fetch is a safer alternative because it pulls in all the commits from your remote but doesn’t make any changes to your local files.
  • Fetch might also be preferred by Git veterans who just want more control over what’s happening in their repository.

Here's an example of how Git fetch works:

  • First, we create a file called demo.txt with "Hello Geeks" content inside it and initialize the directory to a Git repository using the following commands:
$ touch demo.txt
$ echo "Hello Geeks" > demo.txt
$ git init
$ git add demo.txt
$ git commit -m "Initial commit"
  • Next, we push the changes to a remote repository using the following command:
$ git remote add origin <Link to your remote repository>
$ git push -u origin master
  • Now, let's make some changes to the demo.txt file at the remote repository.
  • We can use the git fetch command to see all of the remote’s changes without applying them. This action can be great if you’re newer to Git, as it provides more visibility about the changes being introduced.

Git Pull

  • Git pull is a more advanced action and it's important to understand that you will be introducing changes and immediately applying them to your local repository.
  • Git pull downloads the changes and merges them into your current branch.
  • In its default mode, Git pull is shorthand for Git fetch followed by Git merge FETCH_HEAD.
  • Git pull is desirable when you have complete context about the changes you will be getting from your remote repository and adding to your local copy.

Here's an example of how Git pull works:

  • First, we create a file called demo.txt with "Hello Geeks" content inside it and initialize the directory to a Git repository using the following commands:
$ touch demo.txt
$ echo "Hello Geeks" > demo.txt
$ git init
$ git add demo.txt
$ git commit -m "Initial commit"
  • Next, we push the changes to a remote repository using the following command:
$ git remote add origin <Link to your remote repository>
$ git push -u origin master
  • Now, let's make some changes to the demo.txt file at the remote repository.
  • We can use the git pull command to bring (copy) those changes from the remote repository and merge them into our local repository using the following command:
$ git pull origin master
  • The git pull command will download the changes and merge them into our current branch.

Difference between Git Fetch and Git Pull

  • Git fetch only downloads new data from a remote repository but doesn't integrate any of this new data into your working files.
  • Git pull downloads the changes and merges them into your current branch.
  • Git fetch is a safer alternative because it pulls in all the commits from your remote but doesn’t make any changes to your local files.
  • Git pull is desirable when you have complete context about the changes you will be getting from your remote repository and adding to your local copy.

Here's a popular YouTube video that explains the difference between Git pull and fetch in detail.

In summary, Git fetch and pull are two important commands in Git that are used to update your local repository with changes from a remote repository. Git fetch only downloads new data from a remote repository, while Git pull downloads the changes and merges them into your current branch. It's important to understand the differences between the two commands and use them appropriately based on your needs.

Some good read - references to "Git Pull vs Fetch":

Delete a Git branch both locally and remotely - Explained with Git commands and Example

Delete a Git branch both locally and remotely is a common task that can be accomplished in several ways. Here are some of the most common methods, explained in detail with examples.


Deleting a Git branch both locally and remotely - Explained with Git commands and Example


Deleting a local branch

To delete a local branch in Git, you can use the git branch -d command followed by the name of the branch you want to delete. For example, git branch -d feature-branch will delete the local branch called feature-branch.

Here's a step-by-step guide with images:

  • First, we create a local branch called feature-branch using the git branch feature-branch command:

Create local branch

  • Next, we delete the local branch using the git branch -d feature-branch command:

Delete local branch

Deleting a remote branch

To delete a remote branch in Git, you can use the git push command with the --delete option followed by the name of the remote branch you want to delete. For example, git push origin --delete feature-branch will delete the remote branch called feature-branch.

Here's a step-by-step guide with images:

  • First, we create a remote branch called feature-branch using the git push -u origin feature-branch command:

Create remote branch

  • Next, we delete the remote branch using the git push --delete origin feature-branch command:

Delete remote branch

Deleting a branch with merged changes

If the branch you want to delete has already been merged into another branch, you can use the git branch -d command to delete it. If you want to force the deletion, you can use the git branch -D command instead.

Here's a step-by-step guide with images:

  • First, we create a local branch called feature-branch and make some changes to it:

Create local branch

  • Next, we merge the changes from feature-branch into the main branch using the git merge feature-branch command:

Merge changes

  • Finally, we delete the feature-branch using the git branch -d feature-branch command:

Delete merged branch

Deleting a branch with unmerged changes

If the branch you want to delete has unmerged changes, you can use the git branch -D command to force the deletion.

Here's a step-by-step guide with images:

  • First, we create a local branch called feature-branch and make some changes to it:

Create local branch

  • Next, we try to delete the feature-branch using the git branch -d feature-branch command, but we get an error message because the changes have not been merged:

Delete unmerged branch

  • Finally, we force the deletion using the git branch -D feature-branch command:

Force delete unmerged branch

It's important to note that these commands can be dangerous if used incorrectly, so it's always a good idea to make a backup of your repository before making any changes. Additionally, if you're unsure about which command to use, it's always a good idea to consult the Git documentation or seek help from a more experienced Git user.

A few more reference to understand the concept "Deleting a Git branch both locally and remotely":

Undo the most recent local commits in Git - Explained with commands and example

Undoing the most recent local commits in Git is a common task that can be accomplished in several ways. Here are some of the most common methods, explained in detail.


Undo the most recent local commits in Git - Explained with commands and example


Undoing the last commit while keeping changes

If you want to undo the last commit while keeping the changes you made, you can use the git reset --soft HEAD^ command. This will reset the branch to the previous commit, but keep the changes you made in the staging area. You can then make any additional changes you need and commit them again.

To illustrate this method, let's say we have a repository with a file called example.txt that we want to modify. We make some changes to the file and commit them using the git commit -m "Initial commit" command. We then realize that we made a mistake and want to undo the commit while keeping the changes we made.

To do this, we can use the git reset --soft HEAD^ command. This will reset the branch to the previous commit, but keep the changes we made in the staging area. We can then make any additional changes we need and commit them again.

Here's a step-by-step guide:

  • First, we make some changes to the example.txt file and commit them using the git commit -m "Initial commit" command:

Initial commit

  • Next, we realize that we made a mistake and want to undo the commit while keeping the changes we made. We use the git reset --soft HEAD^ command:

Reset command

  • The git reset --soft HEAD^ command resets the branch to the previous commit, but keeps the changes we made in the staging area. We can now make any additional changes we need and commit them again:

Additional changes

Undoing the last commit and discarding changes

If you want to undo the last commit and discard the changes you made, you can use the git reset --hard HEAD^ command. This will reset the branch to the previous commit and discard any changes you made.

To illustrate this method, let's say we have a repository with a file called example.txt that we want to modify. We make some changes to the file and commit them using the git commit -m "Initial commit" command. We then realize that we made a mistake and want to undo the commit and discard the changes we made.

To do this, we can use the git reset --hard HEAD^ command. This will reset the branch to the previous commit and discard any changes we made.

Here's a step-by-step guide:

  • First, we make some changes to the example.txt file and commit them using the git commit -m "Initial commit" command:

Initial commit

  • Next, we realize that we made a mistake and want to undo the commit and discard the changes we made. We use the git reset --hard HEAD^ command:

Reset command

  • The git reset --hard HEAD^ command resets the branch to the previous commit and discards any changes we made:

Discarded changes

Undoing multiple commits

If you want to undo multiple commits, you can use the git reset command with the number of commits you want to undo. For example, git reset HEAD~3 will undo the last three commits.

To illustrate this method, let's say we have a repository with a file called example.txt that we want to modify. We make some changes to the file and commit them three times using the git commit -m "Commit 1", git commit -m "Commit 2", and git commit -m "Commit 3" commands. We then realize that we made a mistake and want to undo the last three commits.

To do this, we can use the git reset HEAD~3 command. This will reset the branch to the commit before the last three commits.

Here's a step-by-step guide:

  • First, we make some changes to the example.txt file and commit them three times using the git commit -m "Commit 1", git commit -m "Commit 2", and git commit -m "Commit 3" commands:

Multiple commits

  • Next, we realize that we made a mistake and want to undo the last three commits. We use the git reset HEAD~3 command:

Reset command

  • The git reset HEAD~3 command resets the branch to the commit before the last three commits:

Reset branch

Reverting a commit

If you have already pushed the commit to a remote repository, you can use the git revert command to create a new commit that undoes the changes made in the previous commit. For example, git revert HEAD will create a new commit that undoes the changes made in the last commit.

To illustrate this method, let's say we have a repository with a file called example.txt that we want to modify. We make some changes to the file and commit them using the git commit -m "Initial commit" command. We then push the commit to a remote repository. We later realize that we made a mistake and want to undo the changes made in the last commit.

To do this, we can use the git revert HEAD command. This will create a new commit that undoes the changes made in the last commit.

Here's a step-by-step guide:

  • First, we make some changes to the example.txt file and commit them using the git commit -m "Initial commit" command:

Initial commit

  • Next, we push the commit to a remote repository:

Push commit

  • Later, we realize that we made a mistake and want to undo the changes made in the last commit. We use the git revert HEAD command:

Revert command

  • The git revert HEAD command creates a new commit that undoes the changes made in the last commit:

Reverted commit

It's important to note that these commands can be dangerous if used incorrectly, so it's always a good idea to make a backup of your repository before making any changes. Additionally, if you're unsure about which command to use, it's always a

Here are few references to understand the concept in different context:

Rust Project Tutorial – Authentication Server Using Warp + JWT


Curriculum for the course Rust Project Tutorial – Authentication Server Using Warp + JWT

In this course, you will learn how to use Rust to create an authentication server. The course provides a comprehensive guide on user data management, structure, and token-based authentication. Special attention is given to error handling, JWT issues, and practical solutions for common challenges. Concluding with a hands-on demo, viewers will gain a thorough understanding of token creation and user management in modern applications ✏️ Course created by @AkhilSharmaTech 0:00:00 Introduction and setup 0:06:42 Admin and user authentication 0:15:53 User data handling and roles 0:28:54 Introduction to user structures and attributes 0:45:41 Token management and claims analysis 1:01:48 Deep dive into roles and tokens 1:05:03 Error handling and permissions 1:14:58 Advanced error insights and JWT issues 1:29:19 Code analysis and issue resolution 1:31:24 Final touches and RS file exploration 1:34:50 Demo review and token creation 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Rust Project Tutorial – Authentication Server Using Warp + JWT


Click Here to watch on Youtube: Rust Project Tutorial – Authentication Server Using Warp + JWT


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Rust Project Tutorial – Authentication Server Using Warp + JWT courses free download, Plurasight Rust Project Tutorial – Authentication Server Using Warp + JWT courses free download, Linda Rust Project Tutorial – Authentication Server Using Warp + JWT courses free download, Coursera Rust Project Tutorial – Authentication Server Using Warp + JWT course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Python Tutorial for Beginners (with mini-projects)


Curriculum for the course Python Tutorial for Beginners (with mini-projects)

Learn Python programming in this complete course for beginners. This tutorial features mini-projects throughout so you can put what you learn into use immediately. 💻 Resources: https://github.com/gitdagray/python-course ✏️ Course developed by @DaveGrayTeachesCode ⭐️ Contents ⭐️ (0:00:00) Intro (0:01:23) Chapter 1 - Getting Started (0:14:50) Chapter 2 - Python Basics (0:29:58) Chapter 3 - Operators (0:46:18) Chapter 4 - Data Types (1:23:25) Chapter 5 - User Input (1:45:31) Chapter 6 - Lists & Tuples (2:17:00) Chapter 7 - Dictionaries & Sets (2:46:23) Chapter 8 - Loops (3:09:03) Chapter 9 - Functions (3:23:48) Chapter 10 - Recursion (3:41:11) Chapter 11 - Scope (4:00:30) Chapter 12 - Closures (4:19:32) Chapter 13 - f-Strings (4:42:15) Chapter 14 - Modules (4:59:47) Chapter 15 - Command Line Arguments (5:20:39) Chapter 16 - Challenges (5:35:59) Chapter 17 - Lambda & Higher Order Functions (5:56:45) Chapter 18 - Classes & Objects (6:15:44) Chapter 19 - Exceptions & Errors (6:27:29) Chapter 20 - OOP Project (6:57:15) Chapter 21 - Virtual Environments & PIP (7:27:23) Chapter 22 - File Operations (7:49:32) Chapter 23 - Final Project 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Python Tutorial for Beginners (with mini-projects)


Click Here to watch on Youtube: Python Tutorial for Beginners (with mini-projects)


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Python Tutorial for Beginners (with mini-projects) courses free download, Plurasight Python Tutorial for Beginners (with mini-projects) courses free download, Linda Python Tutorial for Beginners (with mini-projects) courses free download, Coursera Python Tutorial for Beginners (with mini-projects) course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Install, Update, and Remove Node.js on Ubuntu: A Comprehensive Guide

Node.js is a powerful and popular JavaScript runtime that allows you to build server-side applications and run JavaScript code outside of a web browser. If you're an Ubuntu user and want to harness the capabilities of Node.js for your projects, this guide will walk you through the process of installing, updating, and removing Node.js on your Ubuntu system using various methods.

Install, Update, and Remove Node.js on Ubuntu

Install Node.js on Ubuntu

Method 1: Using the Default Ubuntu Repository

The most straightforward way to install Node.js on Ubuntu is to use the default Ubuntu repository. This method provides a stable version of Node.js, but it may not always be the latest version.

  • Open your terminal by pressing Ctrl + Alt + T.
  • Update the package list to ensure you have the latest information about available packages:

sudo apt update
  • Install Node.js and npm (Node Package Manager) with the following command:
sudo apt install nodejs npm
  • Verify the installation by checking the Node.js and npm versions:
node -v
npm -v

Method 2: Using the NodeSource Repository

If you prefer to install the latest version of Node.js or need a specific version, you can use the NodeSource repository, which provides up-to-date packages.

  • First, install the required dependencies for adding a new repository:
sudo apt install curl software-properties-common
  • Add the NodeSource repository for Node.js:
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
  • Add the repository to your system:
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/nodesource.list
  • Update the package list again:
sudo apt update
  • Install Node.js and npm from the NodeSource repository:
sudo apt install nodejs npm
  • Verify the installation:
node -v
npm -v

Method 3: Using NVM (Node Version Manager)

NVM is a tool that allows you to manage multiple Node.js versions on your system. It's useful when you need to work with different Node.js versions for different projects.

  • Install NVM by running the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  • Close and reopen your terminal, or run the following command to apply changes without restarting:
source ~/.bashrc
  • To install a specific Node.js version, use NVM. For example, to install Node.js 14, run:
nvm install 14
  • Set the default Node.js version:
nvm use 14
  • Verify the installation:
node -v
npm -v

Update Node.js on Ubuntu

Keeping Node.js up to date is crucial to access the latest features and security updates. Depending on the installation method you chose, here's how you can update Node.js:

Updating from the Default Repository

If you installed Node.js from the default Ubuntu repository, you can update it with the following commands:

sudo apt update
sudo apt upgrade nodejs

Updating from the NodeSource Repository

For Node.js installed from the NodeSource repository, use the following commands:

sudo apt update
sudo apt upgrade nodejs

Updating with NVM

If you used NVM to install Node.js, updating is simple:

  • Update NVM to the latest version:
nvm install --lts
  • Set the newly installed Node.js version as the default:
nvm use --lts
  • Verify the update:
node -v
npm -v

Remove Node.js on Ubuntu

If, for any reason, you need to remove Node.js from your Ubuntu system, you can do so using the following steps:

  • To uninstall Node.js and npm installed from the default Ubuntu repository, run:
sudo apt remove nodejs npm
  • If you installed Node.js from the NodeSource repository, use:
sudo apt remove nodejs npm
  1. If you used NVM to install Node.js, you can uninstall it as follows:

    a. First, deactivate NVM:

    nvm deactivate
    

    b. Then, uninstall NVM:

    rm -rf ~/.nvm
    
  2. Finally, remove any leftover configuration files:

sudo rm -rf /etc/apt/sources.list.d/nodesource.list
sudo rm -f /usr/share/keyrings/nodesource.gpg

Essential Node.js Commands on Ubuntu

Now that you have Node.js installed on your Ubuntu system, let's explore some essential Node.js commands that will help you in your development workflow:

1. Run a JavaScript File

To execute a JavaScript file using Node.js, open your terminal and run:

node filename.js

Replace filename.js with the name of your JavaScript file.

2. Interactive Node.js REPL

Node.js provides an interactive REPL (Read-Eval-Print Loop) environment for experimenting with JavaScript code. Simply type node in your terminal to enter the REPL:

node

You can now enter JavaScript code line by line and see the results immediately.

3. Install Node.js Packages

Node.js uses npm (Node Package Manager) to manage packages. To install a package, use:

npm install package-name

Replace package-name with the name of the package you want to install.

4. Create a New Node.js Project

To create a new Node.js project with a package.json file, navigate to your project folder in the terminal and run:

npm init

Follow the prompts to configure your project.

5. Start a Node.js Server

If you're building a web application, you can start a Node.js server using the http module. Here's a basic example:

const http = require('http');

const server = http.createServer((req, res) => {
  res.writeHead(200, { 'Content-Type': 'text/plain' });
  res.end('Hello, Node.js!\n');
});

const port = 3000;
server.listen(port, () => {
  console.log(`Server running at http://localhost:${port}/`);
});

Save this code to a file, and run it with node filename.js. Your server will be accessible at http://localhost:3000/.

6. Install Global Packages

To install a package globally (available system-wide), use the -g flag:

npm install -g package-name

Global packages are often command

-line tools or utilities that you want to use across different projects.

In this comprehensive guide, we've covered multiple methods for installing Node.js on Ubuntu, updating it to the latest version, and safely removing it from your system if needed. We've also introduced you to some essential Node.js commands that will be valuable in your development journey.

Whether you're a seasoned developer or just getting started with Node.js, having a well-maintained Node.js environment on your Ubuntu machine is essential for building robust and efficient server-side applications. So, go ahead and install Node.js, explore its capabilities, and start creating amazing projects on your Ubuntu system with confidence.

Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel)


Curriculum for the course Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel)

Learn how to build and deploy a SaaS using NextJS 13.4, DrizzleORM, OpenAI, Stripe, TypeScript, Tailwind, and Vercel. You will gain expertise in the following areas: - Leveraging NextJS 13's cutting-edge App Router. - Managing Payments seamlessly through Stripe. - Harnessing the beauty of Shadcn and the power of Tailwind CSS. - Unleashing the capabilities of OpenAI's API for Language Model usage. - Interacting with databases with the efficiency of ORMs. Resources 🔗 GitHub Repo: https://github.com/elliott-chong/chatpdf-yt 🔗 Vercel AI SDK: https://vercel.com/blog/introducing-the-vercel-ai-sdk 🔗 Timestamp 3:20:00 /api/chat/route.ts file https://pastebin.com/crLipeHK Course developed by @elliottchong ⭐️ Contents ⭐️ ⌨️ (0:00:00) Intro & Demo ⌨️ (0:09:53) Set Up NextJS ⌨️ (0:11:59) Set Up Shadcn ⌨️ (0:15:45) Set Up ClerkAuth ⌨️ (0:21:52) Home Page ⌨️ (0:33:22) DrizzleORM ⌨️ (0:50:15) File Upload Component ⌨️ (0:57:11) Set Up AWS S3 ⌨️ (1:18:12) AI RAG Explanation ⌨️ (1:30:39) React Query Set Up ⌨️ (1:45:11) Set Up Pinecone DB ⌨️ (2:32:27) Chat Side Bar ⌨️ (2:47:42) PDF Viewer ⌨️ (2:50:33) Chat Component ( Vercel AI SDK ) ⌨️ (3:08:02) Pinecone OpenAI Get Context ⌨️ (3:26:19) Persist Chat Logs to DB ⌨️ (3:34:16) Stripe Integration ⌨️ (4:14:59) Deploy and Outro 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel)


Click Here to watch on Youtube: Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel)


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel) courses free download, Plurasight Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel) courses free download, Linda Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel) courses free download, Coursera Build & Deploy AI SaaS with Reoccurring Revenue (Next.js, OpenAI, Stripe, Tailwind, Vercel) course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI


Curriculum for the course Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI

Learn about vector embeddings and how to use them in your machine learning and artificial intelligence projects. Learn how to create an AI assistant with vector embeddings. ✏️ Course created by @AniaKubow ⭐️ Contents ⭐️ ⌨️ (00:27) Introduction ⌨️ (01:49) What are vector embeddings? ⌨️ (02:14) Text embeddings ⌨️ (07:58) What are vector embeddings used for? ⌨️ (11:05) How to generate our own text embedding with OpenAI ⌨️ (14:37) Vectors and databases ⌨️ (16:02) Getting our database set up ⌨️ (18:05) Langchain ⌨️ (19:24) Let’s build an Ai Assistant 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI


Click Here to watch on Youtube: Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI courses free download, Plurasight Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI courses free download, Linda Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI courses free download, Coursera Vector Embeddings Tutorial – Create AI Assistant with Natural Language Processing & OpenAI course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

2D Wave Defense Game – GDevelop GameDev Tutorial


Curriculum for the course 2D Wave Defense Game – GDevelop GameDev Tutorial

Create a wave defense game without coding, using GDevelop. In this beginner-friendly tutorial, we'll cover player movement, firing a bullet, enemy logic, and spawning the enemies. You will learn how to make a game in GDevelop, a no-code, open-source, free, and easy game engine. ✏️ Course developed by Wesley King. Learn more about GDevelop: https://gdevelop.io/ 🔗 Assets: https://drive.google.com/drive/folders/1RYp6COMZK2THbz454bAuDWG-EFc4c--o 🔗 Finished Game: https://gdevelop.io/game-example/free/wave-defense-shooter ⭐️ Contents ⭐️ ⌨️ (0:00:00) Basic Set Up ⌨️ (0:13:13) Game Polish ⌨️ (0:36:46) Menus And Settings ⌨️ (0:51:53) Leveling Up ⌨️ (1:10:09) Basic Enemies ⌨️ (1:26:07) Advanced Enemies 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: 2D Wave Defense Game – GDevelop GameDev Tutorial


Click Here to watch on Youtube: 2D Wave Defense Game – GDevelop GameDev Tutorial


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy 2D Wave Defense Game – GDevelop GameDev Tutorial courses free download, Plurasight 2D Wave Defense Game – GDevelop GameDev Tutorial courses free download, Linda 2D Wave Defense Game – GDevelop GameDev Tutorial courses free download, Coursera 2D Wave Defense Game – GDevelop GameDev Tutorial course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS)


Curriculum for the course YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS)

Learn how to use the T3 Stack (Next.js, Typescript, TRPC, Next Auth, Prisma, and Tailwind CSS) to build a full stack video streaming app similar to YouTube. You will learn how each technology comes together to build an end-to-end web application. CLOUDINARY DATA: https://drive.google.com/drive/folders/1JTj1JJSCxtRvNfxRSSgXCJePkYW6vBPV FIGMA DESIGN: https://www.figma.com/file/Bkz0ewKqWyIOCt2sewUnhW/Vidchill---Design?type=design&node-id=48-33046&mode=design GITHUB REPO: https://github.com/jeromemccree/vidchill_tutorial DEPLOYED APP: https://www.vidchill.org/ ✏️ Course created by Jerome McCree. Instagram: https://www.instagram.com/jeromemccree/ Twitter: https://twitter.com/jeromemccree/ ⭐️ Contents ⭐️ ⌨️ (0:00:27) Intro ⌨️ (0:00:50) Demo ⌨️ (0:12:05) Tech Stack ⌨️ (0:20:20) Setup ⌨️ (0:38:14) Write Prisma Models ⌨️ (0:55:27) Seed Database ⌨️ (1:22:27) Adding Tailwind ⌨️ (1:25:12) Button Component ⌨️ (1:38:27) Navbar Component ⌨️ (2:26:52) Sidebar Component ⌨️ (2:53:42) Layout Component and mobile sidebar ⌨️ (3:34:00) Mobile Footer Component ⌨️ (3:45:27) Home Page ⌨️ (3:57:47) Error/Loading Message Component ⌨️ (4:12:27) MultiColumnVideos Component ⌨️ (4:36:27) Search Page ⌨️ (4:50:27) Video Page Begin ⌨️ (5:45:27) Build Follow Button ⌨️ (6:09:23) Build Like and Dislike Button ⌨️ (6:58:22) Description Component ⌨️ (7:12:12) Comment Component ⌨️ (7:46:57) Save Video Button ⌨️ (8:41:17) Profile Header Component ⌨️ (9:21:27) Profile Videos Page ⌨️ (9:33:47) Profile playlist Page ⌨️ (10:02:47) Playlist Page ⌨️ (10:33:48) History and Like Videos Page ⌨️ (10:42:01) Profile Announcements Page ⌨️ (11:07:57) Like and Dislike Announcement Buttons ⌨️ (11:28:27) Add announcements ⌨️ (11:40:37) Profile Following Page ⌨️ (12:03:22) Start of Dashboard Page ⌨️ (12:39:47) Publish Button ⌨️ (13:00:57) Delete Button ⌨️ (13:33:27) Edit Button ⌨️ (14:25:36) Upload Button 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS)


Click Here to watch on Youtube: YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS)


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS) courses free download, Plurasight YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS) courses free download, Linda YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS) courses free download, Coursera YouTube Clone – T3 Stack Tutorial (Next.js, TypeScript, Tailwind CSS) course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone


Curriculum for the course Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone

Learn how to build a full stack Google Drive clone using Next.js, TypeScript, Tailwind CSS, and Firebase 9. ✏️ Course developed by @CybernaticoByNishant 💻 Code: https://github.com/nishant-666/Drive-2.0 ⭐️ Contents ⭐️ (0:00:00) Introduction (0:02:56) Base Setup (0:06:46) Authentication (0:29:26) Building the Topbar (0:33:07) Upload Files Component I (0:42:00) Initialising Firebase (0:48:53) Upload Files Component || (0:54:43) Uploading Files to Storage (1:06:06) Displaying Files (1:24:35) Creating Folders (1:39:35) Nested Folders and Files (2:17:23) Adding Google Auth (2:20:13) Sharing Files and Folders using Email 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone


Click Here to watch on Youtube: Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone courses free download, Plurasight Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone courses free download, Linda Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone courses free download, Coursera Full Stack Next.js, Typescript, Firebase Tutorial – Google Drive Clone course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Prompt Engineering Tutorial – Master ChatGPT and LLM Responses


Curriculum for the course Prompt Engineering Tutorial – Master ChatGPT and LLM Responses

Learn prompt engineering techniques to get better results from ChatGPT and other LLMs. ✏️ Course developed by @AniaKubow ⭐️ Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:00:57) What is Prompt Engineering? ⌨️ (0:01:43) Introduction to AI ⌨️ (0:03:18) Why is Machine learning useful? ⌨️ (0:06:02) Linguistics ⌨️ (0:07:30) Language Models ⌨️ (0:14:01) Prompt Engineering Mindset ⌨️ (0:15:04) Using GPT-4 ⌨️ (0:20:07) Best practices ⌨️ (0:30:46) Zero shot and few shot prompts ⌨️ (0:34:32) AI hallucinations ⌨️ (0:36:09) Vectors/text embeddings ⌨️ (0:39:54) Recap 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Prompt Engineering Tutorial – Master ChatGPT and LLM Responses


Click Here to watch on Youtube: Prompt Engineering Tutorial – Master ChatGPT and LLM Responses


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Prompt Engineering Tutorial – Master ChatGPT and LLM Responses courses free download, Plurasight Prompt Engineering Tutorial – Master ChatGPT and LLM Responses courses free download, Linda Prompt Engineering Tutorial – Master ChatGPT and LLM Responses courses free download, Coursera Prompt Engineering Tutorial – Master ChatGPT and LLM Responses course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

JavaScript Modules Crash Course


Curriculum for the course JavaScript Modules Crash Course

Learn about JavaScript Modules. Modules are fundamental concepts in JavaScript before you learn any other library or framework like React, Angular, Vue.js, Node.js, etc. By the end of this video, you'll be able to use modules to add flexibility, reusability, and power to your code. ✏️ Course developed by @tapasadhikary ⭐️ Contents ⭐️ ⌨️ (00:00) Welcome to JavaScript Module Crash Course ⌨️ (00:30) How to Take This Course? ⌨️ (01:01) What are Modules in JavaScript, and Why to Use? ⌨️ (04:51) What are Exports and Imports in JavaScript Module? ⌨️ (13:07) What are Default and Named Module Exports in JavaScript? ⌨️ (20:27) What are Aliases in JavaScript Module Import? ⌨️ (22:52) What are Namespaces in JavaScript Module? ⌨️ (25:30) What is Combined Export in JavaScript Module? ⌨️ (32:12) What is Dynamic Import in JavaScript Module? ⌨️ (38:59) How to Handle Multiple Imports Using JavaScript Promise APIs? ⌨️ (44:57) What is Tree Shaking & How Does It Help? ⌨️ (46:50) What's Next & Where to Go From Here? 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: JavaScript Modules Crash Course


Click Here to watch on Youtube: JavaScript Modules Crash Course


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy JavaScript Modules Crash Course courses free download, Plurasight JavaScript Modules Crash Course courses free download, Linda JavaScript Modules Crash Course courses free download, Coursera JavaScript Modules Crash Course course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Fixed: "Your PHP Installation Appears to be Missing the MySQL Extension which is Required by WordPress."

While installing or running a WordPress website you may hit the server side error "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress.".

The error generally appears due to outdated PHP version, non-existing MySQL extension on your hosting server or outdated WordPress version. We will see the causes behind the server side error "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress." and understand how to solve this with few easy steps.

How to fix: Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress.

Why the server side error "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress." surfaces?

When you make a WordPress install on server or localhost using XAMPP/WAMPP there can be a mismatch among the PHP version required by the WordPress version that you have installed on top of it. There can also be a PHP MySQL extension missing that throws this PHP WordPress server side error Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress. In either of the case the WordPress is not able to connect to MySQl database using the core PHP libraries and unable to function.

Let us now see how can we fix the PHP WordPress server side error "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress." troubleshooting the above issues.

How to fix "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress."

There can be several configuration issues that may surface this server side error with the message Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress. Most of the times you will find yourself fixing this PHP WordPress server side error with below troubleshoot steps.

Check and update PHP Version

Check the PHP version your hosting provider is running. This can be checked on localhost as well in same fashion. What you need is to call a PHP core function called "PHP Info". Here is how you do it.

Create a simple file with php extension and upload this to your public_html folder on your hosting or under the main folder on localhost and run the file using the file name.

<?php

phpinfo();

?>

If the PHP version is below 5.6, we recommend you to update the PHP version on your server or localhost to the Latest PHP version from here

Download Latest PHP Version

For a strong enough reason if you can not update the PHP version to lates, you would need to check if the MySQL extension is missing from server. (Look in 3rd point below)

Check and update the WordPress Version

Another issue that reflects in the server side error "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress." can be a WordPress version mismatch with the PHP version installed on your server or localhost using XAMPP or WAMPP. Check for the PHP version dependency of the WordPress installation before you install. You can download the latest WordPress version from here.

Download Latest WordPress

Check and Enable if MySQL Extension is Enabled on hosting server

For this you need to run the PHP Info function again as we did in frst step. Search for "Client API version" on the displayed result of PHP information on the webpage after running the script. You can do "CTRL + F" to search this on the web page. If you find at least one result, it means the MySQL extension is enabled. Contact your hosting provider to update/enable the required extension.

How to enable PHP extensions in CPanel

  1. Enable PHP extensions on Godaddy
  2. Enable PHP extensions on Hostinger

To conclude the server side error "Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress." can happen due to the mismatch of PHP WordPress version dependencies and the easiest way to solve this is updating the PHP version and installing the related WordPress CMS on it. The custom PHP extensions can be enabled if we can not update the versions in specific cases.

Share this post

Search This Blog

What's New

The "AI is going to replace devs" hype is over – 22-year dev veteran Jason Lengstorf [Podcast #201]

Image
Curriculum for the course The "AI is going to replace devs" hype is over – 22-year dev veteran Jason Lengstorf [Podcast #201] Today Quincy Larson interviews Jason Lengstorf. He's a college dropout who taught himself programming while building websites for his emo band. 22 years later he's worked as a developer at IBM, Netlify, run his own dev consultancy, and he now runs CodeTV making reality TV shows for developers. We talk about: - How many CEOs over-estimated the impact of AI coding tools and laid off too many devs, whom they're now trying to rehire - Why the developer job market has already rebounded a bit, but will never be the same - Tips for how to land roles in the post-LLM résumé spam job search era - How devs are working to rebuild the fabric of the community through in-person community events Support for this podcast is provided by a grant from AlgoMonster. AlgoMonster is a platform that teaches data structure and algorithm patterns in a structure...

Labels

Programming Video Tutorials Coursera Video Tutorials Plurasight Programming Tutorials Udemy Tutorial C# Microsoft .Net Dot Net Udemy Tutorial, Plurasight Programming Tutorials, Coursera Video Tutorials, Programming Video Tutorials Asp.Net Core Asp.Net Programming AWS Azure GCP How To WordPress Migration C sharp AWS Project Git Commands FREE AWS Tutorial OldNewThings Git Tutorial Azure vs AWS vs GCP New in .Net javascript AI Google I/O 2025 Wordpress jquery Generative Video Git Git Squash Google Flow AI PHP SQL Veo 3 squash commit CSS Cloud Services React Tutorial With Live Project Source Code git rebase CPR Nummer Dropdown Reset Javascript Figma Figma Beginner Tutorial Geolocation Non-Programmer Content Python Free Course Think Simply Awesome Tutorial UI UX Live Project UI/UX Full Course Wireframing dotnet core runtime error html API Gateway AWS EKS vs Azure AKS All in one WP stuck C++ C++ Coroutines CPR Denmark ChatGPT Cloud Database Cloud DevOps Cloud Security Cloud Storage Contact Form 7 Dropdown Unselect Javascript E commerce Free AWS Terraform Project Training Git Commit Google Drive Files Google Drive Tips Http Error 500.30 Http Error 500.31 Interview Questions Learn Courutines C++ Microservices for Live Streaming PII Denmark Pub Sub SQL Server SSIS Terraform Course Free Terraform Tutorial Free USA E commerce strategies UpdraftPlus UpdraftPlus Manual Restore Website Optimization Strategies dropdown javascript select drop down javascript smarttube apk error 403 smarttube next 403 Error 413 Error 503 504 524 AI & ML AI Assistants AI Course CS50 AI in daily life AWS API Gateway AWS EBS AWS EC2 vs Azure VMs vs GCP Compute Engine AWS EFS AWS IAM AWS Lamda AWS RDS vs Azure SQL AWS Redshift AWS S3 AZ-104 AZ-104 Free Course AZ-104 Full Course AZ-104 Pass the exam Abstract Class C# Abstract Method Ajax Calender Control Ajax Control Toolkit All In One Extension Compatibility All In One WP Freeze All In One WP Migration All in one WP All-in-One WP Migration Android 15 Android TV Applying Theme html Asp.net core runtime Error Audio Auto Complete Azure AD Azure APIM Azure Administrator Certification Azure Blob Storage Azure Data Lake Azure Files Azure Function Azure Managed Disk Azure Synapse Base Class Child Class Best Grocery Price Big Data BigBasket vs Grofers Bing Homepage Quiz Blogger Import Blogger Post Import Blogger XML Import Bluetooth Connectivity Browser Detail Building Real-Time Web Applications Bulk Insert CI/CD CPR Address Update CPR Generator CPR Generator Denmark CS50 AI Course CS50 AI Python Course CS50 Artificial Intelligence Full Course CVR Centrale Virksomhedsregister Change Workspace TFS ChatGPT Essay Guide ChatGPT Usage ChatGPT vs Humans Cloud API Management Cloud CDN Cloud Computing Cloud Data Warehouse Cloud Event Streaming Cloud IAM Cloud Messaging Queue Cloud Monitoring and Logging Cloud Networking CloudFront Cloudflare Cloudwatch Compute Services Connect a Bluetooth Device to my PC site:microsoft.com Containers ControlService FAILED 1062 Corona Lockdown MP CosmosDB Covid19 Covid19 Bhopal Covid19 Home Delivery MP Covid19 Indore Covid19 Susner Covid19 Ujjain Cypress Javascript Cypress Javascript framework Cypress Javascript testing Cypress Javascript tutorial Cypress Javascript vs typescript DNS Danish CVR Data Analytics Data Analytics Course Free Data Engineering Data Structure Full Course Data Visualization Database Database Diagram Visualizer Davek Na Dodano Vrednost Dbdiagram export seeder Deep Learning Course Denmark Numbers Det Centrale Personregister Det Centrale Virksomhedsregister DevOps Device Compatibility Dictionary Dictionary in C# Digital Economy Disaster Recovery for Web Applications Disaster-Proof Infrastructure Dmart Frenchise Dmart Home Delibery Dmart Mumbai Address Dmart Pickup Points Doodle Jump Drive Images On Blog Drive Images On Website Driver Problems DropDown Dropbox Dropdown jquery DynamoDB ETL ETL Package Ecommerce Store using AWS & React Embed Drive Images Escape Sequences in c#.Net Event Hub Explicit Join Extract Facebook App Fake CVR Denmark Fake DDV Slovenia Fake VAT Number Fake Virk Number Faker Feature Toggle Find CPR Information Find a Word on Website Firestore Flappy Bird Game Form Selectors using jQuery Free React Portfolio Template FreeCodeCamp Frontend Best Practices for Millions of Users Full Text Index View G Drive Hosting GAN certification course GCP Cloud Data Lake GCP Filestore GCP Functions GCP IAM GCP Persistent Disk Gemini Git Checkout Google Adsense Setting Google Beam Google BigQuery Google Conversion Tracking Google Docs Advanced Tutorial Google Drive Clone Google Drive Clone Bot Google Drive Clone HTML CSS Google Drive Clone PHP Google Drive Clone React Google Drive Clone Tutorial Google Drive Clone VueJS Google Drive File Sharing Google Drive Images Google Drive Sharing Permissions Grocery Price Compare Online Grocery in Corona Grocery in Covid19 Grofers vs DMart vs Big basket HAXM installation HTML Storage HTML to PDF Javascript HTML2Canvas HTML5 HTML5 Append Data HTML5 Audio HTML5 Data Storage HTML5 Storage HTML5 Video Harvard University AI Course Header Sent Height Jquery High Availability in Live Streaming Platforms High-Concurrency Frontend Design High-Concurrency Web Applications How to Search for a Word on Mac Html2Canvas Black Background issue Http Error 413 Http Error 500.35 IIS INNER Join Image Gallery Blogger Image Gallery Blogger Picasa Image Gallery Blogger Template Image Gallery Blogger Template Free Implicit Join Indexing in SQL Instagram Clone React Instagram Clone Script Install NodeJS Ubuntu Internet Infrastructure Interview IoT IoT Core IoT Hub JS Game Tutorial Java Feature Toggle Javascript game tutorial JioCinema Case Study Keep Me Login Key Management Kinesis Learn Scrappy with a live project List Live Streaming Data Delivery Live Streaming Performance Optimization Load Load Balancer Looping Dictionary MTech First Semester Syllabus MTech Syllabus MVC Mac Mac Finder Shortcut Media Controller Media Group Attribute Microservices Architecture for Scalability Missing MySQL Extension Mobile Optimization Multiple Audio Sync Multiple Video Sync Mumbai Dmart List MySQL MySQL ERD Generator Next.js Beginner Tutorial Ngnix NodeJS NodeJS Ubuntu Commands Numpy OOPS Concepts OOPS in C# Object Oriented Programming Object Storage Outer Join PHP Installation Error PHP WordPress Installation Error Pandas Personligt identifikations nummer Pipedrive Pipedrive Quickbooks Integration Portfolio Website using React Project Astra PyTorch Quickbooks Quote Generator RGPV Syllabus Download Random SSN Generator ReCaptcha Dumbass React Feature Toggle Real-Time Video Processing Architecture Real-Time Video Processing Backend RegExp Regular Expression Reinstall Bluetooth Drivers Remember Me Remove NodeJS Ubuntu Renew DHCP Lease Reset IP Address Linux Reset IP Address Mac Reset IP Address Windows Reset Remote Connection Reset Remote Connection Failure Resize Textarea Restore Errors Restore Failed UpdraftPlus Route 53 SOS Phone SQL Indexed Tables SQL Joins SQL Seed generator SQS SSIS Package SSIS Tutorial SSN Generator for Paypal SSN Number SSN Number Generator SSN Validator Safari 8 Safari Video Delay SageMaker Scalable Backend for High Concurrency Scalable Cloud Infrastructure for Live Streaming Scalable Frontend Architectures Scalable Live Streaming Architecture Scrapy course for beginners Search A word Search for a Word in Google Docs Secret Management Serverless Service Bus Slovenian VAT Generator SmartTube Software Architect Interview Questions Software Architect Mock Interview Sparse Checkout Spotlight Mac Shortcut Stored Procedure Subtree Merge T-Mobile IMEI Check TFS TMobile IMEI check unlock Team Foundation Server Terraform Associate Certification Training Free Text Search Text color Textarea Resize Jquery Theme Top WordPress Plugins Transform Trim javascript Troubleshooting TypeScript Beginner Tutorial Ubuntu Unleash Feature Toggle Update Computer Name UpdraftPlus 500 UpdraftPlus Backup Restore UpdraftPlus Error 500 UpdraftPlus Error 504 UpdraftPlus Error 524 UpdraftPlus HTTP Error UpdraftPlus New Domain UpdraftPlus Restore Not Working UpdraftPlus Troubleshooting Upstream Reset Error Use Google Drive Images VAT Number Generator Verizon imei check Verizon imei check paid off Verizon imei check unlock Verizon imei check\ Version Control Vertex AI Video View Indexing SQL Views in SQL Virksomhedsregister Virtual friends Visual Studio 2013 WHERE Clause WHPX expo Web Security Web scraping full course with project Web3 What is Feature Toggle WordPress Backup Troubleshooting WordPress Backup UpdraftPlus WordPress Database Backup WordPress Error 503 WordPress Installation Error WordPress Migration UpdraftPlus Wordpress Restore Workspaces Commands Your ip has been banned Zero Click angle between two points bing homepage quiz answers bing homepage quiz answers today bing homepage quiz not working bing homepage quiz reddit bing homepage quiz today byod Verizon imei check chatgpt essay example chatgpt essay writer chatgpt essay writing check tmobile imei contact form 7 captcha contact form 7 captcha plugin contact form 7 recaptcha v3 cpr-nummer engelsk cpr-nummer liste cpr-nummer register cpr-nummer tjek dbdiagram dom load in javascript dotnet core hosting bundle dotnet failed to load dotnet runtime error get url in php how to search for a word on a page how to search for a word on a page windows ipconfig release is cypress javascript istio transport failure jQuery AutoComplete jQuery Input Selector jQuery Menu jQuery Options joins in mySql jquery selector jquery selectors jsPDF jsPDF images missing key key-value keypress event in jQuery kubernetes upstream error localStorage metro by t-mobile imei check nemid cpr-nummer react native expo setup react native on Windows react native setup recaptcha v3 contact form 7 recaptcha wordpress contact form 7 reset connection failure resize control jQuery response code 403 smarttube round number in javascript select sessionStorage smarttube 403 エラー smarttube apk smarttube beta smarttube download smarttube reddit smarttube unknown source error 403 smartube sos iphone top right sos on iphone 13 sos only iphone substr substr in javascript tmobile imei tmobile imei check paid off tmobile imei number total by Verizon imei check trim trim jquery turn off sos iphone turn off sos on iphone 11 unknown source error 403 unknown source error response code 403 smarttube upstream connect error url in php view hidden files mac finder zuegQmMdy8M ошибка 403 smarttube
  • ()
  • ()
Show more
an "open and free" initiative. Powered by Blogger.