首页   注册   登录
 kmdd33 最近的时间轴更新

kmdd33

  •   V2EX 第 193419 号会员,加入于 2016-09-25 21:36:42 +08:00,今日活跃度排名 8731
    kmdd33 最近回复了
    @Patrick95 这里有我 nginx 的配置图片,麻烦您看下?
    打开开发工具 console 里面 Failed to load resource: the server responded with a status of 403 (Forbidden)

    phpmyadmin.css.php
    7 天前
    回复了 kmdd33 创建的主题 深圳 深圳攻城狮{内推+跳槽}微信群
    @ljh 还是内推效率高,有些 devs 通过这个小圈子已经跳槽成功,现在才发现,内推才是最有效率的方法之一。
    @msg7086


    # './configure' '--prefix=/usr/local/php' '--enable-fastcgi' '--enable-fpm' '--enable-force-cgi-redirect' '--with-curl' '--with-gd' '--enable-mbstring' '--with-mysql' '--with-mysqli' '--with-mcrypt' '--with-zlib' '--enable-gd-native-ttf' '--enable-sockets' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir'

    # make clean
    # ls
    # make clean
    # make
    # make install
    # /etc/init.d/php-fpm restart
    # /etc/init.d/php-fpm enable
    我用的这些命令,现在成功安装了 mcrypt,Zlib 支持和 FreeType 支持,谢谢你一晚上的耐心解答,非常感谢
    @msg7086 我原来 yum 安装的 7.1,然后 infophp 里面没有 mcrypt 和 lib,所以才尝试编译安装,我也不想找麻烦去编译
    # yum install rh-php71-php
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.atlanticmetro.net
    * epel: fedora-epel.mirrors.tds.net
    * extras: mirror.atlanticmetro.net
    * ius: ius.mirror.constant.com
    * remi-php70: mirror.team-cymru.org
    * remi-php71: mirror.team-cymru.org
    * remi-php72: mirror.team-cymru.org
    * remi-safe: mirror.team-cymru.org
    * updates: mirror.atlanticmetro.net
    * webtatic: us-east.repo.webtatic.com
    No package rh-php71-php available.
    Error: Nothing to do


    # /opt/rh/rh-php71/root/usr/bin/php -i | grep zlib
    关于这个命令,/opt/rh/这个是你指定的安装目录吗?怎么后面还有 /root/usr/bin/php ?
    @msg7086

    php7 编译安装的, 从 http://104.131.43.152/info.php 这里可以看出当初执行的配置命令:

    './configure' '--prefix=/usr/local/php' '--enable-fastcgi' '--enable-fpm' '--enable-force-cgi-redirect' '--with-curl' '--with-gd' '--enable-mbstring' '--with-mysql' '--with-mysqli' '--enable-gd-native-ttf' '--enable-sockets' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir'
    # php -v
    PHP Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/lib64/php/modules/zlib.so (/usr/lib64/php/modules/zlib.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/zlib.so.so (/usr/lib64/php/modules/zlib.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library 'php_zlib.dll' (tried: /usr/lib64/php/modules/php_zlib.dll (/usr/lib64/php/modules/php_zlib.dll: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/php_zlib.dll.so (/usr/lib64/php/modules/php_zlib.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
    PHP 7.2.4 (cli) (built: Mar 27 2018 17:23:35) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.4, Copyright (c) 1999-2018, by Zend Technologies
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   鸣谢   ·   1960 人在线   最高记录 3541   ·  
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.0 · 15ms · UTC 15:12 · PVG 23:12 · LAX 08:12 · JFK 11:12
    ♥ Do have faith in what you're doing.
    沪ICP备16043287号-1