8/29/2023 0 Comments Download mamp for os 10.7.5![]() Location of libxml on the system that PHP is being compiled on, The optional -with-libxml-dir directive is used to specify the But looking at the official PHP documentation explains the following: That said, I found a similar issue discussed in this Nokogiri Gist-hilariously titled “What to do if libxml2 is being a jerk”-and the clues point to explicitly pointing to the LibXML2 stuff like this: -with-xml2-include=/usr/local/include/libxml2īut-of course-that would be for Nokogiri’s config options. Their recommendation in the case of Homebrew is to run this brew link command: brew link libxml2 -forceīut if you are compiling from pure source code, not 100% sure how that would be handled. I'm over my head here, I have no idea what the problem could be.According to this this GitHub issue report connected to building PHP 5.6.11 beta on Mac OS X 10.11 (El Capitan), the key problem connected to libxml2. Please check your autoconf installation and the Grep: /usr/include/php/Zend/zend_extensions.h: No such file or directoryĬannot find autoconf. Grep: /usr/include/php/Zend/zend_modules.h: No such file or directory Grep: /usr/include/php/main/php.h: No such file or directory In the process of trying to use pecl to install the oci8 stuff I get error messages, which seem to be related to something missing in my PHP installation (which is why I came here)? Yet it works fine for PHP scripts acting on MySQL. It still works fine but I need to add the ability to connect to Oracle databases with PHP as well. I already had a working MySQL/PHP installation in Snow Leopard and then upgraded to Lion. So far I've utterly failed to get PHPStorm to talk to xdebug though :( Worked fine on Snow Leopard. It would be nice if the apache and php config system were upgraded to be more like the excellent system that's on Debian/Ubuntu. ![]() I've found the installation of libs from homebrew, coupled with building extensions from a downloaded PHP source tarball works very nicely with the stock PHP build (I've used it for gmp and mcrypt). I wish other OSs did this – they always seem to use the "PATH=$PATH:…" anti-pattern, which is another way of saying, "we have no idea what originally set this"…ĭuring the pear installation it's worth issuing "pear config-set php_ini /etc/php.ini" so that subsequent builds of pecl extensions can enable themselves. At least bash and zsh shells make use of this out of the box. Something I only noticed recently is that OS X 10.7 has a wonderfully sane way of setting the system path: add them to the /etc/paths file (in order), or create additional path files in /etc/paths.d, which are loaded in name order. PEAR_PackageFile->fromTgzFile() /Users/jcrawford/pear/share/pear/PEAR/PackageFile.php:474 PEAR_PackageFile->fromAnyFile() /Users/jcrawford/pear/share/pear/PEAR/Downloader/Package.php:1606 PEAR_Downloader_Package->_fromUrl() /Users/jcrawford/pear/share/pear/PEAR/Downloader/Package.php:263 PEAR_Downloader_Package->download() /Users/jcrawford/pear/share/pear/PEAR/Downloader.php:454 PEAR_Downloader->download() /Users/jcrawford/pear/share/pear/PEAR/Command/Install.php:661 PEAR_Command_Install->doInstall() /Users/jcrawford/pear/share/pear/PEAR/Command/Common.php:271 PEAR_Command_Common->run() /Users/jcrawford/pear/share/pear/pearcmd.php:305 Mysqladmin -u root password () /Users/jcrawford/pear/share/pear/pearcmd.php:0 (Note that we set EDITOR whilst we are here so that svn is happy!)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |