Installation with MS SQL Server

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Installation with MS SQL Server

Post by hat »

I have SQL Server 2008 installed on my machine but when I go to install/setup phpMyFAQ, I only see the following options:

- MySQL 4.1.x / 5.x / 6.x (ext/mysql)
- PostgreSQL 7.x / 8.x
- MySQL 4.1.x / 5.x / 6.x (ext/mysqli)

How do I add SQL Server as one of the options in the drop-down?

Thanks.
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Also, the I am using the 2.6.0 version of phpMyFAQ.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation with MS SQL Server

Post by Thorsten »

Hi,

you have to add MS SQL Server support to PHP.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Thorsten wrote:Hi,

you have to add MS SQL Server support to PHP.

bye
Thorsten
Can you give me some instructions on how to do it?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation with MS SQL Server

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Thanks Thorsten.
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Also, are there any other issue that might arise because of MS SQL Server?

I remember reading that the full-text search doesn't work when using MS SQL. Is that still true?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation with MS SQL Server

Post by Thorsten »

Hi,
hat wrote:Also, are there any other issue that might arise because of MS SQL Server?
I don't know any MS SQL specific issue but MS SQL isn't as widely used as MySQL.
hat wrote:I remember reading that the full-text search doesn't work when using MS SQL. Is that still true?
As far as I know it's working.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Thorsten wrote:Hi,

you have to add MS SQL Server support to PHP.

bye
Thorsten
For adding MS SQL support, what dll should I use? The documentation on the PHP website says to use php_mssql.dll but it looks like that driver isn't used anymore. Microsoft/MSDN documentation tells me to use one of these instead:

php_sqlsrv_53_nts_vc9.dll
php_sqlsrv.dll

Any suggestions?
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Ignore my previous request. I was able to make it work.

Thanks for all the help Thorsten.
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Got this error message when trying to run setup.

Code: Select all

Error: Please install your version of phpMyFAQ once again or send us a bug report.

DB error: 1750

Query: 

CREATE TABLE faqadminlog (
id integer NOT NULL,
time integer NOT NULL,
usr integer NOT NULL REFERENCES faquser(user_id),
text VARCHAR(max) NOT NULL,
ip varchar(64) NOT NULL,
PRIMARY KEY (id))
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation with MS SQL Server

Post by Thorsten »

Hi,

which MS SQL Server version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hat
Posts: 11
Joined: Thu Jan 14, 2010 3:26 pm

Re: Installation with MS SQL Server

Post by hat »

Thorsten wrote:Hi,

which MS SQL Server version do you use?

bye
Thorsten
SQL Server 2008.
Post Reply