专栏首页分享学习centos7.2上phpwind的搭建

centos7.2上phpwind的搭建

yum install perl* –skip-brokenyum install php* –skip-broken

安装pdo_mysql 找到教程之后执行的时候按下边的执行 ./configure –with-php-config=/usr/bin/php-config –with-pdo-mysql=/usr –with-zlib-dir=/var/lib64/mysql (记住这个不一定和网上的目录一样根据自己的电脑进行操作)

必须建立下边的这个连接之后才可以make ln -s /usr/include/mysql/* /usr/local/include (链接只能链接这个文件夹下边的

文件而不能链接这个文件下的子文件的内容)比如/usr/include/mysql/mysql/psi下的psi_memory.h文件只能拷贝到/usr/include/mysql/psi这个文件夹下边 cp -r /usr/include/mysql/mysql/psi /usr/include/mysql/psi

还有下边这个文件,必须得把MySQL/MySQL/下边的plugin.h 拷贝到/mysql下边 cp /usr/include/mysql/mysql/client_plugin.h /usr/include/mysql/client_plugin.h

[root@iz2ze1ci0m3dzopy4m0byfz PDO_MYSQL-1.0.2]# make install Installing shared extensions: /usr/lib64/php/modules/ [root@iz2ze1ci0m3dzopy4m0byfz PDO_MYSQL-1.0.2]# vi /etc/php.ini extension=/usr/lib64/php/modules/ extension=pdo_mysql.so extension=pdo.so

[root@iz2ze1ci0m3dzopy4m0byfz PDO_MYSQL-1.0.2]# service php-fpm restart Redirecting to /bin/systemctl restart php-fpm.service

接下来是一些操作日志 995 cd /opt/PDO_MYSQL-1.0.2/ 996 ls 997 make 998 find / -name mysql 999 find /usr -name include 1000 find / -name include 1001 ln -s /usr/include/* /usr/local/include 1002 make 1003 cd /usr/bin 1004 ls 1005 ls mysql 1006 ll mysql 1007 find / -name mysql.h 1008 ln -s /usr/include/mysql/* /usr/local/include 1009 cd /usr/local/include/ 1010 ls 1011 cd /opt/P 1012 cd /opt/PDO_MYSQL-1.0.2/ 1013 make 1014 find / -name client_plugin.h 1015 ln -s /usr/include/mysql/mysql/* /usr/local/include 1016 make 1017 ln -s /usr/include/mysql/mysql/ /usr/local/include 1018 make 1019 ln -s /usr/include/mysql/mysql/client_plugin.h /usr/local/include 1020 make 1021 cd /usr/include/mysql/mysql/client_plugin.h 1022 cp /usr/include/mysql/mysql/client_plugin.h /usr/include/mysql/client_plugin.h 1023 ln -s /usr/include/mysql/* /usr/local/include 1024 make 1025 find / -name psi_memory.h 1026 cp /usr/include/mysql/mysql/psi/psi_memory.h /uar/include/mysql/psi_memory.h 1027 cp /usr/include/mysql/mysql/psi/psi_memory.h /usr/include/mysql/psi_memory.h 1028 ln -s /usr/include/mysql/* /usr/local/include 1029 make 1030 cp /usr/include/mysql/mysql/psi/psi_memory.h /usr/include/mysql/psi_memory.h 1031 ln -s /usr/include/mysql/* /usr/local/include 1032 make 1033 cd /usr/include/mysql/psi/ 1034 find / -name psi_memory.h 1035 find / -name psi 1036 cp -r /usr/include/mysql/mysql/psi /usr/include/mysql//psi 1037 make 1038 make test 1039 histort 1040 history 1041 clear 1042 cd /var/www/html 1043 ls 1044 cd /opt/PDO_MYSQL-1.0.2/ 1045 makeinstall 1046 make 1047 makeinstall 1048 make install 1049 service php-fpm restart 1050 service httpd restart 1051 service mysqld restart 1052 mysql -uroot -p 1053 yum install php* 1054 yum install php-sqlite 1055 wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm 1056 ls 1057 rm -rf MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm 1058 cd /opt 1059 rm -rf MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm 1060 wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm 1061 rpm -ivh MySQL-shared-compat-5.6.14-1.el6.x86_64.rpm 1062 yum install php56w-mysql 1063 vi /etc/php.ini 1064 service php-fpm restart 1065 service mysqld restart 1066 service httpd restart 1067 rom php 1068 rpm -qa | grep php 1069 rpm -qa | grep php* 1070 rpm -qa | grep php-mysql 1071 rpm -qa | grep php56w-mysql 1072 cd PDO_MYSQL-1.0.2/ 1073 make 1074 make install 1075 vi /etc/php.ini 1076 service php-fpm restart 1077 vi /etc/php.ini 1078 service php-fpm restart 1079 service httpd restart 1080 service mysqld restart 1081 vi /etc/php.ini 1082 history

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • CentOS7.3下安装MySql5.7 和 5.6

    以下为5.6 https://www.cnblogs.com/renjidong/p/7047396.html 安装pdo_mysql 找到教程之后执行...

    逐梦的青春
  • 操作系统-位示图实验

    逐梦的青春
  • 51Nod-1001 超时后看这里

    逐梦的青春
  • CentOS7.3下安装MySql5.7 和 5.6

    以下为5.6 https://www.cnblogs.com/renjidong/p/7047396.html 安装pdo_mysql 找到教程之后执行...

    逐梦的青春
  • MySql绿色版安装与配置

    假设我们想配置一个端口为3381的 MySql,同理也可以依照该方法配置多个MySql:

    栋先生
  • 基于达尔文进化论的遗传算法,还能帮你破解同事的密码?| 附代码

    李林 编译自 SICARA blog 量子位 出品 | 公众号 QbitAI 量子位今天编译整理的这篇文章,全面地介绍了遗传算法(genetic algorit...

    量子位
  • 实验室自研工具Vivado Batch Mode Tool介绍!

    手点Vivado GUI也太低效了,关注“Z胖实验室”公众号,公众号内回复 Vivado脚本 获得链接

    网络交换FPGA
  • 浙江工业大学校赛 画图游戏

    画图游戏 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Jav...

    ShenduCC
  • CentOS7 mysql5.7安装并配置主主同步

    肖哥哥
  • 有个小哥哥用机器学习帮自己脱单,结果。。。

    滑铁卢大学一位叫 Bai Li 的华裔小哥哥,在 Medium 上分享了自己「如何用 ML 中的逻辑回归方法帮自己找脱单」的神操作。

    HyperAI超神经

扫码关注云+社区

领取腾讯云代金券