php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69954 404 on URL referenced in mysqlnd.collect_statistics
Submitted: 2015-06-27 21:40 UTC Modified: 2015-09-08 22:41 UTC
From: chris at 602 dot org Assigned:
Status: Closed Package: Website problem
PHP Version: 5.6.10 OS:
Private report: No CVE-ID: None
 [2015-06-27 21:40 UTC] chris at 602 dot org
Description:
------------


From PHP src php-5.6.10.tar.gz, the example php-5.6.10/php.ini-development and php-5.6.10/php.ini-production config files have comments that reference several URLs which are 404:

//php.net/enable-post-data-reading
//php.net/internal-encoding
//php.net/input-encoding
//php.net/output-encoding
//php.net/pdo_mysql.cache_size
//php.net/pdo_mysql.default-socket
//php.net/mysql.cache_size
//php.net/mysqli.max-persistent
//php.net/mysqli.cache_size
//php.net/mysqlnd.collect_statistics
//php.net/mysqlnd.collect_memory_statistics
//php.net/mysqlnd.net_cmd_buffer_size
//php.net/mysqlnd.net_read_buffer_size


Note: I removed http from the URLs to avoid setting off is_spam() per https://github.com/php/web-bugs/blob/master/include/functions.php

Test script:
---------------
curl -s http://php.net/distributions/php-5.6.10.tar.gz|tar xz && grep '; http://php.net' php-5.6.10/php.ini-development|awk '{ print $NF }'|while read phpurl; do location=`curl -s -I "$phpurl"|grep Location:|tail -n1`; if [[ $location == *"show=404"* ]]; then echo "$phpurl 404: $location" | tee -a php.404; fi; sleep 1; done

Expected result:
----------------
Expecting specific documentation available when referenced.


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-20 01:38 UTC] kalle@php.net
-Type: Bug +Type: Documentation Problem
 [2015-09-08 22:41 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: *General Issues +Package: Website problem
 [2015-09-08 22:41 UTC] cmb@php.net
This is not a documentation issue, but rather a website problem:
some of the short-cut links to the configuration options are
broken. Either these will be fixed, or we'd have to replace the
links in the provided php.ini files with the actual URIs.
 [2015-09-08 22:41 UTC] cmb@php.net
-Type: Documentation Problem +Type: Bug
 [2017-10-23 08:12 UTC] krakjoe@php.net
Automatic comment on behalf of peterkokot@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=14609ca6ff17b3091584bb37ee08dcbff7beb2a4
Log: Fix bug #69954 and remove pdo_mysql.cache_size and mysqli.cache_size INI directives
 [2017-10-23 08:12 UTC] krakjoe@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Wed Dec 12 07:01:25 2018 UTC