zoukankan      html  css  js  c++  java
  • PHP——安装ThinkPHP框架报错

    前言

    安装ThinkPHP框架报错,因为之前的报错总结使用的不是markdown编写的,整理起来有点麻烦,所以先单独记录下。

    步骤

    # composer create-project topthink/think tp
    Composer is operating slower than normal because you have Xdebug enabled. See https://getcomposer.org/xdebug
    Creating a "topthink/think" project at "./tp"
    Installing topthink/think (v6.0.7)
      - Installing topthink/think (v6.0.7): Extracting archive
        The Process class relies on proc_open, which is not available on your PHP installation.
        The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
        Unzip with unzip command failed, falling back to ZipArchive class
    

    The Process class relies on proc_open, which is not available on your PHP installation.

    1. 修改php.ini配置文件

    删除proc_open,proc_get_status并保存配置文件

    disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
    

    1. 重启服务
    service php-fpm restart
    
    1. 安装框架
    # composer create-project topthink/think tp
    

    学无止境,谦卑而行.
  • 相关阅读:
    squid详解(正向代理、透明代理、反向代理)
    kvm虚拟化管理
    centos7系统排错
    网络基础(子网划分)
    cobbler无人值守自动安装
    MSSQL提权之xp_cmdshell
    MySQL 拿 WebShell
    9
    友价商城SQL注入
    Potato土豆win综合提权
  • 原文地址:https://www.cnblogs.com/wangyang0210/p/14527305.html
Copyright © 2011-2022 走看看