Setting up a webserver for the API!

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 12, 2013
Messages
18
Reaction score
4
Hello Ragezone!
I have seen a lot of people having trouble in setting up their API...
So here is my guide!

Prerequisites: (Do not install them yet! i will tell you how to!)
- Abyss Webserver X1 ( )
- SQL Native Client 2012 ( )
- PHP 5.4.14 ( )

Please note that i am assuming you have SQL Server 2008 installed and configured for Windows and SQL Authentication!

Now install Abyss Webserver...
After you did that, make a folder API in the htdocs folder. (Default: C:\Abyss Web Server\htdocs)
Now, navigate to: localhost:9999 (if it doesn't work, make sure you have the webserver started!)
It will promt you to enter a password, which you should have configured during the installation!

Now look for Hosts, click Configure at the Default host!
Now navigate to ASP.NET Parameters, click add.
for .NET version select: 2.0-3.5 and as virtual path select your API folder that you just created!

Now go all the way back to localhost:9999 and stop the webserver, and start again.
Now if you go to localhost/api you should see an ASP error page, don't worry, ignore it!

Now download PHP 5.4.14 and extract to: C:\Program Files\PHP5
And return to your management console.
And click configure again at your Default Host.

Now open Scripting Parameters and at interpreters press Add!
Keep everything the same, just at Interpreter select:
C:\Program Files\PHP5\php-cgi.exe
and at extensions add: php.

Ok, so now press OK and go back to localhost:9999 and restart the webserver again.

Now install SQL Native Client 2012.
After that move to the path where you extracted PHP and open php.ini.
And at the bottom add: extension=php_sqlsrv.dll
And search for: extension_dir and Uncomment that line! (Remove the ";")
And it should look like this: extension_dir="C:\Program Files\PHP5"

Now download this file:
and put it in C:\Program Files\PHP5 !!!

Now restart your website... put the contents of your /Site/ that you compiled in the API in the /api folder... and enjoy your webserver all setup for your private server!
 
After that move to the path where you extracted PHP and open php.ini.


​i have not a .ini inside, please can help me?
 
Hey there hatsiepatsie! I started to make a Server named ToxicZ but i need help.

Is there anyway you can help me in skype or Teamspeak setting it up?

I am also looking for Devs ( Coders and so on )

-RiffBean
 
Hey hatsi, thanks for helping the community but I have a quick suggestion to your guide: use better formatting and divide it into sections. People will get more confused when they have a wall of china to read :)
 
could please explain this with screens, ask please I'm desperate not understand the end of the tutorial


do not understand half of the tutorial just ask as few screens do is ask for much ... I have head so many things caught just want to play






HELP
 
hello

im using win 7 ultimate built in Webserver works perfect



for php installing use Microsofts Webplatform Installer





its so easy trust me

LG
 
Guys please help, what can I do? I do not understand, explain please.

Now install SQL Native Client 2012.
After that move to the path where you extracted PHP and open php.ini.
And at the bottom add: extension=php_sqlsrv.dll
And search for: extension_dir and Uncomment that line! (Remove the ";")
And it should look like this: extension_dir="C:\Program Files\PHP5"

Now download this file:
and put it in C:\Program Files\PHP5 !!!

Now restart your website... put the contents of your /Site/ that you compiled in the API in the /api folder... and enjoy your webserver all setup for your private server!​




 
Status
Not open for further replies.
Back