问题
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 ?
my server os
is ubuntu server 12.04
then I try :
sudo apt-get install php5-firebird --> i get firebird2.5
but, my php file still can't show firebird data.
500 internal server error
my old server is ubuntu server 10.04
and have installed firebird2.1
.
is there any advise?
回答1:
I can fix this trouble, if move anything to new server for this case, i must prepare:
- sudo apt-get install php5-firebird
- sudo apt-get install firebird2.5-server-common
- sudo apt-get install firebird2.5-classic
- sudo nano /etc/apache2/httpd.conf
- Add ServerName localhost, save and exit
- sudo /etc/init.d/apache2 restart
- reload the page
Then, all can work normally.
回答2:
sudo apt-get install php5-interbase
来源:https://stackoverflow.com/questions/10945516/cant-show-firebird-data-in-php-ubuntu-server-12-04