mdshare Posted August 16, 2006 Share Posted August 16, 2006 Developing Mods locally on your own local PHP/MySQL/Apache server Its easier than you might think! I setup a dedicated local server once to let me do this but it turns out there is an even faster easier way to do it . http://www.wampserver.com wampserver is a complete software package allowing to use all the power and the flexibility that offers the dynamic language PHP and the effecient use of databases under Windows. Package includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications. Best part - its a one click install on your local system no need anymore to upload your scripts to a server, you can test them on your own PC. And don't be afraid to experiment with php it's a very easy language to learn As php/htm/whatever language editor I use Crimson Editor which is also free available at http://www.crimsoneditor.com/ md Quote Link to comment Share on other sites More sharing options...
Arson Posted August 18, 2006 Share Posted August 18, 2006 Developing locally on your own local PHP/MySQL/Apache server The link to the english version of WAMP Server is www.wampserver.com/en/ Quote Link to comment Share on other sites More sharing options...
bored292 Posted August 18, 2006 Share Posted August 18, 2006 Developing locally on your own local PHP/MySQL/Apache server hm does it have anything in it to do the cron job things? Quote Link to comment Share on other sites More sharing options...
mdshare Posted August 18, 2006 Author Share Posted August 18, 2006 Developing locally on your own local PHP/MySQL/Apache server you can ad extra's and php libraries just like on a real server, don't forget to edit the php.ini but honestly I never used crons with it, just for testing localy before uploadin as I hate online editing of scripts. Quote Link to comment Share on other sites More sharing options...
Arson Posted August 19, 2006 Share Posted August 19, 2006 Developing locally on your own local PHP/MySQL/Apache server Cron jobs as far as I know are not a possibility with Wampserver. I have used wampserve for quite a while and made several posts on their support forums. No real helpful replies came from that. The only thing wampserver is really for is to make sure all your scripts run decently before uploading them to the server for the first time. If you want your energy to refil you will have to make a cron script and execute it yourself whenever you want to gain more energy. Since its offline, I reccomend making the cron completely refill everything on you. Here: mysql_query("update users set energy=maxenergy, hp=maxhp, brave=maxbrave, will=maxwill",$c); that query will give u full energy and you can just put it n the headers.php file if you want your energy brave will and health to stay full no matter what.[/code] Quote Link to comment Share on other sites More sharing options...
Darkwolf Posted August 19, 2006 Share Posted August 19, 2006 Developing locally on your own local PHP/MySQL/Apache server Im considering looking at the www.wampserver.com/en/ program, but first, can anyone tell me roughly thier experiences with it? what kind of system specs do i have to look at for it? work best with linux or windows? Quote Link to comment Share on other sites More sharing options...
bored292 Posted August 19, 2006 Share Posted August 19, 2006 Developing locally on your own local PHP/MySQL/Apache server i got it running on a crappy winxp machine and it working perfectly :) not had no problems with it at all quite simple really :D Quote Link to comment Share on other sites More sharing options...
mdshare Posted August 19, 2006 Author Share Posted August 19, 2006 Developing locally on your own local PHP/MySQL/Apache server what I personally like is that you can switch with 1 click to a diff php version. So if you code in php5 you can test your script if it will run under php4 Quote Link to comment Share on other sites More sharing options...
Decepti0n Posted August 19, 2006 Share Posted August 19, 2006 Developing locally on your own local PHP/MySQL/Apache server It took me about 3 months to set up php, mysql and apache on my machine manually...well not three months straight but still i found it in a book, and it was still kinda mashed together, but it works for me and it was a good learning experience lol Quote Link to comment Share on other sites More sharing options...
arcteller Posted September 8, 2006 Share Posted September 8, 2006 Xampp I'd suggest trying XAMPP .. http://www.apachefriends.org/en/xampp.html Includes web server, mySQL and PHP 5.. quick and stimple all in one shot. Works fine for me. Had to use a third party app for Cron Jobs, but other than that, it was all in one install. Quote Link to comment Share on other sites More sharing options...
bored292 Posted September 8, 2006 Share Posted September 8, 2006 Developing locally on your own local PHP/MySQL/Apache server arcteller can you tell me what product you are using for cron job's please? ty Quote Link to comment Share on other sites More sharing options...
arcteller Posted September 8, 2006 Share Posted September 8, 2006 Automate 6 being used for Cron tasks. I'm using Automate 6. Is overkill for the task. Buts its what I eventually got to work for me.. Quote Link to comment Share on other sites More sharing options...
bored292 Posted September 8, 2006 Share Posted September 8, 2006 Developing locally on your own local PHP/MySQL/Apache server hm i have had alook at that now and it don't look very good for the tasks i need it too do ^^ Quote Link to comment Share on other sites More sharing options...
Snatchy Posted December 14, 2006 Share Posted December 14, 2006 Re: Developing locally on your own local PHP/MySQL/Apache server what in the php.ini am i supposed to edit? Quote Link to comment Share on other sites More sharing options...
Decepti0n Posted January 30, 2007 Share Posted January 30, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server after months of working with a hand-made apache installation :p i finally d/led wamp i love it, i loaded the zip, curl, imap and gd extensions in about ten clicks :D as opposed to my nights of getting it to work before kinda irritating moving all my files over but its ok....now i can mess around with other extensions (specifically zip because im bored) Quote Link to comment Share on other sites More sharing options...
CraigF Posted February 11, 2007 Share Posted February 11, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server ill do it when im on my computer, it sounds good =D Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted March 26, 2007 Share Posted March 26, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server Im currently using WAMP and as of which currently host my game. As under windows to do crons I use a program called VisualCron which isnt that hard to set up and works 100% for me. Never had a cron problem yet. Needless to say I host my game myself using this setup as of which runs at great speed. Quote Link to comment Share on other sites More sharing options...
mshaeffer Posted April 1, 2007 Share Posted April 1, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server I downloaded WAMP to mess around with the orignal v1.1 code I purchased but I cant seem to log in to the game now. I installed the orignal code and the orignal sql_schema and when I try and log in using admin:admin I get this error: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\wamp\www\authenticate.php on line 12 Can someone help me? Quote Link to comment Share on other sites More sharing options...
vinyl Posted April 1, 2007 Share Posted April 1, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server does mysql.php have your database info,name,pass,location correctly entered? Quote Link to comment Share on other sites More sharing options...
mshaeffer Posted April 1, 2007 Share Posted April 1, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server as far as I can tell it does Quote Link to comment Share on other sites More sharing options...
vinyl Posted April 1, 2007 Share Posted April 1, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server well, IF you are using an unmodified authenticate.php script... AND if you don't get an error like "You did not fill in the login form!" THEN you have POST'ed the name and pass as something other than "" or "" I still suspect the mysql.php info, but I make mistakes everyday. the script only has the ONE query. Quote Link to comment Share on other sites More sharing options...
vinyl Posted April 1, 2007 Share Posted April 1, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server otherwise you may want to paste the query and the following IF NUM_ROWS statements here to be viewed and considered. Quote Link to comment Share on other sites More sharing options...
Jake Posted April 4, 2007 Share Posted April 4, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server I installed this, and it never loads up. It says im using version 0.0.0.0 And every time i click the icon, it starts the installer. And when i go through the start menu, nothing happens Quote Link to comment Share on other sites More sharing options...
N00b Posted April 7, 2007 Share Posted April 7, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server can u build your own servers their? :s Quote Link to comment Share on other sites More sharing options...
Mambug Posted April 11, 2007 Share Posted April 11, 2007 Re: Developing locally on your own local PHP/MySQL/Apache server I still prefer manually installing these. It took me 2-3 hours my first time to manually install Apache, PHP + MySQL successfully. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.