मैं सेटअप Laravel के वैलेट कोशिश कर रहा हूँ जो एक निर्भरता के रूप में, की आवश्यकता पीएचपी 7. जब मैं Homebrew साथ पीएचपी 7 स्थापित करने का प्रयास पर Homebrew साथ पीएचपी 7 स्थापित करने में असमर्थ मैं निम्नलिखित त्रुटि मिलती है:MacOS सिएरा
Configuring SAPI modules
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/sbin/apxs follows:
apxs:Error: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config not found!.
configure: error: Aborting
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-php/issues
These open issues may also help:
php70-dbase https://github.com/Homebrew/homebrew-php/issues/3508
php70-intl not found https://github.com/Homebrew/homebrew-php/issues/3591
php70-opcache install issue https://github.com/Homebrew/homebrew-php/issues/3586
Problem installing php70-mcrypt, php70-opcache, php70-xdebug on El Capitan https://github.com/Homebrew/homebrew-php/issues/3587
Add php70-zmq formula https://github.com/Homebrew/homebrew-php/pull/3474
Problem installing homebrew/php/php70-imagick https://github.com/Homebrew/homebrew-php/issues/3571
Install PHP70: Incompatible library version https://github.com/Homebrew/homebrew-php/issues/3444
brew install php70-redis https://github.com/Homebrew/homebrew-php/issues/2762
Allow --enable-redis-igbinary for php70-redis https://github.com/Homebrew/homebrew-php/pull/3473
Add head formula for php70-uploadprogress https://github.com/Homebrew/homebrew-php/pull/3178
यह होमब्री (अपडेटेड) के एक नए इंस्टॉलेशन के साथ मैकोज सिएरा (वास्तविक रिलीज, बीटा) के एक नए इंस्टॉलेशन पर है। मैंने एक्सकोड लाइसेंसिंग समझौते पर स्थापित, भाग लिया और सहमति व्यक्त की है।
मुझे नहीं पता कि इन त्रुटियों का क्या अर्थ है या उन्हें कैसे ठीक किया जाए। क्या कोई मदद कर सकता है?
धन्यवाद।
--with-apache विकल्प अब बहिष्कृत है, इसके बजाय --with-httpd24 का उपयोग करें –