Where is the PHP binary after building PHP from source?

Issue

I just build php 8.0.15 from source with ./configure and make.

It ran through without errors, but I can’t find the generated php binary.

Where is it?

Solution

The compiled binaries will be available in the ./sapi directory. To immediately run the PHP CLI, for example, call the ./sapi/cli/php binary.

Answered By – user11493159

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published