yum install php5-sybase. "No Package Available" - centos6

I try to connect mssql in centos, so I need odbc freetds,unixodbc I have all I need to install dblib at last, I type "yum install php5-sysbase" command in terminal and here is the response:
how can I install php5-sybase ?

in centos, you run:
yum install php-mssql
then in /etc/php.ini, add the following:
extension=mssql.so

Related

phpliteadmin says SQLite3: not installed but it is

I'm trying to install phpliteadmin on a raspberry.
I installed sqlite3, apache and php
sudo apt-get install sqlite3 -y
sudo apt-get install apache2 -y
sudo apt-get install php libapache2-mod-php -y
when i know try to start phpliteadmin in an empty directory and try to create a database i get the following error:
PDO: installed
PDO SQLite Driver: not installed
SQLite3: not installed
SQLiteDatabase: not installed
when i install the pdo sqlite driver the errot goes away but i want to use the other databse php extensions, because with the PDO SQLite Driver i cannot read database with WAL set.
why do i get the error SQLite3: not installed when it is installed. is there anything missing?
You need to install the sqlite-extension of PHP. I guess on Raspbian, it should be:
sudo apt-get install php-sqlite3
More details can be found in the phpLiteAdmin wiki: https://bitbucket.org/phpliteadmin/public/wiki/Installation

Missing libz library on RedHat Install

I am setting up a Linux RedHat Server and during installation i use this command
./install.sh --target=/home/admin/Plone --build-python zeo
which shows an error:
Unable to find libz library and headers. These are required to build Python.
Please use your system package or port manager to install libz dev.
(Debian/Ubuntu zlibg-dev)
Exiting now.
Check the dependencies and install them. In your case, I guess:
yum install zlib-devel
Normally you want to install the -devel packages of the required libs. Additionally you should have installed the "Development tools" package
yum groupinstall 'Development Tools'
Search for packages with
yum search package-name
Or for binaries
yum whatprovides wantedBinary

‘seewave' install error “'sndfile.h' file not found” (for R 3.2.0 under OSX Yosemite)

When updating to R 3.2.0 I had to reinstall seewave.
I managed to install the required packages fftw, tuneR, rgl, and rpanel.
But, when trying to compile seewave I got the message:
stft.c:3:11: fatal error: 'sndfile.h' file not found
On linux it is sufficient to install libsndfile library, for example with
sudo apt-get install libsndfile1-dev
On OS X just do:
brew install libsndfile
Pisca46 - Installing via 'brew install libsndfile' helped.
On CentOS, the package has a different name :
sudo yum install libsndfile-devel
I also had to install the fftw-devel yum package

Unable to locate package http, ubuntu 12.04

I can install http just by call 'apt-get install http' But I get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package http
I also tried 'sudo apt-get install http'. no luck.
My system is ubuntu 12.04.
Try this command:
sudo apt-get install apache2
The httpd package comes under the name of apache2 in Ubuntu.
The package name is httpd. so,
sudo apt-get install httpd
should work.

error installing qt-sdk on linux

i have ubuntu-10.10 desktop version i installed following packages using apt-get install
libglib2.0-dev
libSM-dev
libxrender-dev
libfontconfig1-dev
libxext-dev
libgl1-mesa-dev
libglu-meas-dev
i downloaded qt-sdk-linux-x86-opensource-2010.05.1.bin
changed permission of bin file
chmod u+x qt-sdk-linux-x86-opensource-2010.05.1.bin
./qt-sdk-linux-x86-opensource-2010.05.1.bin
it gives me an error like not able to create symbolic link to libQtCore-4.7.0 and installation aborts.
can any one suggest me what is going wrong and how can i over come this issue
You can just install qt-sdk package from Ubuntu repositories, if you must install by hand, try running it with sudo;
sudo ./qt-sdk-linux-x86-opensource-2010.05.1.bin

Resources