LAMP之路

不积跬步,无以至千里!

[架设教程]Windows2003+IIS6.0 + MySql_5.0.37 + PHP_5.2.1 + ZendOptimizer_3.2.6 + phpMyAdmin_2.10.0.2环境配置安装教程

2012-10-18 一抹阳光 环境架设

Win2003+IIS6.0+MySql 5.0.37+PHP 5.2.1+ZendOptimizer 3.2.6+phpMyAdmin 2.10.0.2环境配置安装教程 下面无图版,有图完整版 下载附件: Win2003+IIS6.0+MySql_5.0.37+PHP_5.2.1+ZendOptimizer_3.2.6+phpMyAdmin_2.10.0.2环境配置安装教程.zip 本次安装所使用到的相关软件如下: 操作系统:Windows 2003 server IIS6.0 PHP版本:php 5.2.1 Mysql版本:mysql 5.0.37 Zend版本...[阅读全文]

评论(0) 浏览(2289)

wordpress各种环境下的伪静态设置

2012-10-18 一抹阳光 网站程序

一、ngnix root /home/wwwroot/lamp46;下一行添加: location / { try_files $uri $uri/ /index.php?q=$uri&$args; } 附配置文件: lamp46.com_.zip 重启nginx 二、IIS6 将下面Rewrite-wp.zip中的Rewrite.dll添加到网站ISAPI筛选器上,并将httpd.ini放到网站的根目录下 Rewrite-wp.zip 重启iis 三、apache ...[阅读全文]

评论(0) 浏览(2323)

[架设教程]lnmp一键安装+postgresql+phpPgAdmin

2012-10-18 一抹阳光 环境架设

环境软件: VPS:OpenVZ 系统:centos5.5 软件: lnmp0.8.tar.gz(http://soft.vpser.net/lnmp/lnmp0.8.tar.gz)、 postgresql-8.3.18.tar.gz(http://ftp.postgresql.org/pub/source/v8.3.18/postgresql-8.3.18.tar.gz) phpPgAdmin-5.0.4.tar.gz 注意:本文的命令行文章直接复制可能会至乱码。 一、安装lnmp #cd ~ #wget -c http://soft.vpser.net/lnmp...[阅读全文]

评论(0) 浏览(3931)

postgresql增加监听IP

2012-10-18 一抹阳光 数据库

如果postgresql只能支持localhost不能支持127.0.0.1 修改postgresql.conf配置文件 listen_addresses = ‘localhost’        # what IP address(es) to listen on; listen_addresses = ’127.0.0.1′ ...[阅读全文]

评论(0) 浏览(2279)

centos5.6 postgresql8.3安装

2012-10-18 一抹阳光 数据库

1  添加用户 创建目录 useradd postgres -d /usr/local/pgsql passwd postgres mkdir /usr/local/pgsql/ mkdir /usr/local/pgsql/data chown -R postgres /usr/local/pgsql chown postgres /usr/local/pgsql/data 2  设置环境变量 vi /etc/profile export LD_LIBRARY_PATH=/usr/local/pgsql/lib:$LD_LIBRARY_PATH ...[阅读全文]

评论(0) 浏览(2258)

lnmp一键安装环境添加pgsql扩展

2012-10-18 一抹阳光 环境架设

本人比较懒,建站都是lnmp一键安装环境。 最近用到php+postgresql环境,在原来lnmp安装好postgresql8.3然后往php中添加扩展。 添加扩展的基本步骤: 1、进入php源代码目录:# cd /root/lnmp0.8/php-5.2.17 2、再进入要添加的postgresql扩展源码目录:# cd ext/pgsql/ 2、调用已经编译好的php里面的phpize:# /usr/local/php/bin/phpize 3、然后configure:# ./configure --with-php-config=/usr/local/php/bin...[阅读全文]

评论(0) 浏览(4245)

ubuntu configure时总是报configure: error: readline library not found.

2012-10-18 一抹阳光 操作系统

在ubuntu 8.10下编译totem,configure时总是报configure: error: readline library not found. If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn’t looking in the proper directory. Use –without-readline to disable readline support. 但通过ldconfig -...[阅读全文]

评论(0) 浏览(2623)

centos安装Postgresql configure: error: readline library not found

2012-10-18 一抹阳光 数据库

configure: error: readline library not  found 今天一位同事在搭建Postgresql 测试环境,在安装过程中遇到一个问题,在执行 configure 过程中报以下错误,configure: error: readline library not found ,同事说已经在系统中安装 readline 包了,让我帮他看下。 1 环境信息 OS: CentOS release 5.2 (Final) PG: postgresql-9.0.0] 2 根据提示,我...[阅读全文]

评论(0) 浏览(7451)

支持多数据库的php网站系统

2012-10-18 一抹阳光 网站程序

论坛:MyBB(支持Mysqli、Mysql、PostgreSQL、SQLite)、phpBB(支持Mysql、PostgreSQL、 SQLite、MsSql2000+/ODBC、Firebird 、Oracle)、FluxBB/PunBB(支持MySQL、PostgreSQL、SQLite等数据库)、FUDforum(支持MySQL、 PostgreSQL、DB2、SQL Server、Oracle、SQLite 和 Firebird 数据库)、Simple Machines Forum(支持Mysql、PostgreSQL) CMS:drupal、joomla 博客:...[阅读全文]

评论(0) 浏览(2949)

phpPgAdmin导出数据库Export error: Failed to execute pg_dump

2012-10-18 一抹阳光 数据库

Export error: Failed to execute pg_dump (given path in your conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your configuration and relog.   解决办法: 修改phpPgAdmin的conf/config.inc.php文件 $conf['servers'][0]['pg_dump_path'] = ‘E:/LAMP/PostgreSQL8.3/bin/pg_dump’; $conf['s...[阅读全文]

评论(0) 浏览(3056)