php / php/php-src

php.ini - 404 on mysqli.max_persistent link in the comments

Open
#18,812 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

The comments in php.ini, including the sample development and production php.ini files in the repository, include this section:

; Maximum number of persistent links.  -1 means no limit.
; https://php.net/mysqli.max-persistent
mysqli.max_persistent = -1

The link https://php.net/mysqli.max-persistent results in a 404 on the PHP website and the following message:

mysqli.max-persistent doesn't exist

The link should redirect to: https://www.php.net/manual/en/mysqli.configuration.php#ini.mysqli.max-persistent

Note that there are shortened links for other configuration parameters in the file, e.g. https://php.net/mysqli.max-links, which redirect to the correct resource on the PHP site. Therefore, this seems like a server-side redirect issue more than a file-based fix.

PHP Version
This issue is still present in the master, e.g. 8.4, branch.
Operating System

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the shortened mysqli.max-persistent URL and compare it with the working mysqli.max-links redirect. Review the php.ini comments and the sample development and production php.ini files to confirm the affected reference; done means the URL redirects to the mysqli configuration documentation without requiring a file change.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.