Setting up Apache+Php Stand Alone

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts

    Setting up Apache+Php Stand Alone

    I Decided to make a guide for people that don't like to use web packages.
    Download apache Here:
    Download Apache Here
    Download php Here"
    Download php here
    Ok Install Apache By Clicking The Exe File
    Click Ok/Next To Everything But when you see the directory change, change it from C:\apache groups to C:\apache_http
    Make a new folder called php in the C:\ so it looks like C:\php extract the files into there and then it should look like this.

    Go to the sapi folder and take the "php4apache.dll" and copy it into the main php folder.
    Ok now go to this directory
    "C:\apache_http\Apache\conf\httpd.conf"
    open it with notepad and do a search for this line
    "#LoadModule unique_id_module modules/mod_unique_id.so"
    under that put this line in
    "LoadModule php4_module "c:/php/php4apache.dll""
    and then look for this line
    "AddModule mod_setenvif.c"
    and add this line underneath the "AddModule mod_setenvif.c"
    "AddModule mod_php4.c"
    Then Look for this line
    "AddType application/x-tar .tgz" and then add this line underneath
    "AddType application/x-httpd-php .php"
    And then your done.
    Your files should go in the C:\apache_http\apache\htdocs
    download the attachment below and put it in there. The defult loading site is .html not .php if you wan't to change it you will need to edit the httpd.conf file if u want the defult to load as a index.php file change this line
    "DirectoryIndex index.html" to "DirectoryIndex index.php"
    And now your done

    To set php to access mssql you will have to edit the php.ini in your C:\windows folder. Look for this line

    ";extension=php_mssql.dll" and remove the ";" infront of it so it looks like this "extension=php_mssql.dll" and then look for this line
    "mssql.secure_connection = Off" and change the "Off" to On and now its ready to connect to the mssql database
    Attached Files Attached Files
    Last edited by RifleMorre; 03-08-05 at 05:19 PM.


  2. #2
    Gamma SkylineMaster is offline
    MemberRank
    Nov 2004 Join Date
    CubaLocation
    3,008Posts
    this kinda complicated for noobs, i think that AppServ is easier and helpfull, and u dont need to do all that stuff and works will all web packages.

  3. #3
    Banned Vrael is offline
    MemberRank
    Jul 2005 Join Date
    in a houseLocation
    48Posts
    ricocheting.net/servers way easier apache guide man

  4. #4
    Apprentice david85 is offline
    MemberRank
    May 2005 Join Date
    6Posts
    ok thanks a bunch my site is on a friend of mine helped me but i can't set it up with my sql and change some info that he put there for example he put in the site xp1000 i changed the xp cause it was so fast so i put 500x but now i don't know how to change the files in there and connect it to my sql cause my page has a lot of problems coul anyone help me out?
    u can't send me a tutorial if u want it's much better send it to de_lopes1985@msn.com or de_lopes1985@yahoo.com.br

  5. #5
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts
    Quote Originally Posted by Warrior19
    this kinda complicated for noobs, i think that AppServ is easier and helpfull, and u dont need to do all that stuff and works will all web packages.
    AppServ has bugs in it as in leaks fragfrog found one of them and this one dosen't have any leaks it might be complicated but ill put screenshots up

  6. #6
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts
    Also to make this guide easier i will be posting a premade php.ini and a httpd.conf

  7. #7
    Ex Post Whore Josh is offline
    MemberRank
    Dec 2004 Join Date
    8,333Posts
    LOL, but didnt u read fragfrogs new thing? So dont say it leaks it anymore >_> i prefer appserv, and can fix the "bug" in 10 seconds.

  8. #8
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts
    alright this guide is just for people that don't like to use that kind of stuff

  9. #9
    Account Upgraded | Title Enabled! andrikas is offline
    MemberRank
    May 2004 Join Date
    In Estonia.Location
    741Posts
    i got prob with my apache :( .. doesent matter what i do .. i always see my page .. but other ppl dont .. can any1 help me with that ?

  10. #10
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts
    you probally have a router if you do go to this website http://www.portforward.com/routers.htm find your router and look how to port foward/open ports on your router and open port 80 Tcp and Udp

  11. #11
    Novice ale091 is offline
    MemberRank
    Jul 2005 Join Date
    2Posts

    a LITTLE problem

    i did all u said to configure my php site except 1 thing

    i dont have the php.ini file anywhere, but i have the apache server running so i dont know what was my mistake.

    when i open my index.php this error appears:

    Fatal error: Call to undefined function: mssql_connect() in c:\apache_http\apache\htdocs\mu\config\config.php on line 116

    any suggestion is really really welcome

    thx 4 all!!!

  12. #12
    Enthusiast bhudz29 is offline
    MemberRank
    Jan 2005 Join Date
    26Posts
    This a very good guide... i have my wesite now
    but still have 1 more problem...:(
    ON the top players..
    the top players by level is shown but on the
    top RESETS no body is der.. it has lines but how can i put names and der rangking?
    Last edited by bhudz29; 08-08-05 at 09:21 PM.

  13. #13
    Alpha Member john_d is offline
    MemberRank
    Feb 2004 Join Date
    PhilippinesLocation
    2,868Posts
    a better php version is php anywer i already posted it somewer in this forum.

    cause in the version.. the php itself is capable of setting up itself not like the shit they have on php.net

  14. #14
    Novice yose22 is offline
    MemberRank
    Jan 2005 Join Date
    argentinaLocation
    1Posts
    This is my error.. in the starting Apache ...

    "Unknow(): Unable to load dynamic libraru`./extensions\php_mssql.dll`-It is not possible to be found I modulate espesifiked"

    Please help my ! ! !

  15. #15
    Account Upgraded | Title Enabled! RifleMorre is offline
    MemberRank
    Aug 2004 Join Date
    CanadaLocation
    1,025Posts
    ... change your extenstions directory in your php.ini



Page 1 of 2 12 LastLast

Advertisement