This repository has been archived by the owner. It is now read-only.

Reinstall php56 after OSX 10.10 upgrade #1383

Closed
pulpfree opened this Issue Oct 18, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@pulpfree

After upgrading to Yosemite I found the same situation as the Mavericks upgrade in that I need to update the libphp5.so file as the upgrade overwrites the brew file. Doing so causes apache to crash when attempting restart so I attempted a brew reinstall php56. The error is: configure: error: Cannot find OpenSSL's <evp.h>.
Now I've found this error has been an issue with other OSX 10.10 installs and the workaround included downgrading to older version of Xcode and ruby. The default php install (from OSX 10.10) is working ok, but would like to use brew for packages etc.

Update on this issue. Found a workaround at #1181 from arsonik which suggests the following:
sudo ln -s /Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
(use whatever Beta version you may have.)
This seemed to work. I'm assuming php is then compiled with a different lib/headers etc. All works fine after copying the brew libphp5.so file to /usr/libexec/apache2

@mcdado

This comment has been minimized.

Show comment
Hide comment
@mcdado

mcdado Oct 21, 2014

Contributor

I had the same problem seemingly related to OpenSSL. This actually solved it: #1396 (comment)
Note: I had already installed the CLT via MAS, but this extra step solved these issues.

Contributor

mcdado commented Oct 21, 2014

I had the same problem seemingly related to OpenSSL. This actually solved it: #1396 (comment)
Note: I had already installed the CLT via MAS, but this extra step solved these issues.

@alanthing

This comment has been minimized.

Show comment
Hide comment
@alanthing

alanthing Feb 2, 2015

Contributor

Make sure you're using the latest versions of the formula by running brew update first. Closing, but feel free to re-open if this continues to persist.

Contributor

alanthing commented Feb 2, 2015

Make sure you're using the latest versions of the formula by running brew update first. Closing, but feel free to re-open if this continues to persist.

@alanthing alanthing closed this Feb 2, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.