Deep Swaroop Sachan
Deep Swaroop Sachan

Reputation: 148

Recompile PHP with ZTS enabled on MAC OS X

Homebrew PHP does not support a thread-safe php binary. Is there any way to enable ZTS in brew version.

I tried phpbrew as well but, I am getting an error "Command too long". Could you please suggest me the best way to enable ZTS in MACOS Catalina.

Upvotes: 0

Views: 551

Answers (1)

Senror Gui
Senror Gui

Reputation: 90

Which command is used? Complete your question by providing the entire error and return of the console.

You will need to recompile PHP with the parameters: --enable-maintainer-zts or --enable-zts on Windows

See more on PHP.net

Upvotes: 1

Related Questions