phalcon-orphanage / docs

Phalcon Framework documentation
https://docs.phalcon.io
Other
321 stars 486 forks source link

Incomplete instruction for OS X homebrew installation #472

Closed e-oz closed 10 years ago

e-oz commented 10 years ago

http://docs.phalconphp.com/en/latest/reference/install.html screenshot 2014-10-19 20 56 51

And the result is:

OZ$ brew tap homebrew/homebrew-php
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-php'...
remote: Counting objects: 7208, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 7208 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (7208/7208), 1.45 MiB | 440.00 KiB/s, done.
Resolving deltas: 100% (4724/4724), done.
Checking connectivity... done.
Tapped 416 formulae
OZ-book:tmp OZ$ brew install php55-phalcon
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-dupes'...
remote: Counting objects: 1374, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1374 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1374/1374), 275.29 KiB | 276.00 KiB/s, done.
Resolving deltas: 100% (744/744), done.
Checking connectivity... done.
Tapped 36 formulae
Error: No available formula for zlib (dependency of php55-phalcon)
Please tap it and then try again: brew tap homebrew/dupes
Searching taps...
OZ-book:tmp OZ$ 
e-oz commented 10 years ago

Funny thing is if you run install again, it will start installation. But, I cancelled it after I saw this:

==> Pouring gettext-0.19.3.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.

Really? Make whole system fragile just because of Phalcon? No way.

phalcon commented 10 years ago

LOL, yes because we've created brew

e-oz commented 10 years ago

@phalcon not sure if you are drunk or not, but what question your "LOL, yes" is answering?

phalcon commented 10 years ago

It seems you think we've created brew or something, maybe you want to complain here: https://github.com/homebrew/homebrew-php

or here: https://github.com/Homebrew/homebrew

e-oz commented 10 years ago

LOL, no, I understand the difference, but it's obvious that instruction on your site should not lead to No available formula for zlib (dependency of php55-phalcon) result. Looks like you need to add some commands (into instruction or formula) to cover that dependency.

phalcon commented 10 years ago

LOL, no, we don't have to add anything it just work like it, sorry it does not work for you

e-oz commented 10 years ago

I show you that it doesn't work and your answer is "works for me"? Really? Very interesting way to ship product.

e-oz commented 10 years ago

As I understand, it's the top level of quality for Phalcon project, so there is no reasons to waste time with this issue (and Phalcon itself).

phalcon commented 10 years ago

Yes, really. We're not the maintainers of the formula to install Phalcon using Brew or Brew itself, why not open an issue here: https://github.com/homebrew/homebrew-php explaining your problem so they can improve/fix the formula?

e-oz commented 10 years ago

@phalcon because if you don't care about docs on your site - nobody else will care. I gave you feedback and it's up to you how you will work with it.

phalcon commented 10 years ago

OK, if you don't want to problem get solved, I can't do anything more for you

e-oz commented 10 years ago

Yes, I have no interest in solving your (project) problems. You know it exists and if you don't want to solve it - your decision. It works for you, all should be happy. And I now have to find some other way to run unit-tests, not locally, but it's just only my problem and I will solve it.

phalcon commented 10 years ago

Docs are fine, the command to install Phalcon are just those as they are. I'm pointing you to the right direction, but you want me to do something we can't because maybe regarding the current state of your environment the formula does not allow you to install Phalcon. We're not the maintainers of brew or brew-php, do you want me to open the issue by myself? I can do that if you want, but the docs are fine, we don't have anything to fix.

mobilizedesign commented 9 years ago

I'm having problems setting up phalcon on my Mac. I'm an experienced PHP developer who has used Zend Framework primarily. I'm interested in phalcon because of performance claims. But this exchange does not fill me with confidence about phalcon.

Edit: After using the homebrew method of installing phalcon on my Mac OS X Yosemite system this extension=/usr/local/opt/php55-phalcon/phalcon.so was all I needed to add to php.ini to get it working. Would've saved me some time if that had been included in the install instructions for Mac OS X on the phalcon site.

luhuiya commented 9 years ago

extension=/usr/local/opt/php55-phalcon/phalcon.so

this solved my problem

mwinter343 commented 8 years ago

Hi, I'm having the same problem trying to install this on yosemite. Where do you put this line in the php.ini file? Does it matter where?

Thanks

magroski commented 8 years ago

"After using the homebrew method of installing phalcon on my Mac OS X Yosemite system this extension=/usr/local/opt/php55-phalcon/phalcon.so was all I needed to add to php.ini to get it working. Would've saved me some time if that had been included in the install instructions for Mac OS X on the phalcon site."

This!

sergeyklay commented 8 years ago

@SidRoberts Could you please take a look?

HendrikEduard commented 7 years ago

I added extension=/usr/local/opt/php71-phalcon/phalcon.so to my php.ini file and still no Phalcon in phpinfo()...

Next idea?? Or should I just stay with my current MVC...