PHP connection fix for SQL Server 2005

Results 1 to 16 of 16
  1. #1
    Real pro graywolf is offline
    MemberRank
    Mar 2004 Join Date
    Latvia // RigaLocation
    697Posts

    Cool PHP connection fix for SQL Server 2005

    1. Download the file in attachment.
    2. Stop appserv, or easy php what's you are using.
    3. Extract the attachment into your Windows\System32 directory
    4. Extract the attachment into your Webserver\PHP directory
    5. Edit php.ini file, (It's in your Windows directory)
    5.1 Find mssql.secure_connection (The Line is about 951).
    5.2 If it's set to Off, set it to on.
    5.3 The line must look like this : mssql.secure_connection = On
    5.4. Save php.ini
    6. Edit your config.php:
    6.1 Put // in front of lines where you configure connection (3 lines: $host, $auser, $apass).
    6.2 Save config.php
    7. Start your appserv(easy php).
    Attached Files Attached Files
    Last edited by graywolf; 18-05-06 at 07:35 PM.


  2. #2
    Valued Member HellSing is offline
    MemberRank
    Apr 2005 Join Date
    VenezuelaLocation
    148Posts
    i'll test it

  3. #3
    Apprentice Armag3don is offline
    MemberRank
    Mar 2006 Join Date
    17Posts
    it works man... very good TNX

  4. #4
    Account Upgraded | Title Enabled! Cold666 is offline
    MemberRank
    Oct 2004 Join Date
    Lisbon, PortugalLocation
    397Posts
    what's this ?

  5. #5
    Account Upgraded | Title Enabled! Cold666 is offline
    MemberRank
    Oct 2004 Join Date
    Lisbon, PortugalLocation
    397Posts
    Quote Originally Posted by =[Master]=
    lolz, this will be a big whole where hackers can enter
    your site isn't hacker free. Someone injected my webbie... it isn't secure!

  6. #6
    Valued Member wodian is offline
    MemberRank
    Oct 2004 Join Date
    The NetherlandsLocation
    112Posts
    i dont trust sql 2005.. still use my old one ;)

  7. #7
    Account Upgraded | Title Enabled! Cold666 is offline
    MemberRank
    Oct 2004 Join Date
    Lisbon, PortugalLocation
    397Posts
    =[Master]=, i'm just warning nothing more, i respect ur work anyway. But i tjough ur site was hack free, and it isn't someone tried to fu**my server.

  8. #8
    Main Idea Mr-K is offline
    MemberRank
    Mar 2006 Join Date
    ArgentinaLocation
    609Posts
    Quote Originally Posted by =[Master]=
    o_O really? c'mon give me 300$ and i will make the most secure muonline webpage,so dont say fucking words about coz you dont know me

    and what you want to make more at free muonline page? nothing coz is free
    Hey dude... To share is to give what u got... not what it is useless for ya...
    I think Jhon D. or FragFrog didn get paid... didn they?... This is not a business stuff... I think u can´t justify a bad work with that... U don need to be so rude with others ppl release... coz urs ain´t that good...
    If i take care bout ur job... I wouldn even pay a cent for it... But well... that´s ur attitude right?...
    Don spam others release with this crap...
    NOTE: PHP is free. Apache is free. But they r a lil better than ur work... lol.

    NOTE: For the releaser... Nice tutorial... usefull for ppl who is lazy to google it... :D
    Congratz. :D

  9. #9
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts
    Stop Flaming Each Other Now.

  10. #10
    Valued Member jnicolau is offline
    MemberRank
    Apr 2005 Join Date
    brasilLocation
    130Posts
    works, great my site is back online

    thx graywolf.

  11. #11
    Gamma SkylineMaster is offline
    MemberRank
    Nov 2004 Join Date
    CubaLocation
    3,008Posts
    dleted posts, dont flame again, and if u have something to tell some1 here, go private or think about another way of saying it.

  12. #12
    Valued Member jnicolau is offline
    MemberRank
    Apr 2005 Join Date
    brasilLocation
    130Posts
    hi, with that fix the site works but the register still dont work.
    my page was working fine on sql 2000 , but now on with sql 2005 i did this fix but the register still dont work.
    can some hellp me pls
    thx

  13. #13
    Novice jejen is offline
    MemberRank
    Jul 2005 Join Date
    3Posts
    I apply the patch but I continue receiving the following message

    mssql_connect(): Unable to connect to server: 127.0.0.1 in c:\appserv\www\config.php

    It already reviews config.php and this all ok, dbuser=sa and dbpass= ****, is correct.

    Please help me !!!!

  14. #14
    Proficient Member DinamiteDog is offline
    MemberRank
    Sep 2005 Join Date
    ArgentinaLocation
    157Posts
    Really interesting, thanks !

  15. #15
    Real pro graywolf is offline
    MemberRank
    Mar 2004 Join Date
    Latvia // RigaLocation
    697Posts
    Quote Originally Posted by jejen
    I apply the patch but I continue receiving the following message

    mssql_connect(): Unable to connect to server: 127.0.0.1 in c:\appserv\www\config.php

    It already reviews config.php and this all ok, dbuser=sa and dbpass= ****, is correct.

    Please help me !!!!
    Please read the guide more careful and don't report about your made stupid errors anymore.

  16. #16
    Account Upgraded | Title Enabled! AlexandriaTeam is offline
    MemberRank
    Jun 2006 Join Date
    City of MacedoniaLocation
    274Posts
    graywolf Tanks men!!you are the Genius :)
    Tanks Alot!



Advertisement