Skip to content
Discussion options

You must be logged in to vote

Actually, it works! I just put the so into the wrong ini file (I thought I was using php 8.4, but I was using php 8.3). Caveat: You will have to install macports and tidy through macports. So here's how it works:

  1. Download and extract https://packages.macports.org/php84-tidy/ (php83-tidy or whatever)
  2. Find the tidy.so in the folder php83-tidy-8.3.12_0.darwin_25.arm64/opt/local/lib/php83/extensions/no-debug-non-zts-20230831/
  3. Copy that to a path, the guide I was using for this uses /Users/<User>/Library/Application Support/Herd/config/php/83
  4. Install macports
  5. Install Tidy
  6. Put extension=/path/to/tidy.so into your php.ini

And then it works!

$ which php
/Users/<User>/Library/Application Support…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mechelon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants