What i should do when i run PHPIZE and get the error below ? I already installed xcode command line tools.
grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No:
My issue was: unable to see, or install updates in the Mac app store after Mojave upgrade. Solution: Use an uninstaller app such as AppDelete, iTrash, or AppCleaner. Drag the App Store icon from applications to said app (a good option put an alias to the uninstall app on the desktop.)
Start your Mac in Recovery Mode. To enter Recovery Mode on Mojave, Click Apple logo > Restart. Right after that, hold down Command + R buttons while your Mac is restarting. While in Recovery Mode, you’ll be able to run Disk Utility to check your disk for consistency. Disable your antivirus software if you have any installed.
The main problem here is the 32-bit/62-bit distinction. Apple stated that macOS High Sierra is the last operating system to support 32-bit optimized applications. From then on, if an app isn’t updated for 64-bit architecture, you won’t be able to use it on Mojave.
Click Smart Scan. Remove hidden junk from all the suggested folders. Now your Mac is ready to install macOS Mojave on top of your current OS. What’s left is to prepare the data backup in case something goes wrong. Step 2. Back up your Mac Connect the external drive and launch Time Machine. Switch Time Machine to “On” position.
Potential better solution - force reinstall the header files. Fixed a ton of problems for me system wide.
Running the following command will reinstall the developer tools header files and should fix the issue.
$ sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With