@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generalize references to PHP 5.x Debian/Ubuntu packages

Summary:
Both Debian and Ubuntu have been shipping PHP 7.x (or now 8.x) for a while.
This patch replaces the versioned php5-foo package references with more general
php-foo package names.

Test Plan: Navigated to the documentation pages that this patch updates.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25315

+6 -6
+1 -1
src/applications/auth/provider/PhabricatorLDAPAuthProvider.php
··· 264 264 'talk to LDAP. Usually you can install it with '. 265 265 '`%s`, `%s`, or a similar package manager command.', 266 266 'yum install php-ldap', 267 - 'apt-get install php5-ldap')); 267 + 'apt-get install php-ldap')); 268 268 } 269 269 } 270 270
+2 -2
src/applications/config/check/PhabricatorPHPConfigSetupCheck.php
··· 83 83 84 84 // NOTE: We're intentionally telling you to install "mysqlnd" here; on 85 85 // Ubuntu, there's no separate "mysqli" package. 86 - phutil_tag('tt', array(), 'sudo apt-get install php5-mysqlnd')); 86 + phutil_tag('tt', array(), 'sudo apt-get install php-mysqlnd')); 87 87 88 88 $this->newIssue('php.mysqli') 89 89 ->setName(pht('MySQLi Extension Not Available')) ··· 103 103 'native driver is recommended.'. 104 104 "\n\n". 105 105 'You may be able to install the native driver with a command like: %s', 106 - phutil_tag('tt', array(), 'sudo apt-get install php5-mysqlnd')); 106 + phutil_tag('tt', array(), 'sudo apt-get install php-mysqlnd')); 107 107 108 108 109 109 $this->newIssue('php.myqlnd')
+1 -1
src/docs/user/configuration/configuration_guide.diviner
··· 139 139 140 140 Finally, you should run the following commands to enable php support: 141 141 142 - $ sudo apt-get install php5-cgi # for Ubuntu; other distros should be similar 142 + $ sudo apt-get install php-cgi # for Ubuntu; other distros should be similar 143 143 $ sudo lighty-enable-mod fastcgi-php 144 144 145 145 Restart lighttpd after making your edits, then continue below.
+1 -1
src/docs/user/field/restarting.diviner
··· 112 112 113 113 ``` 114 114 $ sudo /etc/init.d/php-fpm restart 115 - $ sudo service php5-fpm reload 115 + $ sudo service php-fpm reload 116 116 ```
+1 -1
src/docs/user/installation_guide.diviner
··· 123 123 - MySQL Server (usually "mysqld" or "mysql-server" or "mariadb-server") 124 124 - PHP (usually "php") 125 125 - Required PHP extensions: mbstring, iconv, mysql (or mysqli), curl, pcntl 126 - (these might be something like "php-mysql" or "php5-mysqlnd") 126 + (these might be something like "php-mysql" or "php-mysqlnd") 127 127 - Optional PHP extensions: gd, zip 128 128 129 129 If you already have LAMP setup, you've probably already got everything you need.