无法在php-ubuntu服务器12.04中显示firebird数据 [英] can't show firebird data in php-ubuntu server 12.04

查看:139
本文介绍了无法在php-ubuntu服务器12.04中显示firebird数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的dataTable无法显示firebird数据库中的数据. 这是在我移到新服务器后发生的(旧服务器损坏了硬盘).所有的php数据和mysql数据库已经备份,然后恢复到新服务器.但是,我的php页面之一无法显示来自firebird数据库的数据(来自另一台服务器的数据).

my dataTable can't show data from firebird database. it's happen after I move to new server (old server have hard disk damage). all php data and mysql database already backed up then restore to new server. But, one of my php page can't show data from firebird database (its from another server).

奇怪的是,为什么在我的旧服务器上可以显示,但是在新服务器上却不能显示?

the strange point is why in my old server it can show but in the new one it can't ?

我的服务器osubuntu server 12.04,然后我尝试:

my server os is ubuntu server 12.04 then I try :

sudo apt-get install php5-firebird --> i get firebird2.5

但是,我的php文件仍然无法显示firebird数据. 500 internal server error

but, my php file still can't show firebird data. 500 internal server error

我的旧服务器是ubuntu server 10.04,并且已安装firebird2.1. 有什么建议吗?

my old server is ubuntu server 10.04 and have installed firebird2.1. is there any advise?

推荐答案

我可以解决此问题,如果在这种情况下将任何东西移到新服务器上,我必须准备:

I can fix this trouble, if move anything to new server for this case, i must prepare:

  1. sudo apt-get install php5-firebird
  2. sudo apt-get install firebird2.5-server-common
  3. sudo apt-get install firebird2.5-classic
  4. sudo nano/etc/apache2/httpd.conf
  5. 添加ServerName本地主机,保存并退出
  6. sudo/etc/init.d/apache2重新启动
  7. 刷新页面

然后,所有工具都可以正常工作.

Then, all can work normally.

这篇关于无法在php-ubuntu服务器12.04中显示firebird数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