Page 5 of 38 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 376

Thread: HOWTO: Setup easy web development environment (XAMPP)

  1. #41
    Join Date
    Dec 2004
    Beans
    297

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I hate to sound negative, but I can't recommend this method of getting a development environment up and running unless you absolutely need MySQL 5. In particular, do not under any circumstances be tempted to use XAMPP on a PC that has any ports exposed to the internet unles you're absolutely certain that you know what you're doing. XAMPP is a development tool and should not be used on production boxes.

    The Ubuntu way is to use software out of the repositories wherever possible. That means that you get:

    - automatic security updates
    - secure default settings
    - guaranteed interoperability of software packages
    - an effortless upgrade to Edgy.

    These things are important, and shouldn't be lightly dismissed.

    In Warty, Breezy and Hoary, setting up a LAMP server needed a fair bit of fiddling, but everything is superbly well engineered in Dapper. Just do
    Code:
    sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server phpmyadmin
    and everything will work perfectly.

    I've used XAMPP in Windows, as a WAMP server is a real pig to get running smoothly. But it's really not appropriate for ubuntu.

  2. #42
    Join Date
    Oct 2005
    Location
    Burlington, ON, Canada
    Beans
    104
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I found this:
    https://help.ubuntu.com/community/ApacheMySQLPHP

    Still a little confusing though.

    I'll try it out and possibly write a new how-to using official Ubuntu sources.
    Peter VK

  3. #43
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Quote Originally Posted by petervk View Post
    I found this:
    https://help.ubuntu.com/community/ApacheMySQLPHP

    Still a little confusing though.

    I'll try it out and possibly write a new how-to using official Ubuntu sources.
    Any improvements you can give that page are welcome. Anyone can edit the wiki to improve it.

    And what would really rock is if you could find out all of the ubuntu packages in universe that match Xampp applications and how to install and configure them. I'm certain that the xampp control panel and some artwork is not packaged for Ubuntu, but most of the other tools are.

    The advantage would be that someone could take only the neccessary bits they want from an xampp development environment and put it on a production box more easily that way.

  4. #44
    Join Date
    Aug 2006
    Location
    Online
    Beans
    107
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I really wish I knew how to install an SMTP server.
    This is simply for the use of the PHP mail(); function.
    Maybe someone has a link to a resource for me.
    Play videos on your website - FLV Video Player
    Useful & FREE Scripts -
    Tribulant

  5. #45
    Join Date
    Oct 2005
    Location
    Burlington, ON, Canada
    Beans
    104
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Quote Originally Posted by Contrid View Post
    I really wish I knew how to install an SMTP server.
    This is simply for the use of the PHP mail(); function.
    Maybe someone has a link to a resource for me.
    This may help:
    https://help.ubuntu.com/community/Po...asicSetupHowto

    Still rather complex, and I don't know what you would do for a local computer without a domain name... Maybe set the domain name to localhost? Check it out though. Postfix is a Mail agent, so basically an STMP server.

    Seriously though, this: https://help.ubuntu.com/community/ is a great resource. All of the forum how-tos should be migrated here.
    Peter VK

  6. #46
    Join Date
    Aug 2006
    Location
    Kerry
    Beans
    18
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Setup easy web development environment (XAMPP)

    thanks, its just what i was looking for

  7. #47
    Join Date
    Aug 2006
    Beans
    3

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Thanx for the tut...working on getting things setup now.

    Got xampp installed and openssh installed and now just to download my website from the host its on now and edit it for capitalization errors and set up the picture gallery and the vBullitin and i'm done....yeah...

    Thanx a million..

  8. #48
    Join Date
    Oct 2005
    Location
    Burlington, ON, Canada
    Beans
    104
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Are you using XAMPP to host a public site on your computer? I'd really recommend not using XAMPP to host a publicly accessible site. You should really use the MySQL/apache/php that is included in dapper.

    XAMPP on dapper should only be used for developement.

    If it is for a public webserver you should use this:
    https://help.ubuntu.com/community/ApacheMySQLPHP

    Dapper includes everything that is in the XAMPP package (minus mySQL 5, Dapper has mySQL 4) in the main repo (or on the Dapper server cd) so it is bug tested and supported by Canonical and it the best way to get a full server running.

    Please don't use the XAMPP package for a public webserver. You are just looking for problems and insecurity.
    Peter VK

  9. #49
    Join Date
    Dec 2004
    Beans
    297

    Re: HOWTO: Setup easy web development environment (XAMPP)

    petervk, I'm glad to see that you've updated your how-to to make it perfectly clear that your target audience is developers. XAMPP is an excellent development tool as it installs the entire LAMP stack with the latest MySQL and a few extra useful bits in next to no time. The caveats that I raised a few posts back were purely because I was concerned that XAMPP might be misused to create publicly accessible sites.

    This is now a great how-to and, although I haven't tested it myself, I wholeheartedly endorse what you're trying to achieve.

  10. #50
    Join Date
    Apr 2005
    Beans
    1,344

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I tried to set up XAMPP on my laptop and desktop, following this howto. Laptop works fine, but on the desktop I've got th efollowing error, when try to access http://localhost/myusername/

    Code:
    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
    
    Warning: Unknown: Failed opening '/opt/lampp/htdocs/myusername/index.php' for
    inclusion (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
    any idea what is wrong?
    ASUS K53S Ubuntu 14.04 64-bit
    ASUS U36jc, i5-480M, 2.66GHz, 4Gb, nVidia Optimus Ubuntu 14.04 64-bit
    HP DV6-2113sa, AMD Turion™ II M620, 4Gb, ATI Radeon™ HD 4530 Ubuntu 14.04 64-bit
    ASUS 1015PX Netbook Lubuntu 14.04

Page 5 of 38 FirstFirst ... 3456715 ... LastLast

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
  •