Announcement

Collapse
No announcement yet.

[FAQ] Developing locally on your own local PHP/MySQL/Apache server

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [FAQ] Developing locally on your own local PHP/MySQL/Apache server

    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

  • #2
    Developing locally on your own local PHP/MySQL/Apache server

    The link to the english version of WAMP Server is www.wampserver.com/en/
    Add your game to my list of text based games.

    Comment


    • #3
      Developing locally on your own local PHP/MySQL/Apache server

      hm does it have anything in it to do the cron job things?

      Comment


      • #4
        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.

        Comment


        • #5
          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:

          Code:
          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]
          Add your game to my list of text based games.

          Comment


          • #6
            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?
            darkwolfpichosting.com - Players can easily upload images for outside hosting darkwolfgaming.com - FLash game site

            Comment


            • #7
              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

              Comment


              • #8
                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

                Comment


                • #9
                  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

                  Comment


                  • #10
                    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.

                    Comment


                    • #11
                      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

                      Comment


                      • #12
                        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..

                        Comment


                        • #13
                          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 ^^

                          Comment


                          • #14
                            Re: Developing locally on your own local PHP/MySQL/Apache server

                            what in the php.ini am i supposed to edit?
                            www.bogansand*****es.com

                            Comment


                            • #15
                              Re: Developing locally on your own local PHP/MySQL/Apache server

                              after months of working with a hand-made apache installation i finally d/led wamp

                              i love it, i loaded the zip, curl, imap and gd extensions in about ten clicks 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)

                              Comment

                              Working...
                              X