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:xamppphpphp.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
enable extension tidy in php
Hi @ricardasg, The error kind of explains itself. This is a PHP extension required by BookStack for revisioning. To provide more detail:
C:\\xampp\php\php.ini for editing.;extension=php_tidy.dll in this file.; at the start of this line.Hope that helps, Please confirm if that fixes things.
Yes it did, somehow found similar problem and fixed it. Thanks!
Hi @ricardasg. Glad to hear that your problem has been resolved. Please close the issue when you can.
Closing the issue on behalf of @ricardasg
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.
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.
Most helpful comment
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-tidymake sure the version of PHP.