Page 2 of 38 FirstFirst 123412 ... LastLast
Results 11 to 20 of 376

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

  1. #11
    Join Date
    Mar 2006
    Location
    Toronto, Canada
    Beans
    855

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

    Would that be php 5.1 and mysql 5.1 or php 5.0 and mysql 5.0?

    Does XAMPP install php/mysql from the repositories or from inside the XAMPP package?

    Does phpmyadmin need to be installed separately?
    Last edited by adamkane; August 1st, 2006 at 10:32 AM.

  2. #12
    Join Date
    Jun 2006
    Location
    Texas
    Beans
    3,931
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    Very nice. I got a lamp development server up and running in about an hour. Download time was most of that. It took most of the day when I put a dev server of fendora 5. Now I would like to add the "sweet gtk/python control panel" to a menu. but I guess i will just use the command line till I get that one figured out. It all works Apache, mysql, php, phpmyadmin. You get a from me.
    Last edited by louieb; December 13th, 2007 at 01:06 PM.

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

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

    Crazy huge bold text.

    I updated the XAMPP Control Panel section to hopefully make it easier.
    Peter VK

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

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

    This is what the XAMPP package contains: (Version 1.5.3a)
    From XAMPP website:
    Apache 2.2.2, MySQL 5.0.21, PHP 5.1.4 & 4.4.2 & PEAR + SQLite 2.8.17/3.2.8 + multibyte (mbstring) support, Perl 5.8.7, ProFTPD 1.3.0, phpMyAdmin 2.8.1, OpenSSL 0.9.8b, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.7, gdbm 1.8.0, zlib 1.2.3, expat 1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.3, Webalizer 2.01, pdf class 009e, ncurses 5.8, mod_perl 2.0.2, FreeTDS 0.63, gettext 0.11.5, IMAP C-Client 2004e, OpenLDAP (client) 2.3.11, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.4, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin 0.2, libapreq 2.07, FPDF 1.53, XAMPP Control Panel 0.6
    It installs each one of these into /opt. Nothing is taken from the repos, and nothing in the XAMPP package needs anything outside of the XAMPP package to run. It is a self contained, presetup LAMP stack that just works. Everything listed above is installed, configured, and ready to run.

    adamkane:
    Would that be php 5.1 and mysql 5.1 or php 5.0 and mysql 5.0?
    MySQL 5.0.21
    PHP 5.1.4 and 4.4.2

    Does XAMPP install php/mysql from the repositories or from inside the XAMPP package?
    Inside the package.

    Does phpmyadmin need to be installed separately?
    No. It is installed and ready to run.
    Peter VK

  5. #15
    Join Date
    Jul 2006
    Beans
    78

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

    I install this, and nothing happens when I go to http://localhost

    I get this error

    Code:
    The connection has timed out
    
          
    
          
          
          
    
          
            
            
    
              
    
    The server at 127.0.0.1 is taking too long to respond.
    
            
    
    
            
            
    
    
        *   The site could be temporarily unavailable or too busy. Try again in a few
              moments.
    
        *   If you are unable to load any pages, check your computer's network
              connection.
    
        *   If your computer or network is protected by a firewall or proxy, make sure
              that Firefox is permitted to access the Web.

    When I do a ps -ef I get this, so I see httpd is running
    Code:
    nobody    9986  9945  0 18:47 ?        00:00:00 /opt/lampp/sbin/mysqld --basedir=/opt/lampp --datadir=/opt/lampp/var/mysql --nobody    9988  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9989  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9990  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9991  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9992  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9993  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5

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

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

    Try restarting XAMPP first:
    Code:
    sudo /opt/lampp/lampp restart
    Other then that, there is a Apache Friends forum:
    http://www.apachefriends.org/f/viewf...984ccbbe4184c7

    XAMPP Linux FAQ:
    http://www.apachefriends.org/en/faq-xampp-linux.html

    I'll try to help, but I really don't know much.

    Oh, do you have some form of firewall running? That may be blocking local http. (Port 80)
    Peter VK

  7. #17
    Join Date
    Apr 2006
    Beans
    95
    Distro
    Ubuntu 6.06

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

    I have a question about this. I have a fat32 partition that I would like to have my development websites on. Is this possible to do? I tried creating a soft link in /opt/lampp/htdocs to a folder on the fat32 partition, but it does not seem to do anything...In the directory listing for localhost/ there is only one html file that I put there. (I took out the default files)

  8. #18
    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 don't think it is possible to create a soft link to a fat32 drive. I'm pretty sure its a ext2/3 only thing and cannot span different filesystems.

    What you can do is change the "DocumentRoot" in the httpd.conf file for XAMPP.

    Open a terminal:
    Code:
    sudo cp /opt/lampp/etc/httpd.conf /opt/lampp/etc/httpd.conf.backup
    sudo gedit /opt/lampp/etc/httpd.conf
    Now Scroll down to the line:
    Code:
    DocumentRoot "/opt/lampp/htdocs"
    and change it to point to your fat32 drive. (? "/media/fat32/" ?)

    I'd suggest to point it only to a web subdirectory on the drive as serving up the root of the drive will put all of the files on it onto the webserver and allowing anyone to view them.

    Changing this will make the fancy http://localhost/xampp test stuff stop working. (It is installed into /opt/lampp/htdocs/) Everything else should work.

    Hope that helps.
    Peter VK

  9. #19
    Join Date
    Mar 2006
    Location
    Toronto, Canada
    Beans
    855

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

    Nice.

    Has anyone tried to add new users to mysql through phpmyadmin? Are you able to easily add new users for each database you've
    created?

    Can the XAMPP /opt directories be zipped up whole, and redeployed after a meltdown?

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

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

    From phpmyadmin.net site:

    Features of phpmyadmin:
    manage MySQL users and privileges

    So I'm assuming yes. I haven't tried it, but I'm sure you can do everything with phpmyadmin as it is the best web interface for mysql.

    Backup:
    http://www.apachefriends.org/en/faq-...ux.html#backup
    (The site's a little screwed up, just ignore the "XAMPP runs, but none of the images are shown?" section there, the backup how-to is right after it.)

    According to the above guide all you have to do is keep the original tar.gz XAMPP archive and the xampp-backup-DD-MM-YY.sh file and you should be good. Just reinstall XAMPP and run the sh script to restore the backup.
    Peter VK

Page 2 of 38 FirstFirst 123412 ... 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
  •