Changeset View
Standalone View
src/docs/user/installation_guide.diviner
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
Here's a general description of what you need to install: | Here's a general description of what you need to install: | ||||
- git (usually called "git" in package management systems) | - git (usually called "git" in package management systems) | ||||
- Apache (usually "httpd" or "apache2") (or nginx) | - Apache (usually "httpd" or "apache2") (or nginx) | ||||
- MySQL Server (usually "mysqld" or "mysql-server" or "mariadb-server") | - MySQL Server (usually "mysqld" or "mysql-server" or "mariadb-server") | ||||
- PHP (usually "php") | - PHP (usually "php") | ||||
- Required PHP extensions: mbstring, iconv, mysql (or mysqli), curl, pcntl | - Required PHP extensions: mbstring, iconv, mysql (or mysqli), curl, pcntl | ||||
(these might be something like "php-mysql" or "php5-mysqlnd") | (these might be something like "php-mysql" or "php5-mysqlnd") | ||||
- Optional PHP extensions: gd | - Optional PHP extensions: gd, zip | ||||
speck: Is zip a separate extension for PHP? It seems to be included in the default installation, and… | |||||
Not Done Inline ActionsNice question. It seems Debian and Ubuntu ship that component as a separated package installable by sudo apt install php-zip. I think it was installed by default also in my installation since probably it was required by lot of other packages I use. https://packages.debian.org/stable/php-zip https://packages.ubuntu.com/focal/php-zip This is what it currently installs: https://packages.debian.org/bullseye/amd64/php7.4-zip/filelist Also it seems some people talk about that relationship between class ZipArchive and php-zip package: https://stackoverflow.com/q/45117510/3451846 Also it seems the same is in CentOS: https://stackoverflow.com/a/53562962/3451846 So since php-gd is mentioned is probably OK to also mention php-zip to avoid later surprises. At least in the optional section, since we have not a complete overview, seems reasonable valerio.bozzolan: Nice question. It seems Debian and Ubuntu ship that component as a separated package… | |||||
Done Inline ActionsIf it's OK for you, feel free to land :) valerio.bozzolan: If it's OK for you, feel free to land :) | |||||
Done Inline ActionsI'm not sure if this is necessary. See PhabricatorZipSetupCheck.php which will create a new setup issue if the zip extension is not present. speck: I'm not sure if this is necessary. See `PhabricatorZipSetupCheck.php` which will create a new… | |||||
Not Done Inline ActionsUhm. Just to clarify: so if there is a setup check, this should be not documented. Right? If your answer is "yep" I will remove that above change. Sorry for that. valerio.bozzolan: Uhm. Just to clarify: so if there is a setup check, this should be not documented. Right?
If… | |||||
Done Inline ActionsI don’t feel strongly either way. The setup check guides the user to instruct examples of what doesn’t work if it’s not installed, but doesn’t indicate it’s required. speck: I don’t feel strongly either way. The setup check guides the user to instruct examples of what… | |||||
Not Done Inline Actions(Indeed. Just a small note: the mentioned edited line is about "Optional PHP extensions") valerio.bozzolan: (Indeed. Just a small note: the mentioned edited line is about "Optional PHP extensions") | |||||
If you already have LAMP setup, you've probably already got everything you need. | If you already have LAMP setup, you've probably already got everything you need. | ||||
It may also be helpful to refer to the install scripts above, even if they don't | It may also be helpful to refer to the install scripts above, even if they don't | ||||
work for your system. | work for your system. | ||||
Now that you have all that stuff installed, grab Phorge and its | Now that you have all that stuff installed, grab Phorge and its | ||||
dependencies: | dependencies: | ||||
Show All 12 Lines |
Is zip a separate extension for PHP? It seems to be included in the default installation, and there are likely other default extensions that are depended on (maybe openssl)?