[Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

Results 1 to 12 of 12
  1. #1
    Member Korey is offline
    MemberRank
    Jan 2013 Join Date
    66Posts

    information [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Hi there, since i've been getting messages at ragezone about how to allow XAMP to work with MSSQL i'll post here a tutorial on how to do it.

    1st. Download this version of xampp here :
    Download XAMPP from SourceForge.net

    2nd. Install xamp

    3rd. Start the xamp control.

    4th. Install the apache, do not start the apache yet.

    5th. Go to your php.ini located at :
    Code:
    C:\xampp\php\php.ini
    6th. Find short_open_tag till you see this :
    Code:
    Short_open_tag = Off
    7th. Change it to :
    Code:
    Short_open_tag = On
    8th. Find php_mssql.dll till you see this :
    Code:
    ;extension=php_mssql.dll
    9th. Change it to :
    Code:
    extension=php_mssql.dll
    10th. If you are using PDO MSSQL find this :
    Code:
    ;extension=php_pdo_mssql.dll
    11th. Change it to :
    Code:
    extension=php_pdo_mssql.dll
    12th. Start the apache.

    13th. Go to your htdocs located at :
    Code:
    C:\xampp\htdocs
    14th. Make a file called "test.php" ( without the " )

    15th. Inside it put this :
    PHP Code:
    <?php

    if (function_exists('mssql_fetch_row')) {
    echo 
    "I guess it worked hum?.<br />\n";
    } else {
    echo 
    "Nah, you need to uninstall the version of xampp you were using.\n";
    }

    ?>
    16th. Then save it.

    17th. Go to yourip/test.php or localhost/test.php

    18th. If it comes with "I guess it worked hum?" it means you have MSSQL enabled.

    19th. If it comes with "Nah, you need to uninstall the version of xampp you were using" it means you did something wrong.


    Dont come with annoying replys, i've done this to help some people that have been contacting me for release this tutorial.

    P.S : if you want me to make a tutorial for WAMP MSSQL Connections, post it here.

    All the best.
    Korey.
    Last edited by Korey; 30-01-13 at 03:12 AM.


  2. #2
    Enthusiast Lexuse is offline
    MemberRank
    Jan 2013 Join Date
    48Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Nice Thnx :D

  3. #3
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    XAMPP is gay, use AppServ 2.6.0

  4. #4
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Duluxe

    Rather not get gay people involved into a simple web server that is just completely stupid and unneeded.

    You rather say that it isn't good for the servers rather then making such stupid reply like this

    Just use IIS way better

    Sent from my GT-I9070 using Tapatalk 2

  5. #5
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Quote Originally Posted by Duluxe View Post
    XAMPP is gay, use AppServ 2.6.0
    Yeah, because that doesn't include the same software.

    Oh wait, it does.

  6. #6
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Quote Originally Posted by Chaosfire View Post
    Duluxe

    Rather not get gay people involved into a simple web server that is just completely stupid and unneeded.

    You rather say that it isn't good for the servers rather then making such stupid reply like this

    Just use IIS way better

    Sent from my GT-I9070 using Tapatalk 2
    nginx is also a nice alternative.
    People use it a lot as reverse proxy server but it's perfect for a "normal" HTTP server as well.

  7. #7
    Member Korey is offline
    MemberRank
    Jan 2013 Join Date
    66Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Quote Originally Posted by Wizkidje View Post
    Yeah, because that doesn't include the same software.

    Oh wait, it does.
    I'll quote what you said because i was about to say that.

    All the best.
    Korey.

  8. #8
    RaGEZONER Since 2004 I Am NoLimiT is offline
    MemberRank
    Jul 2004 Join Date
    Ha-HaciendaLocation
    992Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    i think many people still use xampp.cause in MU ONLINE Pserver most of them use xampp for control panels..also on Flyff section.

    Thank you Korey for the release..all of your release here in Gunz community are helpful :) more power to you sir.and also thanks for helping me making my Gunz Server

    YOUR THE BEST SIR KOREY!

  9. #9
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Quote Originally Posted by SuperWaffle View Post
    nginx is also a nice alternative.
    People use it a lot as reverse proxy server but it's perfect for a "normal" HTTP server as well.
    NGINX is indeed the best one you can find with IIS of course.

    Sent from my GT-I9070 using Tapatalk 2

  10. #10
    Member tyke98 is offline
    MemberRank
    Feb 2012 Join Date
    SwedistanLocation
    81Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Thank you sooo much finally got my website to work! :DDD

  11. #11
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    i was missing mssql.dll files, lol.

  12. #12
    Member Korey is offline
    MemberRank
    Jan 2013 Join Date
    66Posts

    Re: [Tutorial] Get your XAMPP work with MSSQL/PDOMSSQL Connections

    Quote Originally Posted by MAXTRAXv3 View Post
    i was missing mssql.dll files, lol.
    You was?

    So you are not missing it anymore?

    All the best.
    Korey.



Advertisement