mac 用brew安装完php7.1和redis,修改php.ini不起作用 40C

环境都是用brew配的
php的redis扩展也下好了,输出phpinfo();看不到reidis扩展,
最后检查更改php.ini都不起作用
mac上默认的/private/etc/php.ini.default 也改了没用
非常急,求解决!!!!图片说明

4个回答

一般来说需要修改的是

     /usr/local/etc/php/7.1/php.ini

你可以用

brew info php71

来查看你安装的php的详细信息

weixin_40765270
weixin_40765270 ![![图片说明](http://img.ask.csdn.net/upload/201712/17/1513481438_511859.png)片说明](http://img.ask.csdn.net/upload/201712/17/1513481426_430601.png) /usr/local/etc/php/7.1/php.ini 这个目录下的配置文件,改了没作用啊,apache也重启了
2 年多之前 回复

1。重启nginx
2.重启 php-fpm
3.检查php.ini 是否对

忘了说一句 必须安装php71-igbinary扩展

我也遇到同样的问题,在php.ini中添加下面两行,再重启就解决了
extension=redis.so
extension=igbinary.so

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Mac - PHP 5.6.31_7由Brew安装PHP56安装不包含libphp5.so文件

<div class="post-text" itemprop="text"> <p>I installed the PHP 5.6.31_7 using the <code>brew install php56</code>, <code>brew reinstall php56 --with-httpd24</code>, and <code>brew reinstall php56 --with-apache</code>; however, still I cannot find the <code>libexec</code> folder to make the necessary configuration in my <code>httpd.conf</code> file. Any solution is appreciated. I assume the config path should be something like <code>LoadModule php5_module /usr/local/Cellar/php56/5.6.31_7/libexec/apache2/libphp5.so</code>.</p> </div>

PHP 7.1 iMap扩展在Mojave上安装后不显示

<div class="post-text" itemprop="text"> <p>I have been trying to enable PHP 7.1 iMap extension on MAC Mojave 10.14.5, but I haven't had any luck getting it to work. Any help will be greatly appreciated. </p> <p>Before any installation, <code>php -v</code> returns <code>7.1.23</code> and <code>which php</code> returns <code>/usr/bin/php</code> since Mojave has PHP 7.1 preinstalled. However, <code>php -m</code> doesn't include iMap since the extension is not installed by default. </p> <p>I have tried to tap with either <code>kabel/php-ext</code> or<br> <code>v1shky/php-ext</code> and <code>brew install php@7.1-imap</code>, got the following in the installation process: </p> <pre><code>The php.ini and php-fpm.ini file can be found in: /usr/local/etc/php/7.1/ php@7.1 is keg-only, which means it was not symlinked into /usr/local, because this is an alternate version of another formula. If you need to have php@7.1 first in your PATH run: echo 'export PATH="/usr/local/opt/php@7.1/bin:$PATH"' &gt;&gt; ~/.bash_profile echo 'export PATH="/usr/local/opt/php@7.1/sbin:$PATH"' &gt;&gt; ~/.bash_profile For compilers to find php@7.1 you may need to set: export LDFLAGS="-L/usr/local/opt/php@7.1/lib" export CPPFLAGS="-I/usr/local/opt/php@7.1/include"** </code></pre> <p>And when I check, <code>php -v</code> returns <code>7.1.30</code>, <code>which php</code> returns <code>/usr/local/bin/php</code> and <code>php -m</code> still doesn't include iMap.</p> <p>Then I followed the instruction to modify bash_profile, and now <code>php -v</code> returns <code>7.1.30</code> and <code>which php</code> returns <code>/usr/local/opt/php@7.1/bin/php</code>. However, <code>php -m</code> still doesn't include iMap.</p> <p>Is there a better way to add the iMap extension for the existing PHP 7.1 that comes with Mojave? If not, is there anything else I should do when using HomeBrew so that it would work? </p> <p>By the way, I have to stay on PHP 7.1 instead of upgrading to 7.2 or 7.3 due to some other frameworks we are using. </p> <p>Thanks in advance!</p> </div>

brew之后安装php56无法找到php扩展

<div class="post-text" itemprop="text"> <p>I just did a brew install of php56. Then wanted to enable some extensions like php_pdo_mysql and php_mysqli, so I went to my php.ini file and uncommented the relevant lines, for example: <code>extension=php_mysqli.so</code> But for some reason which I try to start php I get the error: <code>Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php56/5.6.10/lib/php/extensions/no-debug-non-zts-20131226/php_pdo_mysql.so'</code></p> <p>I don't have such a directory on my system. I tried to find the correct location of my php extensions, but couldn't find it. I believe I must have them since typing <code>php -m</code> gives a list of all the zend modules I need. I do seem to have a folder <code>/usr/lib/php/extensions/no-debug-non-zts-20121212</code> which only has 3 extensions in it, but when I tried to replace the extension directory section of my php-config file with this file, calling phpinfo() still listed the old missing directory. Any help in figuring out how to have php access these missing extensions would be appreciated!</p> </div>

homebrew php@7.1 intl和mcrypt无法正常工作

<div class="post-text" itemprop="text"> <p>after homebrew php71 upgrade php cannot find intl and mcrypt. I reinstalled it with the formula <code>php@7.1</code>. This should include intl and mcrypt and i don't have to install it separately with <code>brew install php71-intl</code></p> <pre><code>➜ ~ php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.dll, 0x0009): closured error in Unknown on line 0 PHP 7.1.14 (cli) (built: Feb 7 2018 18:33:30) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies </code></pre> <p>This is the correct version from homebrew but the extension could not be found. In this path are only <code>opcache.so</code> and <code>xdebug.so</code>.</p> <p>Composer update output: </p> <pre><code>composer git:(develop) ✗ composer update PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php@7.1/7.1.18/lib/php/20160303/php_intl.dll' - dlopen(/usr/local/Cellar/php@7.1/7.1.18/lib/php/20160303/php_intl.dll, 9): image not found in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php@7.1/7.1.18/lib/php/20160303/php_intl.dll' - dlopen(/usr/local/Cellar/php@7.1/7.1.18/lib/php/20160303/php_intl.dll, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): image not found in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-mcrypt/mcrypt.so' - dlopen(/usr/local/opt/php71-mcrypt/mcrypt.so, 9): image not found in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-mcrypt/mcrypt.so' - dlopen(/usr/local/opt/php71-mcrypt/mcrypt.so, 9): image not found in Unknown on line 0 Loading composer repositories with package information Updating dependencies (including require-dev) </code></pre> <p>I didn't find a solution so far.</p> </div>

如何在Mac OSX上安装php 5.6 mysql扩展

<div class="post-text" itemprop="text"> <p>I am trying to setup PHP 5.6 and one of the older sites that I work with needs the mysql extension which didn't install when I ran:</p> <pre><code>brew install php56 --with-fpm --with-mysql --with-httpd </code></pre> <p>It installed php56 and that's all working fine however it installed the mysqli extension but I need the mysql extension too.</p> <p>Is there a way to install this extension to my current php setup?</p> <p>Here is the currently installed php extensions that I have:</p> <pre><code>5.6 php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom exif fileinfo filter ftp gd gettext hash iconv intl json ldap libxml mbstring mongodb mysqli mysqlnd odbc openssl pcntl pcre PDO pdo_mysql PDO_ODBC pdo_sqlite Phar posix readline Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xdebug xml xmlreader xmlrpc xmlwriter xsl zip zlib [Zend Modules] Xdebug </code></pre> <p>Just wondering, thanks!</p> </div>

无法在macOS Sierra上安装带有Homebrew的PHP 7

<div class="post-text" itemprop="text"> <p>I'm trying to setup Laravel's Valet which, as a dependency, requires PHP 7. When I try to install PHP 7 with Homebrew I get the following error:</p> <pre><code>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 </code></pre> <p>This is on a fresh install of macOS Sierra (actual release, <strong>not</strong> a beta) with a fresh install of Homebrew (updated). I have installed, ran and agreed to the Xcode licensing agreement.</p> <p>I have no idea what these errors mean or how to fix them. Can anyone offer any help?</p> <p>Thanks.</p> </div>

mac 通过brew安装软件(比如ant , mavend等需要配置环境变量的软件)

软件安装后直接能使用,我想知道环境变量是怎么自动配置的,在哪个文件能找到

请问一下 mac安装brew失败的原因是什么。。(错误原因如图)

![图片说明](https://img-ask.csdn.net/upload/201901/30/1548842040_764428.png) 刚刚从windows转到mac,所以希望回答的稍微详细一点。。 谢谢。

php7和php7.1与OSX中的自制程序

<div class="post-text" itemprop="text"> <p>since the late upgrade of homebrew i started getting these warning in the terminal even though the libraries exist and the config point to the correct path </p> <pre><code> PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-apcu/apcu.so' - dlopen(/usr/local/opt/php70-apcu/apcu.so, 9): Symbol not found: _zend_signal_globals Referenced from: /usr/local/opt/php70-apcu/apcu.so Expected in: flat namespace in /usr/local/opt/php70-apcu/apcu.so in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-apcu/apcu.so' - dlopen(/usr/local/opt/php70-apcu/apcu.so, 9): Symbol not found: _zend_signal_globals Referenced from: /usr/local/opt/php70-apcu/apcu.so Expected in: flat namespace in /usr/local/opt/php70-apcu/apcu.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-intl/intl.so' - dlopen(/usr/local/opt/php70-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.59.dylib Referenced from: /usr/local/opt/php70-intl/intl.so Reason: image not found in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-intl/intl.so' - dlopen(/usr/local/opt/php70-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.59.dylib Referenced from: /usr/local/opt/php70-intl/intl.so Reason: image not found in Unknown on line 0 PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0 Warning: Module 'mcrypt' already loaded in Unknown on line 0 Configuration File (php.ini) Path: /usr/local/etc/php/7.0 Loaded Configuration File: /usr/local/etc/php/7.0/php.ini Scan for additional .ini files in: /usr/local/etc/php/7.0/conf.d Additional .ini files parsed: /usr/local/etc/php/7.0/conf.d/ext-apcu.ini, /usr/local/etc/php/7.0/conf.d/ext-igbinary.ini, /usr/local/etc/php/7.0/conf.d/ext-intl.ini, /usr/local/etc/php/7.0/conf.d/ext-mcrypt.ini, /usr/local/etc/php/7.0/conf.d/ext-memcached.ini, /usr/local/etc/php/7.0/conf.d/ext-oauth.ini, /usr/local/etc/php/7.0/conf.d/ext-opcache.ini, /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini </code></pre> <p>when executing which php</p> <pre><code>/usr/local/opt/php@7.0/bin/php </code></pre> <p>and here is the result of brew list </p> <pre><code>brew list  ✔  10956  12:18:48 apr libffi openssl@1.1 php@5.6 apr-util libmemcached pcre php@7.0 aspell libpng php55 php@7.1 autoconf libpq php55-intl pkg-config automake libtool php55-mcrypt pv composer libxml2 php56 python dnsmasq libyaml php56-intl python@2 freetds libzip php56-mcrypt readline freetype m4 php56-pcntl ruby gdbm makedepend php70 sqlite gettext mcrypt php70-apcu tmux glib memcached php70-igbinary tree gmp mhash php70-intl unixodbc gnu-sed n98-magerun php70-mcrypt webp heroku ncdu php70-memcached xz icu4c nginx php70-oauth zsh jpeg node php70-opcache zsh-syntax-highlighting jq oniguruma php70-xdebug libevent openssl php71 </code></pre> <p>here is the output for brew doctor</p> <pre><code>brew doctor  ✔  10981  12:38:48 Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: A newer Command Line Tools release is available. Update them from Software Update in the App Store. Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking. Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5m-config /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5-config /Library/Frameworks/Python.framework/Versions/3.5/bin/python3-config Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected header files: /usr/local/include/node/ares.h /usr/local/include/node/ares_build.h /usr/local/include/node/ares_rules.h /usr/local/include/node/ares_version.h /usr/local/include/node/nameser.h /usr/local/include/node/openssl/archs/BSD-x86/opensslconf.h /usr/local/include/node/openssl/archs/BSD-x86_64/opensslconf.h /usr/local/include/node/openssl/archs/VC-WIN32/opensslconf.h /usr/local/include/node/openssl/archs/VC-WIN64A/opensslconf.h /usr/local/include/node/openssl/archs/aix-gcc/opensslconf.h /usr/local/include/node/openssl/archs/aix64-gcc/opensslconf.h /usr/local/include/node/openssl/archs/darwin-i386-cc/opensslconf.h /usr/local/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h /usr/local/include/node/openssl/archs/linux-aarch64/opensslconf.h /usr/local/include/node/openssl/archs/linux-armv4/opensslconf.h /usr/local/include/node/openssl/archs/linux-elf/opensslconf.h /usr/local/include/node/openssl/archs/linux-ppc/opensslconf.h /usr/local/include/node/openssl/archs/linux-ppc64/opensslconf.h /usr/local/include/node/openssl/archs/linux-x32/opensslconf.h /usr/local/include/node/openssl/archs/linux-x86_64/opensslconf.h /usr/local/include/node/openssl/archs/linux32-s390x/opensslconf.h /usr/local/include/node/openssl/archs/linux64-s390x/opensslconf.h /usr/local/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h /usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h /usr/local/include/node/openssl/des_old.h /usr/local/include/node/openssl/dso.h /usr/local/include/node/openssl/krb5_asn.h /usr/local/include/node/openssl/kssl.h /usr/local/include/node/openssl/pqueue.h /usr/local/include/node/openssl/ssl23.h /usr/local/include/node/openssl/ui_compat.h /usr/local/include/node/pthread-fixes.h /usr/local/include/node/v8-debug.h /usr/local/include/node/v8-experimental.h Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run `brew link` on these: python@2 heroku python php55 Warning: Your Xcode (9.2) is outdated. Please update to Xcode 9.4 (or delete it). Xcode can be updated from the App Store. Warning: Broken symlinks were found. Remove them with `brew prune`: /usr/local/bin/docker-credential-osxkeychain.backup /usr/local/bin/hyperkit.backup /usr/local/bin/notary.backup /usr/local/bin/vpnkit.backup </code></pre> <p>any help on how to fix these warnings is appreciated </p> </div>

brew需要php的错误

<div class="post-text" itemprop="text"> <p>after install php71 with homebrew </p> <pre><code>brew install php71 </code></pre> <p>i try too see it via </p> <pre><code>php -v </code></pre> <p>and that what it get <a href="https://i.stack.imgur.com/cC2yz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cC2yz.png" alt="enter image description here"></a></p> <pre><code>dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib Referenced from: /usr/local/bin/php Reason: image not found [1] 55097 abort php -v </code></pre> <p>look like i need to install jpeg 8b not 9b how i can do this </p> </div>

在PHP 7.0.7上安装MySQLi和pgsql扩展

<div class="post-text" itemprop="text"> <p>My php.ini extentions section is like as follows</p> <pre><code> ; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+) ; extension folders as well as the separate PECL DLL download (PHP 5+). ; Be sure to appropriately set the extension_dir directive. ; ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_fileinfo.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_gmp.dll ;extension=php_intl.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll ;extension=php_mbstring.dll ;extension=php_exif.dll ; Must be after mbstring as it depends on it extension=php_mysqli.dll ;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client ;extension=php_openssl.dll ;extension=php_pdo_firebird.dll ;extension=php_pdo_mysql.dll ;extension=php_pdo_oci.dll ;extension=php_pdo_odbc.dll extension=php_pdo_pgsql.dll ;extension=php_pdo_sqlite.dll extension=php_pgsql.dll ;extension=php_shmop.dll ; The MIBS data available in the PHP distribution must be installed. ; See http://www.php.net/manual/en/snmp.installation.php ;extension=php_snmp.dll ;extension=php_soap.dll ;extension=php_sockets.dll ;extension=php_sqlite3.dll ;extension=php_tidy.dll ;extension=php_xmlrpc.dll ;extension=php_xsl.dll </code></pre> <p>I'm using PhpStorm to host PHP. Whenever I try to run the function i get this:</p> <pre><code>Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in **archive** Stack trace: #0 {main} thrown in **archive** </code></pre> <p>And my code looks like follows:</p> <pre><code>&lt;?php $con = mysqli_connect("localhost","root","","aula") or die(mysqli_error($con)); mysqli_query($con, 'SET NAMES utf8') or die(mysqli_error($con)); </code></pre> <p>On the second line I already get the error. How can I install the extensions? Thanks in advance.</p> </div>

如何在MAC OS中将PHP一个版本切换到另一个版本?

<div class="post-text" itemprop="text"> <p>I have installed php7.1 using homebrew in mac. But when i try php -version it shows 5.5. How can I switch version. I could not find my php instalation directory for php7.1 to set the path at bash_profile.</p> <pre><code>#brew install php71 Warning: homebrew/php/php71 7.1.7_19 is already installed #php --version PHP 5.5.30 (cli) (built: Oct 23 2015 17:21:45) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies </code></pre> <p><strong>Edit</strong></p> <p>I see my php installtion directory is under <strong>/usr/local/etc/php/7.1</strong> But it contains only php.ini and pear.conf files.</p> <p>I tried</p> <p><strong>export PATH="$(brew --prefix homebrew/php/php71)/bin:$PATH"</strong> But it didn't change my php version.( i tried php --version, still shows 5.5)</p> </div>

在php7.1上配置pcntl_signal

<div class="post-text" itemprop="text"> <p>I've faced the issue with <code>pcntl_signal</code> after migration to php71.</p> <p>I've installed php71 (<code>brew install php71 --with-httpd24 --with-imap --with-postgresql</code>) and its pcntl extension (<code>brew install homebrew/php/php71-pcntl</code>) but <code>pcntl_signal()</code> still not working</p> <p>Please help me because i don't understand why it does not work.</p> <p><strong>P.S.</strong> I'm running the same code which was working on php56</p> </div>

Mac Brew Mysql 8.0.16升级8.0.17 出现BUG

最开始我用brew安装了mysql8.0.16(brew install mysql),然而一次brew自动更新,将mysql自动更新到8.0.17,但是以前做了一些配置,不清楚为什么始终报错找不到8.0.16(黑人问号)当然找不到16,因为更新后是17啊,然后谷歌了问题搜不到答案,大概是没有人和我出现相同问题,搜索了有关“完全删除mysql重装”、“mac brew 重装mysql”、“brew mysql环境变量配置”、“mac软连接配置”等一系列问题始终无法解决,尝试了安装低版本mysql5.7(brew install mysql@5.7)始终报错找不到8.0.16,但是能确定mysql正常使用,因为用完整路径名访问mysql -uroot 仍然可以正常使用,出现这个原因造成的仅仅是在初始终端下直接输入mysql -uroot报错找不到8.0.16,我脑洞大开找到了一种解决方式,将17版本的文件夹名改成16,可以正常运行,然而这并不是长久之计我还是希望寻求病因及答案。希望大佬能给予萌新答案quq ![图片说明](https://img-ask.csdn.net/upload/201908/17/1566034556_161940.png) ![图片说明](https://img-ask.csdn.net/upload/201908/17/1566036002_545205.jpg) ![图片说明](https://img-ask.csdn.net/upload/201908/17/1566036260_581886.jpg) 没错,时隔一日,我又发现了后遗症。。。。。。 就是我手动修改文件夹名字伪装降级之后,虽然可以正常使用mysql,但是一旦服务没启动,例如刚开机,他就会报错(如下图),然后需要手动把名字改回原来的版本,然后启动mysql服务,然后再改成旧版本,然后启动mysql。 ![图片说明](https://img-ask.csdn.net/upload/201908/18/1566127615_193203.jpeg) 我好难啊。。。。。。

在macOS High Sierra上从默认的PHP 7.1降级到PHP 7

<div class="post-text" itemprop="text"> <p>I have a fresh installation of <code>macOS High Sierra</code> which comes with <code>PHP 7.1.16</code> (Build date: Mar 31 2018 02:53:20) installed. I would like to <em>downgrade</em> this to <code>PHP 7.0.27</code>.</p> <p><code>PHP 7.1.16</code> wasn't installed with <code>homebrew</code>, so I assume it's not as easy as removing it and installing <code>PHP 7</code> with <code>brew</code>.</p> <p>What is the best and safest way to do this?</p> <p>There's many resources to upgrade from PHP 7 -&gt; 7.1 or 7 -&gt; 7.2, but nothing to go the other way on macOS.</p> <pre><code>PHP 7.1.16 (cli) (built: Mar 31 2018 02:59:59) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies </code></pre> </div>

在mac中安装PHP INTL没有正确

<div class="post-text" itemprop="text"> <p>I have installed <code>php56-intl</code> using <a href="http://brew.sh" rel="nofollow">Homebrew</a> like so: <code>brew install php56-intl</code> and when I do <code>php -m | grep intl</code> it gives me <code>intl</code></p> <p>But when I check in my <code>phpinfo()</code> file, doesn't show up <code>intl</code>.</p> <p>Not sure what am I missing.</p> <p><strong>Update</strong></p> <p>All I want to install <code>intl</code> in my computer so that I could run my <code>zend</code> application. But whatever I do I don't get it done. </p> <blockquote> <p>An error occurred An error occurred during execution; please try again later. </p> <p>Additional information:</p> <p>Zend\I18n\Exception\ExtensionNotLoadedException File: <code>/Applications/XAMPP/xamppfiles/htdocs/skeleton/vendor/zendframework/zend-i18n/src/Filter/AbstractLocale.php:24</code></p> <p>Message: </p> <p>Zend\I18n\Filter component requires the intl PHP extension</p> </blockquote> </div>

环境 mac版本10.14 php5.6 安装mongo扩展无法安装?

1.报错:clang: error: linker command failed with exit code 1 (use -v to see invocation) no 操作步骤: 1.下载mongo 扩展版本1.3.0到1.4.2均已尝试 2.编译安装 和 pecl安装均已尝试 出现错误 ![图片说明](https://img-ask.csdn.net/upload/201901/22/1548124013_466368.jpg) ![图片说明](https://img-ask.csdn.net/upload/201901/22/1548124144_736649.jpg) 尝试过brew php56-mongo还是会 报错 希望大家鼎力相助

有哪个知道MAC PHP5.6 怎么安装GD库的FREETYPE啊?

必须是MAC笔记本上自带的PHP5.6,这个好麻烦,网上找的都不成功,就算用BREW的方法也不解决问题,CSRUTRIL Disable 都不管用还给系统弄坏了,这是新装的MAC系统,求解怎么能把MAC自带的PHP5.6 的GD库安装FREETYPE?

已删除包的brew公式未找到错误

<div class="post-text" itemprop="text"> <p>I get this message every time I open a terminal in mac </p> <pre><code>Error: No available formula for php55 Please tap it and then try again: brew tap josegonzalez/php </code></pre> <p>php is not installed on my system and when I try cleanup of uninstall it get the error</p> <pre><code>Anadis-MacBook-Pro:vagrant-vms anadi$ brew rm php55 Error: No such keg: /usr/local/Cellar/php55 Anadis-MacBook-Pro:vagrant-vms anadi$ brew cleanup php55 Error: No available formula for php55 Anadis-MacBook-Pro:vagrant-vms anadi$ brew cleanup php Error: No available formula for php </code></pre> <p>not sure where it's coming from; how to get rid of this error?</p> </div>

MySQL 8.0.19安装教程(windows 64位)

话不多说直接开干 目录 1-先去官网下载点击的MySQL的下载​ 2-配置初始化的my.ini文件的文件 3-初始化MySQL 4-安装MySQL服务 + 启动MySQL 服务 5-连接MySQL + 修改密码 先去官网下载点击的MySQL的下载 下载完成后解压 解压完是这个样子 配置初始化的my.ini文件的文件 ...

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

navicat(内含激活码)

navicat支持mysql的可视化操作,内涵激活码,不用再忍受弹框的痛苦。

HTML期末大作业

这是我自己做的HTML期末大作业,花了很多时间,稍加修改就可以作为自己的作业了,而且也可以作为学习参考

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

基于STM32的电子时钟设计

时钟功能 还有闹钟功能,温湿度功能,整点报时功能 你值得拥有

学生成绩管理系统(PHP + MYSQL)

做的是数据库课程设计,使用的php + MySQL,本来是黄金搭配也就没啥说的,推荐使用wamp服务器,里面有详细的使用说明,带有界面的啊!呵呵 不行的话,可以给我留言!

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:itxy41)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

实用主义学Python(小白也容易上手的Python实用案例)

原价169,限时立减100元! 系统掌握Python核心语法16点,轻松应对工作中80%以上的Python使用场景! 69元=72讲+源码+社群答疑+讲师社群分享会&nbsp; 【哪些人适合学习这门课程?】 1)大学生,平时只学习了Python理论,并未接触Python实战问题; 2)对Python实用技能掌握薄弱的人,自动化、爬虫、数据分析能让你快速提高工作效率; 3)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; 4)想修炼更好的编程内功,优秀的工程师肯定不能只会一门语言,Python语言功能强大、使用高效、简单易学。 【超实用技能】 从零开始 自动生成工作周报 职场升级 豆瓣电影数据爬取 实用案例 奥运冠军数据分析 自动化办公:通过Python自动化分析Excel数据并自动操作Word文档,最终获得一份基于Excel表格的数据分析报告。 豆瓣电影爬虫:通过Python自动爬取豆瓣电影信息并将电影图片保存到本地。 奥运会数据分析实战 简介:通过Python分析120年间奥运会的数据,从不同角度入手分析,从而得出一些有趣的结论。 【超人气老师】 二两 中国人工智能协会高级会员 生成对抗神经网络研究者 《深入浅出生成对抗网络:原理剖析与TensorFlow实现》一书作者 阿里云大学云学院导师 前大型游戏公司后端工程师 【超丰富实用案例】 0)图片背景去除案例 1)自动生成工作周报案例 2)豆瓣电影数据爬取案例 3)奥运会数据分析案例 4)自动处理邮件案例 5)github信息爬取/更新提醒案例 6)B站百大UP信息爬取与分析案例 7)构建自己的论文网站案例

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

