前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >centos7.2上phpwind的搭建

centos7.2上phpwind的搭建

作者头像
知识浅谈
发布2020-03-24 16:40:22
2.2K0
发布2020-03-24 16:40:22
举报
文章被收录于专栏:分享学习

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

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 SQL Server
腾讯云数据库 SQL Server (TencentDB for SQL Server)是业界最常用的商用数据库之一,对基于 Windows 架构的应用程序具有完美的支持。TencentDB for SQL Server 拥有微软正版授权,可持续为用户提供最新的功能,避免未授权使用软件的风险。具有即开即用、稳定可靠、安全运行、弹性扩缩等特点。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档