Skip to content

fix(admin): replace removed PHP ext/mysql INI example - #15719

Open
whoalin1 wants to merge 1 commit into
nextcloud:masterfrom
whoalin1:docs/php-mysqlnd-pdo-mysql-config
Open

whoalin1 wants to merge 1 commit into
nextcloud:masterfrom
whoalin1:docs/php-mysqlnd-pdo-mysql-config

Conversation

@whoalin1

@whoalin1 whoalin1 commented Oct 7, 2026 •

Copy link
Copy Markdown

Summary

Replace the outdated PHP ext/mysql / [mysql] INI example in the MySQL/MariaDB database setup page.

That extension was removed in PHP 7.0. Nextcloud requires PHP versions that only use mysqlnd + pdo_mysql. The page now shows modern drop-ins, links to the PHP manuals, and refers to pdo_mysql.default_socket instead of mysql.default_socket.

Closes #4758

Test plan

  • Sphinx build of admin_manual succeeds for linux_database_configuration.rst
  • No mysql.allow_* / removed ext/mysql keys remain in the PHP example
  • Text mentions mysqlnd + pdo_mysql and points at php.net docs
  • pdo_mysql.default_socket bullet replaces the old mysql.default_socket guidance

AI disclosure

This PR was drafted with the help of AI coding assistants (Cursor agents / LLM-based tools), including the description. I am responsible for it and happy to rework anything that doesn't fit.

All commits carry an Assisted-by: Cursor:grok-4.7 trailer.

Assisted-by: Cursor:grok-4.7
Signed-off-by: whoalin1 <[email protected]>
@whoalin1
whoalin1 force-pushed the docs/php-mysqlnd-pdo-mysql-config branch from fb6bfed to f347859 Compare October 9, 2026 14:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The suggested configuration for PHP MySQL driver is wrong due to MySQL (Original) being removed since PHP 7.0

1 participant