多功能数字钟.zip

利用数字电子计数知识设计并制作的数字电子钟(含multisim仿真),该数字钟具有显示星期、24小时制时间、闹铃、整点报时、时间校准功能

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

机器学习实战系列套餐(必备基础+经典算法+案例实战)

机器学习实战系列套餐以实战为出发点,帮助同学们快速掌握机器学习领域必备经典算法原理并结合Python工具包进行实战应用。建议学习顺序:1.Python必备工具包:掌握实战工具 2.机器学习算法与实战应用:数学原理与应用方法都是必备技能 3.数据挖掘实战:通过真实数据集进行项目实战。按照下列课程顺序学习即可! 课程风格通俗易懂,用最接地气的方式带领大家轻松进军机器学习!提供所有课程代码,PPT与实战数据,有任何问题欢迎随时与我讨论。

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

【数据结构与算法综合实验】欢乐连连看(C++ & MFC)案例

这是武汉理工大学计算机学院数据结构与算法综合实验课程的第三次项目:欢乐连连看(C++ & MFC)迭代开发代码。运行环境:VS2017。已经实现功能:开始游戏、消子、判断胜负、提示、重排、计时、帮助。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

u-boot-2015.07.tar.bz2

uboot-2015-07最新代码,喜欢的朋友请拿去

相关热词 c#框体中的退出函数 c# 按钮透明背景 c# idl 混编出错 c#在位置0处没有任何行 c# 循环给数组插入数据 c# 多线程死锁的例子 c# 钉钉读取员工排班 c# label 不显示 c#裁剪影像 c#工作进程更新ui
立即提问