kyslik / homebrew-php Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bobthecow/homebrew-php
:elephant: PHP macOS formulae for the Homebrew package manager
License: Other
This project forked from bobthecow/homebrew-php
:elephant: PHP macOS formulae for the Homebrew package manager
License: Other
how can I perform the install on my mac.
the version of my mac is 10.13.6
$ brew tap kyslik/homebrew-php
==> Tapping kyslik/php
Cloning into '/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php'...
remote: Counting objects: 785, done.
remote: Compressing objects: 100% (609/609), done.
remote: Total 785 (delta 531), reused 212 (delta 169), pack-reused 0
Receiving objects: 100% (785/785), 306.64 KiB | 490.00 KiB/s, done.
Resolving deltas: 100% (531/531), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/xdebug-osx.rb
Formulae found in multiple taps:
* kyslik/php/php53
* homebrew/php/php53
Please use the fully-qualified name e.g. kyslik/php/php53 to refer the formula.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/drush.rb
Formulae found in multiple taps:
* kyslik/php/php55
* homebrew/php/php55
Please use the fully-qualified name e.g. kyslik/php/php55 to refer the formula.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/infection.rb
Formulae found in multiple taps:
* kyslik/php/php70
* homebrew/php/php70
Please use the fully-qualified name e.g. kyslik/php/php70 to refer the formula.
Error: Cannot tap kyslik/php: invalid syntax in tap!
Parameter | Value |
---|---|
macOS version: | 10.13.13 |
Homebrew version: | Homebrew 1.5.13-10-g40e7ac2 |
PHP version in use: | 7.0.27 |
Xcode version: | 9.2 |
Errors from php70-mcrypto formulae appears everytime I run brew command
Error: Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php70-mcrypt.rb:19:in `<class:Php70Mcrypt>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Parameter | Value |
---|---|
macOS version: | 10.13.5 |
Homebrew version: | 1.7.0 |
PHP version in use: | 7.0.27 |
Xcode version: | 9.4.1 Build Version 9F2000 |
Output of gcc -v
:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Output of php -v
:
PHP 7.0.27 (cli) (built: Jun 25 2018 10:25:34) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.30, Copyright (c) 1999-2017, by Zend Technologies
Brew TAP incomplete
| => brew tap kyslik/homebrew-php
==> Tapping kyslik/php
Cloning into '/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php'...
remote: Counting objects: 785, done.
remote: Compressing objects: 100% (609/609), done.
remote: Total 785 (delta 532), reused 208 (delta 169), pack-reused 0
Receiving objects: 100% (785/785), 306.03 KiB | 1.21 MiB/s, done.
Resolving deltas: 100% (532/532), done.
Warning: Calling 'depends_on ... => :run' is deprecated!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php53-mcrypt.rb:19:in `class:Php53Mcrypt'
Please report this to the kyslik/php tap!
Parameter | Value |
---|---|
macOS version: 10.12.6 | |
Homebrew version: Homebrew 1.6.0 |
Homebrew/homebrew-core (git revision a8b80; last commit 2018-04-12)
PHP version in use: . PHP 7.0.21 (cli) (built: Jul 10 2017 08:01:11) ( NTS )
Xcode version: Xcode 9.2 . Build version 9C40b
Output of gcc -v
:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Output of php -v
:
result of the CLI output
Build logs: Link to public gist created with brew gist-logs my-formula
brew reinstall -s php53
==> Reinstalling kyslik/php/php53
==> Downloading https://php.net/get/php-5.3.29.tar.bz2/from/this/mirror
Already downloaded: /Users/hdj/Library/Caches/Homebrew/downloads/b69147c3d55504dab4a30b96977865deaade52b1b1004c9f2939dc55a4952502--php-5.3.29.tar.bz2
==> Downloading https://gist.githubusercontent.com/javian/6d63097c8c175045aa75ca48a6b8826b/raw/ca7bad287e3af72b83fbb5f7d03186b5da2e65ae/multi-sapi-5.3.29-homebrew.patch
Already downloaded: /Users/hdj/Library/Caches/Homebrew/downloads/2ca18599f2ffd8041a51be966037d07bf99d27c736dc25a87985b5666d7130a2--multi-sapi-5.3.29-homebrew.patch
==> Downloading https://gist.githubusercontent.com/ilovezfs/192a21d13ce0c40dcaa48617f1733097/raw/0856488df0e8190476d64ae68642670aebe8fbb3/gistfile1.txt
Already downloaded: /Users/hdj/Library/Caches/Homebrew/downloads/306b596877b60bac97f2c01e44ad57ec8d7c8318c5614bcfb09f48ea438b5071--gistfile1.txt
==> Patching
==> Applying multi-sapi-5.3.29-homebrew.patch
patching file Makefile.global
patching file Zend/acinclude.m4
patching file Zend/zend_language_parser.y
patching file acinclude.m4
patching file aclocal.m4
patching file configure
patching file configure.in
patching file generated_lists
patching file main/php_config.h.in
patching file sapi/cgi/Makefile.frag
patching file sapi/cgi/config9.m4
patching file sapi/cli/Makefile.frag
patching file sapi/cli/config.m4
patching file sapi/fpm/Makefile.frag
patching file sapi/fpm/config.m4
patching file sapi/litespeed/Makefile.frag
patching file sapi/litespeed/config.m4
patching file sapi/milter/Makefile.frag
patching file sapi/milter/config.m4
==> Applying gistfile1.txt
patching file Zend/zend_API.h
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.29_8 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/local/etc/php/5.3 --w
Last 15 lines from /Users/hdj/Library/Logs/Homebrew/php53/01.configure:
checking for OpenSSL support... yes
checking for Kerberos support... /usr
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for pkg-config... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/kyslik/homebrew-php/issues
Parameter | Value |
---|---|
macOS version: | 10.15.2 |
Homebrew version: | Homebrew 2.2.0-47-g6decac5 |
PHP version in use: | PHP 7.2.25 (cli) |
Xcode version: | Xcode 11.3 Build version 11C24b |
Output of gcc -v
:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.15)
Target: x86_64-apple-darwin19.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Output of php -v
:
PHP 7.2.25 (cli) (built: Nov 22 2019 10:27:28) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.25, Copyright (c) 1999-2018, by Zend Technologies
Build logs: Link to public gist created with brew gist-logs my-formula
Symptoms:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/opt/php71-intl/intl.so
Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/opt/php71-intl/intl.so
Reason: image not found in Unknown on line 0
Reinstall the thing
brew uninstall php71-intl
brew install php71-intl
Hey, I want to install php intl extension, but I get these errors
Parameter | Value |
---|---|
macOS version: | 10.13.2 |
Homebrew version: | Homebrew 1.6.2 . Homebrew/homebrew-core (git revision 53c66; last commit 2018-04-26) |
PHP version in use: | _ PHP 7.1.12_ |
Xcode version: | -- |
Output of gcc -v : Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 |
|
Apple LLVM version 9.1.0 (clang-902.0.39.1) | |
Target: x86_64-apple-darwin17.3.0 | |
Thread model: posix | |
InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
Output of php -v
:
PHP 7.1.12
Build logs:
==> /usr/local/opt/php71/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php71-intl/7.1.14_26 --with-php-config=/usr/local/opt/php71/bin/php-config --enable-intl
==> make
Last 15 lines from /Users/macbookpro/Library/Logs/Homebrew/php71-intl/03.make:
#include <php.h>
^~~~~~~
1 error generated.
make: *** [intl_convert.lo] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [intl_error.lo] Error 1
1 error generated.
make: *** [php_intl.lo] Error 1
In file included from /private/tmp/php71-intl-20180425-17765-1o8se9g/php-7.1.14/ext/intl/intl_convertcpp.cpp:21:
./intl_convertcpp.h:27:10: fatal error: 'zend_types.h' file not found
#include <zend_types.h>
^~~~~~~~~~~~~~
1 error generated.
make: *** [intl_convertcpp.lo] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/kyslik/homebrew-php/issues
Your tap (brew tap kyslik/homebrew-php) not working now.
Can You help me how to install php71-intl?
Parameter | Value |
---|---|
macOS version: | 10.13.6 |
Homebrew version: | Homebrew 1.7.1 / Homebrew/homebrew-core (git revision e5bab; last commit 2018-08-17) |
PHP version in use: | 7.1 |
brew tap kyslik/homebrew-php
==> Tapping kyslik/php
Cloning into '/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php'...
remote: Counting objects: 785, done.
remote: Compressing objects: 100% (316/316), done.
remote: Total 785 (delta 527), reused 548 (delta 462), pack-reused 0
Receiving objects: 100% (785/785), 309.40 KiB | 221.00 KiB/s, done.
Resolving deltas: 100% (527/527), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php72-trader.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php72-trader.rb:18:in `<class:Php72Trader>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php55-trader.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php55-trader.rb:18:in `<class:Php55Trader>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php54-trader.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php54-trader.rb:18:in `<class:Php54Trader>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php53-mcrypt.rb [13/230]
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php53-mcrypt.rb:19:in `<class:Php53Mcrypt>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php70-trader.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php70-trader.rb:18:in `<class:Php70Trader>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php55-mcrypt.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php55-mcrypt.rb:19:in `<class:Php55Mcrypt>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php71-trader.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php71-trader.rb:18:in `<class:Php71Trader>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php56-trader.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php56-trader.rb:18:in `<class:Php56Trader>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php54-mcrypt.rb
Calling 'depends_on ... => :run' is disabled!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php54-mcrypt.rb:19:in `<class:Php54Mcrypt>'
Please report this to the kyslik/php tap!
Or, even better, submit a PR to fix it!
Error: Cannot tap kyslik/php: invalid syntax in tap!
Problem description goes here
Parameter | Value |
---|---|
macOS version: | 10.13.4 |
Homebrew version: | Homebrew 1.6.2-55-gc422737 |
Homebrew/homebrew-core (git revision fb579f; last commit 2018-05-02) | |
PHP version in use: | PHP 7.2.5 |
Xcode version: | Xcode 9.3 |
Build version 9E145 |
after brew tap kyslik/php
then:
Warning: Calling 'depends_on ... => :run' is deprecated!
There is no replacement.
/usr/local/Homebrew/Library/Taps/kyslik/homebrew-php/Formula/php72-trader.rb:18:in `class:Php72Trader'
Please report this to the kyslik/php tap!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.