论坛首页 综合技术论坛

204年9月 startos 环境配置记述

浏览 1118 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2014-09-17  

终于下定决心来完全把自己与linux完全绑定起来了,。。。。

 

写道
安装apr和apr-util的时候分别指定了安装路径,这样做是错误的,apr-util本身就是apr的一个插件,需要与apr安装到一起

重新安装之后:
apr-1.3.8]#./configure --prefix=/home/kenxu/softken/apr-1.5.15
apr-1.3.8]#make && make install

apr-util-1.3.9]# ./configure --prefix=/home/kenxu/softken/apr-1.5.15 --with-apr=/home/kenxu/softken/apr-1.5.15/bin/apr-1-config
apr-util-1.3.9]# make && make install

./configure --prefix=/home/kenxu/softken/apache2 --disable-status --disable-userdir --disable-threads --disable-ipv6 --enable-modules='ssl rewrite deflate headers expires' --with-apr=/home/kenxu/softken/apr-1.5.15/bin/apr-1-config --with-apr-util=/home/kenxu/softken/apr-1.5.15/bin/apu-1-config

./configure --prefix=/home/kenxu/softken/php5.4 --with-apxs2=/home/kenxu/softken/apache2/bin/apxs --with-config-file-path=/home/kenxu/softken/php5.4/php-config --with-png-dir --with-jpeg-dir --with-gd --with-curl --with-zlib --enable-mbstring --with-mcrypt --with-freetype-dir=/usr --with-mysql=/usr --with-mysqli --enable-pdo --with-pdo-mysql=/usr --without-pdo-sqlite --with-openssl

安装php 插件

cd xhprof-0.9.4/extension
phpize
./configure --with-php-config=/home/kenxu/softken/php5.4/bin/php-config


ln -s /home/kenxu/softken/php5.4/lib/php/extensions/no-debug-zts-20100525 /home/kenxu/softken/php-extensions

phpmyadmin:

#2002 无法登录 MySQL 服务器
只需要把 phpMyAdmin 目录下 config.inc.php 文件中

$cfg['Servers'][$i]['host'] = 'localhost';

修改为

$cfg['Servers'][$i]['host'] = '127.0.0.1';

 

论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics