LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2005, 09:14 AM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
FC3 and PHP_MSSQL


hello,

i have not fooled to much with this yet but i figured i would ask first. Does the installation of PHP on FC3 come with the PHP_MSSQL already installed? i heared that to do this you would have to recompile PHP with the appropriate modules. Or is it as easy as yum or apt-get?

thanks
 
Old 05-29-2005, 11:07 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
You mean MySQL.
Quote:
Does the installation of PHP on FC3 come with the PHP_MSSQL already installed?
It depends on the installation you opted for. If it is not installed you can easily get it through yum or apt-get. I am almost always on slackware so can't give you much insight into this. One way to check it to if mysql is installed it to try and locate it

$ locate mysql

Secondly, if mysql is installed you can do this to see if PHP recognizes it...

create a file phpinfo.php

edit the file and put the following lines

<?php
phpinfo();
?>

and put this file in to your webserver root directory...open up your browser and point it to the file location...

Hope this helps...
Tux
 
Old 05-29-2005, 11:27 AM   #3
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
no not mysql.

there is a function module that allows php to connect and execute quires to an Microsoft SQL database server under php.

Its not pre-installed with the windows manual install version. However on my FC3 web server i would like to be able to execute qureys and connect to my MSSQL database via php scripts.

Just a few of the commands it allows are

MSSQL_CONNECT
MSSQL_CLOSE
MSSQL_EXECUTE

to learn more of these you can always read up on them at

www.php.net and search for mssql for a full listing!!
 
Old 05-29-2005, 12:29 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Sorry...no idea about that

Tux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: DMA with FC3 on a GA-8TRS350MT motherboard with a custom 2.6.12 kernel - FC3 DVD playbac rylan76 LinuxAnswers Discussion 0 08-21-2005 06:18 PM
FC3 xorg-x11.6.8.2 fc3 rpm critical fault gregreenwood Linux - Software 0 05-17-2005 03:18 PM
(FC3) ATI FGLRX Drivers work for months,FC3 update, stop working genixpro Linux - Hardware 2 04-23-2005 10:01 PM
Fc3? Redbone981sl Fedora 3 03-17-2005 03:55 PM
Fc 2 -> Fc3 serinxus Fedora 1 04-28-2004 11:50 AM


All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration