'Install PHP tidy extension into XAMPP in Windows
I want to add PHP Tidy to my XAMPP installation on Windows. However, I don't really know where to start and am not familiar with the command line. I found the php.ini file and uncommented the lines where it spoke about Tidy. However, this produced:
Warning: PARSERHTML::_load_html(): Unable to load Tidy configuration file at
'/usr/local/lib/php/default.tcfg'. in
C:\Users\User\Dropbox\Entwicklung\root\phitCMS\features\phpdocx\classes\DOMPDF_lib.php on line
2660
Warning: tidy_parse_string(): Unable to load Tidy configuration file at
'/usr/local/lib/php/default.tcfg'. in
C:\Users\User\Dropbox\Entwicklung\root\phitCMS\features\phpdocx\classes\DOMPDF_lib.php on
line 2688
Further, I read on Stackoverflow but only found solutions regarding Mac OSX and something called "Homebrew".
Also I wonder: What will happen if I install Tidy locally and upload my website online? Then Tidy will eventually not be there and my website does not work properly?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|