homebrew-php
homebrew-php copied to clipboard
Unable to install PHP7.4 in Ubuntu 20.04
I am not able to install PHP7.4 in Ubuntu 20.04. I have followed the below steps,
brew tap henkrehorst/php
brew install [email protected] --build-from-source
And the Output is,
==> Fetching henkrehorst/php/[email protected] ==> Downloading https://www.php.net/distributions/php-7.4.28.tar.xz Already downloaded: /home/ubuntu/.cache/Homebrew/downloads/850c49e5166fcaf7264ac3088b08af07ebac5a0ba6951a329f15f79be479e3b0--php-7.4.28.tar.xz ==> Installing [email protected] from henkrehorst/php ==> Patching ==> ./buildconf --force ==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/[email protected]/7.4.28 --localstatedir=/home/linuxbrew/.linuxbrew/var --sysconfdir=/h Last 15 lines from /home/ubuntu/.cache/Homebrew/Logs/[email protected]/02.configure: General settings checking whether to include gcov symbols... no checking whether to include debugging symbols... no checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY... no checking layout of installed files... GNU checking path to configuration file... /home/linuxbrew/.linuxbrew/etc/valet-php/7.4 checking where to scan for configuration files... /home/linuxbrew/.linuxbrew/etc/valet-php/7.4/conf.d checking whether to enable PHP's own SIGCHLD handler... no checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... yes checking whether to enable DTrace support... yes checking for sys/sdt.h... no configure: error: Cannot find sys/sdt.h which is required for DTrace support If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/henkrehorst/homebrew-php/issues These open issues may also help: fixing valet php 7.4 https://github.com/henkrehorst/homebrew-php/pull/164`
I have already tried this ticket too but no luck with the installation. Any help will be much appreciated.