---
title: "Discussion on \"How to Fix PHP Strict Types Declaration, Suppress Deprecation Warnings, and Avoid XAMPP + MySQL Issues 🔧\" | Hashnode"
description: "Discussion on \"How to Fix PHP Strict Types Declaration, Suppress Deprecation Warnings, and Avoid XAMPP + MySQL Issues 🔧\". Learn how to fix the strict_types declaration error and suppress PHP 8.1+ deprecation warnings in XAMPP. Improve your PHP + MySQL development setup."
url: "https://hashnode.com/posts/how-to-fix-php-strict-types-declaration-suppress-deprecation-warnings-and-avoid-xampp-mysql-issues/687f5b7de57023b87b082919"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Fix PHP Strict Types Declaration, Suppress Deprecation Warnings, and Avoid XAMPP + MySQL Issues 🔧](https://sharif-web-dev.hashnode.dev/how-to-fix-php-strict-types-declaration-suppress-deprecation-warnings-and-avoid-xampp-mysql-issues?utm_source=hashnode&utm_medium=feed)

Learn how to fix the strict\_types declaration error and suppress PHP 8.1+ deprecation warnings in XAMPP. Improve your PHP + MySQL development setup.

Jul 22, 2025 · 1 min read · sharif-web-dev.hashnode.dev  
Read the article

-   [#mysql](https://hashnode.com/tag/mysql)
-   [#phpmyadmin](https://hashnode.com/tag/phpmyadmin)
-   [#mysql-error](https://hashnode.com/tag/mysql-error)

## Written by

[Sharif Uddin](https://hashnode.com/@sharif-web-dev)

@sharif-web-dev

  
[View profile](https://hashnode.com/@sharif-web-dev)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
