很多站长朋友们都不太清楚debian7php,今天小编就来给大家整理debian7php,希望对各位有所帮助,具体内容如下:
本文目录一览: 1、 debian8怎么安装php7 2、 debian7启动加载grub后黑屏,重启重,引导加完grub后就黑屏了,就好像休眠一样,无任何反映,只能强行关 3、 debian php7怎么升级 debian8怎么安装php7debian8 编译安装 php7
目录(?)[-]
Please reinstall the libcurl distributionCannot find OpenSSL
configure error Unable to locate gmph
Can not find recodeh anywhere under usr usrlocal usr optCannot find pspell
Please reinstall the mysql distribution
mcrypth not found Please reinstall libmcryptxml2-config not found
安装编译器
apt-get install build-essential autoconf automake libtool bison re2c获取PHP安装包
wget 安装dev包
apt-get install libxml2-dev libssl-dev libbz2-dev libjpeg-dev libpng-dev libxpm-dev libfreetype6-dev libgmp-dev libgmp3-dev libmcrypt-dev libmysqlclient15-dev libpspell-dev librecode-dev进行编译安装
./buildconf //用来生成configure脚本
./configure \
--prefix=/usr \
--with-config-file-path=/etc \
--enable-mbstring \
--enable-zip \
--enable-bcmath \
--enable-pcntl \
--enable-ftp \
--enable-exif \
--enable-calendar \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--with-curl \
--with-mcrypt \
--with-iconv \
--with-gmp \
--with-pspell \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-xpm-dir=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-openssl \
--with-pdo-mysql=/usr \
--with-gettext=/usr \
--with-zlib=/usr \
--with-bz2=/usr \
--with-recode=/usr \
--with-mysqli=/usr/bin/mysql_config
备注:错误1:Cannot find OpenSSL's libraries 解决:
确认已安装过 openssl、libssl-dev 包,还是会提示该错误;解决办法:
root@test2:~/php-5.3.27# find / -name libssl.so输出结果为: /usr/lib/x86_64-Linux-gnu/libssl.so初步判断它可能只会在 /usr/lib/ 下寻找 libssl.so 文件,于是:
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib错误2:debian Please reinstall the libcurl distribution 解决:
# RetHat CentOS or Fedora 使用下面安装命令yum install curl curl-devel
# Debian or Ubuntu使用下面的安装命令
apt-get install curl
apt-get install libcurl4-gnutls-dev
错误3:Unable to locate gmp.h 解决:
在 下载 gmp源码包,接着 ./configure make make install编译 安装
make make install
报错处理
Please reinstall the libcurl distributionaptitude search libcurl4
aptitude install libcurl4-gnutls-dev
Cannot find OpenSSL’
wget -zxvf openssl-1.0.2j.tar.gz
cd openssl-1.0.2j
./config
make make install
configure: error: Unable to locate gmp.h
sudo apt-get install libgmp-dev libgmp3-devln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.hCan not find recode.h anywhere under /usr /usr/local /usr /opt.
apt-get install librecode-dev
Cannot find pspell
apt-get install libpspell-dev
Please reinstall the mysql distribution
apt-get install libmysqlclient15-dev
mcrypt.h not found. Please reinstall libmcrypt.
apt-get install libmcrypt-dev
xml2-config not found
apt-get install libxml2-dev
debian7启动加载grub后黑屏,重启重,引导加完grub后就黑屏了,就好像休眠一样,无任何反映,只能强行关我的环境理民debian 7 amd64 grub引导 双显卡 gnome3桌面
我之前也碰到过这种问题,停在Waiting for /dev/to be fully populated 然后就黑屏,没反映了
,查了想关资料,没有很确切的答案:
1、有可能是无线网卡的问题,我有几次没打开就关了无线网卡,然后就能正常进去了(应该是碰的)
2、有可能是显卡的问题,我比对了下正常跟黑屏的时间刚好是要加载显卡那会黑屏的。我的是Nvidia+核显,按照官方教程,用的bumblebee,顺利的开启了3D特效,这之后就没有遇到过进不去的情况了
3、是桌面环境的问题?(;file=viewtopict=2339),系统明显都还没到那步,不过gnome3确实卡的可以,每次都抱着过这么久了,gnome3应该稳定了,升级吧,结果每次都那么失望,经常卡,还经常的死,推荐新来的朋友还是不要用gnome3了(个人是很喜欢gnome3的面板,消息提示栏还有那个搜索框)
个人觉得应该是显卡的问题,建议装下显卡驱动,不建议用开源的(效果不好),也不建议去官方下二进制文件自行编译安装(问题很多,而且内核升级后需要重新编译安装),那装什么呢?添加 non-free的源用 aptitude install nvidia-kernel-dkms nvidia-glx ,并安装相关依赖包,dkms在系统内核升级时会自动安装对应相应内核版本的显卡模块。。。。
WPS已经加入到Linux中来了,同学们可以丢掉Windows,投到Linux中来了
期待着QQ thunder的加入
debian php7怎么升级1.升级只会升级系统里面软件和系统内核,大版本不会变。 2.你用的默认的源吧 3.换163的吧 mirrors.163测试数据/.help/debian.html 4.你可是对比下163和官网源速度,用ping命令
关于debian7php的介绍到此就结束了,不知道本篇文章是否对您有帮助呢?如果你还想了解更多此类信息,记得收藏关注本站,我们会不定期更新哦。