Gunz Website in AppServ

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

    Gunz Website in AppServ

    Okay so I have been using AppServ for a long time now and never had any problems with it, now I formatted my pc back to factory settings and reinstalled AppServ and now I get
    PHP Code:
    Fatal errorCall to undefined function mssql_connect() in C:\AppServ\www\New\include\config.php on line 13 
    I went Start > All Programs > AppServ > Control Server by Service > Apache Stop, and then Start > All Programs > AppServ > Control Server by Manuel > Apache Start and it still gives me the same error, I have replaced the .dll file and removed the ; from mssql in php.ini and it still don't work.

    This is related to Gunz as im running the Gunz Website on there and that's why I posted for help here.

    Thank you :P


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

    Re: Gunz Website in AppServ

    MSSQL library is kind of fucked. If I'm not mistaken there's something about ntwdlib.dll.

    Also check phpinfo().

  3. #3
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Gunz Website in AppServ

    Quote Originally Posted by Wizkidje View Post
    MSSQL library is kind of fucked. If I'm not mistaken there's something about ntwdlib.dll.

    Also check phpinfo().
    Yep. Since PHP 5.3 the old mssql functions were deprecated and replaced with the new sqlserv ones. He just has to downgrade his ntwdlib.dll and restart his Apache.

    @OP you can find the .dll you need in my Unofficial Fix Thread.

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by wesman2232 View Post
    Yep. Since PHP 5.3 the old mssql functions were deprecated and replaced with the new sqlserv ones. He just has to downgrade his ntwdlib.dll and restart his Apache.

    @OP you can find the .dll you need in my Unofficial Fix Thread.
    Thanks, that kind of fixed it, but I still have to run the Control Apache by Manuel everytime I wanna go onto my website, any idea why?

    Thanks

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Duluxe View Post
    Thanks, that kind of fixed it, but I still have to run the Control Apache by Manuel everytime I wanna go onto my website, any idea why?

    Thanks
    Start > run > services.msc. Check for Apache2.2 service. If it doesn't exist, install the service (there's an AppServ shortcut that does that for you), it it does exist, open it up and check for errors.

  6. #6
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Gunz Website in AppServ

    Quote Originally Posted by Wizkidje View Post
    Start > run > services.msc. Check for Apache2.2 service. If it doesn't exist, install the service (there's an AppServ shortcut that does that for you), it it does exist, open it up and check for errors.
    Or if there is no errors, set startup type to automatic if it isn't already.
    Last edited by wesman2232; 16-02-13 at 04:40 AM.

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

    Re: Gunz Website in AppServ

    Its default set to Automatic and the service was on where I went there, I just have to run the Apache Stat every time I wanna use it :(

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Duluxe View Post
    Its default set to Automatic and the service was on where I went there, I just have to run the Apache Stat every time I wanna use it :(
    Check the path to the process.

  9. #9
    Proficient Member damn321 is offline
    MemberRank
    Dec 2012 Join Date
    176Posts

    Re: Gunz Website in AppServ

    enable the mssql

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

    Re: Gunz Website in AppServ

    ^^ No shit sherlock

  11. #11
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: Gunz Website in AppServ

    Quote Originally Posted by Duluxe View Post
    ^^ No shit sherlock
    LMFAO. It could be that your Apache server isn't restarted from what it looks like. Even if you did, it could be interring with your default port: 80.

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Anju View Post
    LMFAO. It could be that your Apache server isn't restarted from what it looks like. Even if you did, it could be interring with your default port: 80.
    Yea, Skype was interfering with my port 80 so I just uninstalled Skype and appserv, and then reinstalled and it seems to be working perfect :)

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Duluxe View Post
    Yea, Skype was interfering with my port 80 so I just uninstalled Skype and appserv, and then reinstalled and it seems to be working perfect :)
    Oh yeah, totally forgot about Skype. There's an option to disable port 80 in Skype somewhere.

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Wizkidje View Post
    Oh yeah, totally forgot about Skype. There's an option to disable port 80 in Skype somewhere.
    Ill try find that, will be very useful :)

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Duluxe View Post
    Ill try find that, will be very useful :)
    Advanced > connection.

  16. #16
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Gunz Website in AppServ

    Just change the port for apache...

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by Joe9099 View Post
    Just change the port for apache...
    I know, I did this before and changed to 69 but then I have to type localhost:69, where as its easier just to disable the 80 port check in Skype.

  18. #18
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Gunz Website in AppServ

    Didn't know Skype could interfere with Apache. I'll have to remember that.

  19. #19
    Enthusiast PremiumNetwork is offline
    MemberRank
    Feb 2013 Join Date
    35Posts
    Quote Originally Posted by wesman2232 View Post
    Didn't know Skype could interfere with Apache. I'll have to remember that.
    Yes , Skype uses port 80 as a secondary port for video calls . Apache uses port 80 for http . So You must go to Skype settings then advanced then connection then uncheck use port 80 as secondary call port or whatever . Restart Skype . ;)

  20. #20
    Enthusiast David Luis is offline
    MemberRank
    Sep 2012 Join Date
    30Posts

    Re: Gunz Website in AppServ

    BRZ TUTO

    - Pegue A DLL "ntwdblib.dll" que você baixou no topo desse tutorial e coloque no seguinte diretório: C:\WINDOWS\system32.
    - Depois vá em C:\AppServ\php5 ou C:\AppServ\php6 e cole as duas dll lá.
    - Depois vá no diretório C:\windows\php.ini ou vá em executar e digite php.ini.
    - Depois procure a linha "output_buffering = Off"
    - No lugar do Off coloque On.
    - Procure a linha ";extension=php_mssql.dll"
    - Retire o ";" irá ficar assim "extension=php_mssql.dll"
    - Procure a linha "session.auto_start = 0"
    - No lugar do 0 coloque 1
    - Procure a linha "mssql.secure_connection = Off"
    - No lugar do Off coloque On
    - Salve e feche.


    ENG TUTO

    - Take DLL "ntwdblib.dll" you downloaded this tutorial on top and place in the following directory: C: \ WINDOWS \ system32.
    - Then go to C: \ AppServ \ php5 or C: \ AppServ \ PHP6 and paste the two dll there.
    - Then go to the directory C: \ windows \ php.ini or go run and type in php.ini.
    - Then look for the line "output_buffering = Off"
    - In place of the place On. Off
    - Look for the line "; extension = php_mssql.dll"
    - Remove the ";" will look like "extension = php_mssql.dll"
    - Look for the line "session.auto_start = 0"
    - In place of the 0 place 1
    - Look for the line "mssql.secure_connection = Off"
    - In place of place On Off
    - Save and close.

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

    Re: Gunz Website in AppServ

    Quote Originally Posted by David Luis View Post
    BRZ TUTO

    - Pegue A DLL "ntwdblib.dll" que você baixou no topo desse tutorial e coloque no seguinte diretório: C:\WINDOWS\system32.
    - Depois vá em C:\AppServ\php5 ou C:\AppServ\php6 e cole as duas dll lá.
    - Depois vá no diretório C:\windows\php.ini ou vá em executar e digite php.ini.
    - Depois procure a linha "output_buffering = Off"
    - No lugar do Off coloque On.
    - Procure a linha ";extension=php_mssql.dll"
    - Retire o ";" irá ficar assim "extension=php_mssql.dll"
    - Procure a linha "session.auto_start = 0"
    - No lugar do 0 coloque 1
    - Procure a linha "mssql.secure_connection = Off"
    - No lugar do Off coloque On
    - Salve e feche.


    ENG TUTO

    - Take DLL "ntwdblib.dll" you downloaded this tutorial on top and place in the following directory: C: \ WINDOWS \ system32.
    - Then go to C: \ AppServ \ php5 or C: \ AppServ \ PHP6 and paste the two dll there.
    - Then go to the directory C: \ windows \ php.ini or go run and type in php.ini.
    - Then look for the line "output_buffering = Off"
    - In place of the place On. Off
    - Look for the line "; extension = php_mssql.dll"
    - Remove the ";" will look like "extension = php_mssql.dll"
    - Look for the line "session.auto_start = 0"
    - In place of the 0 place 1
    - Look for the line "mssql.secure_connection = Off"
    - In place of place On Off
    - Save and close.
    Duuh. Did you read my post a all!



Advertisement