mssql

sjaakfaal

Verified User
Joined
Feb 14, 2010
Messages
41
Hi,

I am trying to install php-mssql (Yum install php-mssql). In order to do that i had to remove "http" and "php" from the exclude list (centos 5).

Question:

1. why are http and php in the exclude list? Does DA do the updates for me?
2. can i do the install of php-mssql without trouble?

Many thanks.
 
Hello,

Custombuild installs PHP/MySQL/Apache. If you gonna use yum to install any of them, you definitely might break and mess things up.

Update instead:

/usr/local/directadmin/custombuild/custom/suphp/configure.php5

and re-install PHP:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build php n
 
So, i guess i need to digg out more in "configure.php5". But what location is correct

locate configure.php5

/usr/local/directadmin/custombuild/configure/ap1/configure.php5
/usr/local/directadmin/custombuild/configure/ap2/configure.php5
/usr/local/directadmin/custombuild/configure/suphp/configure.php5
 
ap1 means apache 1.x, ap2 means apache 2.x, and suphp means apache 2.x running php as cgi.

You must uninstall all the php and httpd rpms first; you may be able to do that using yum. Then make whatever changes you need to add mssql through php, manually, to custombuild.

Jeff
 
ap1 means apache 1.x, ap2 means apache 2.x, and suphp means apaqche 2.x running php as cgi.

So, what do i use? ap1 is out of the question.

You must uninstall all the php and httpd rpms first; you may be able to do that using yum.

I have installed anything yet on my server.

Then make whatever changes you need to add mssql through php, manually, to custombuild.

Can you give me an example please?
 
Lots of tips/tricks and howto's .. not one of them is complete as far as i can see.

With yum this is so easy:
yum install php-mssql

But hey, lets start with freetds.
 
Back
Top