WordPress数据库错误: [Got error 28 from storage engine]
SHOW FULL COLUMNS FROM `wp_options`

WordPress数据库错误: [Got error 28 from storage engine]
SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (38) ORDER BY t.name ASC

Linux AS5 + PHP 5.1.6 + Apache 2.2.3安装配置 – Crazy knowledge base
Crazy knowledge base

Linux AS5 + PHP 5.1.6 + Apache 2.2.3安装配置

Linux AS5 + PHP 5.1.6 + Apache 2.2.3安装配置
2007-10-12 14:27:41
1、下载apache和php,下载地址分别为:
http://tc1.js.download.8844.com/soft3/2/1232/1618/php-5.1.6.tar.gz
http://zbdx2.skycn.com/down/httpd-2.2.3.tar.gz
2、执行 tar -zxf httpd-2.2.3.tar.gz解压缩文件包进入到httpd-2.2.3目录,执行:
./configure –prefix=/usr/local/apache –enable-module=so
make
make install
3、执行 tar -zxf php-5.1.6.tar.gz解压缩文件包进入到 php-5.1.6目录,执行:
./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache/bin/apxs –with-config-file-path=/usr/local/lib –enable-track-vars –with-xml
make
make install
4、cp php.ini-dist /usr/local/php/lib/php.ini
5、
配置Apache服务的httpd.conf文件
*在LoadModule处添加 LoadModule php5_module module/libphp5.so
*在DirectoryIndex处添加 index.php
*在AddType application处添加
AddType application/x-httpd-php .php .phtml
AddType applicatoin/x-httpd-php-source .phps
6、启动apache验证安装正确性
在/usr/local/apache/htdocs下新建文件text.php内容如下:

保存退出,运行Apache服务:
出现权限不够的错误
chcon libphp5.so -t shlib_t或者
很多apache的Permission denied问题都是SELINUX引起的,
# vi /etc/selinux/config
看看SELINUX选项是否为disabled,若不是
改成SELINUX=disabled
修改完成后,需要重新启动操作系统才能生效。
———————————————————–
安装配置完成
7、验证idstar和php集成
安装
—-
把安装包解开放在 /opt/目录下
目录说明:
/opt/idstar/etc 配置文件目录
/opt/idstar/lib 库
/opt/idstar/php PHP 接口源码
/opt/idstar/include C 客户端头文件
/opt/idstar/doc php接口api说明
/opt/idstar/example php例程
配置客户端参数
————
更新 /opt/idstar/etc/client.properties中的参数
ids.UserName = connet_username
ids.Password = connect_password
IdentityManager.Proxy=IdentityManager:tcp -p 20000 -h your_server_ip

配置PHP
——-
修改 $(PHP_HOME)/lib/php.ini 加入如下配置
extension_dir = /opt/idatar/lib
extension=libIdstarPhp.so
启动Apache
———-
在启动 apache前需要设置 库的加载路径,如下
export LD_LIBRARY_PATH=/opt/idstar/lib
apachectl start
或者加入到系统的搜索路径中去
编辑/etc/ld.so.conf 加入
/opt/idstar/lib

Linux AS5 + PHP 5.1.6 + Apache 2.2.3安装配置

WordPress数据库错误: [Got error 28 from storage engine]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (37) ORDER BY t.name ASC

WordPress数据库错误: [Got error 28 from storage engine]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (39) ORDER BY t.name ASC

滚动到顶部