Problem instaling BookStack #672

Closed
opened 2026-02-04 21:46:19 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @ricardasg on GitHub (May 11, 2018).

Hi, I am having a problem instaling BookStack. The thing is I have issues with composer.
When I try to install it, i get this error.
I am using php 7

Problem 1
- The requested PHP extension ext-tidy * is missing from your system. Install or enable PHP's tidy extension.
Problem 2
- Installation request for gathercontent/htmldiff ^0.2.1 -> satisfiable by gathercontent/htmldiff[0.2.1].
- gathercontent/htmldiff 0.2.1 requires ext-tidy * -> the requested PHP extension tidy is missing from your system.

To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

Originally created by @ricardasg on GitHub (May 11, 2018). Hi, I am having a problem instaling BookStack. The thing is I have issues with composer. When I try to install it, i get this error. I am using php 7 Problem 1 - The requested PHP extension ext-tidy * is missing from your system. Install or enable PHP's tidy extension. Problem 2 - Installation request for gathercontent/htmldiff ^0.2.1 -> satisfiable by gathercontent/htmldiff[0.2.1]. - gathercontent/htmldiff 0.2.1 requires ext-tidy * -> the requested PHP extension tidy is missing from your system. To enable extensions, verify that they are enabled in your .ini files: - C:\xampp\php\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
OVERLORD added the 🐕 Support label 2026-02-04 21:46:19 +03:00
Author
Owner

@Guims commented on GitHub (May 11, 2018):

enable extension tidy in php

@Guims commented on GitHub (May 11, 2018): enable extension tidy in php
Author
Owner

@ssddanbrown commented on GitHub (May 12, 2018):

Hi @ricardasg, The error kind of explains itself. This is a PHP extension required by BookStack for revisioning. To provide more detail:

  1. Find and open the file C:\\xampp\php\php.ini for editing.
  2. Search for the line: ;extension=php_tidy.dll in this file.
  3. Remove the ; at the start of this line.
  4. Save the file and retry.

Hope that helps, Please confirm if that fixes things.

@ssddanbrown commented on GitHub (May 12, 2018): Hi @ricardasg, The error kind of explains itself. This is a PHP extension required by BookStack for revisioning. To provide more detail: 1. Find and open the file `C:\\xampp\php\php.ini` for editing. 2. Search for the line: `;extension=php_tidy.dll` in this file. 3. Remove the `;` at the start of this line. 4. Save the file and retry. Hope that helps, Please confirm if that fixes things.
Author
Owner

@ricardasg commented on GitHub (May 12, 2018):

Yes it did, somehow found similar problem and fixed it. Thanks!

@ricardasg commented on GitHub (May 12, 2018): Yes it did, somehow found similar problem and fixed it. Thanks!
Author
Owner

@Abijeet commented on GitHub (May 14, 2018):

Hi @ricardasg. Glad to hear that your problem has been resolved. Please close the issue when you can.

@Abijeet commented on GitHub (May 14, 2018): Hi @ricardasg. Glad to hear that your problem has been resolved. Please close the issue when you can.
Author
Owner

@Abijeet commented on GitHub (Jun 2, 2018):

Closing the issue on behalf of @ricardasg

@Abijeet commented on GitHub (Jun 2, 2018): Closing the issue on behalf of @ricardasg
Author
Owner

@obiefy commented on GitHub (Mar 21, 2019):

Hi,
if some face a similar problem on Linux and does not find the extension he may install the extension:
sudo apt-get install php7.2-tidy
make sure the version of PHP.

@obiefy commented on GitHub (Mar 21, 2019): Hi, if some face a similar problem on Linux and does not find the extension he may install the extension: `sudo apt-get install php7.2-tidy` make sure the version of PHP.
Author
Owner

@ssddanbrown commented on GitHub (Mar 21, 2019):

Hi @obiefy,
You are commenting on an old, resolved issue.

If you still are experiencing issues I'd advise you please open a new issue with details which include the full version of linux you are using and details of how you have installed BookStack.

@ssddanbrown commented on GitHub (Mar 21, 2019): Hi @obiefy, You are commenting on an old, resolved issue. If you still are experiencing issues I'd advise you please open a new issue with details which include the full version of linux you are using and details of how you have installed BookStack.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#672