SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot matches's Avatar
    Join Date
    Aug 2006
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is the best way to develop php and ruby on one machine?

    This is a long story so I will make it quick. I had Instant Rails running on my machine. I needed to get a phpbb forum up and running. I have never developed in php so I downloaded xampp to get my forum up and running. Well, that broke Instant Rails. I then realized that Instant Rails comes with php. I got rid of everything and re-installed IR. Now my rails apps work again but I can't seem to get my php apps to see the mySQL that is clearly running. When I try to install phpbb and it checks for the for all its requirements it says there is no mySQL.

    So my question is; can you have php apps run from within Instant Rails? If not what is the best way to get both to work on the same machine?

    Thanks for any help

  2. #2
    SitePoint Addict
    Join Date
    Jan 2006
    Posts
    268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To be honest, I'd take it out of the control of Instant Rails and xampp and install the individual pieces yourself. That way you have full control over your development environment.
    If you give someone a program,
    you will frustrate them for a day;
    if you teach them how to program,
    you will frustrate them for a lifetime.

  3. #3
    SitePoint Zealot matches's Avatar
    Join Date
    Aug 2006
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can I still have it use the apache server with IR or do I have to have two apache servers installed. If so how?

    Thanks for your help

  4. #4
    SitePoint Evangelist
    Join Date
    Feb 2006
    Location
    Worcs. UK
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You only need one Apache server instance. Use Mongrel to pass the files to Apache. Have a look at this guide.

    http://mongrel.rubyforge.org/docs/apache.html

  5. #5
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, do you know of a ruby equivalent for phpbb forum

    Kindly PM me or post a reply here
    Founder,
    Optimimo.com - Mobile Usability Testing
    PilotOutlook.com - Pilot training
    SocialAppsHQ.com - Social Media Marketing

  6. #6
    SitePoint Enthusiast ValPaliy's Avatar
    Join Date
    Sep 2005
    Location
    Nikolaev, Mykolayivs'Ka Oblast', Ukraine, Ukraine
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    matches, I have had similar problems, but it was the other way around - IR broke XAMPP. Got rid of XAMPP, IR works fine with PHP, and it surely supports MySQL as far as I can tell.
    Any opinion stated here is MHO. | http://design.paliy.net.ua/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •