Fedora Linux Support Community & Resources Center
  #1  
Old 16th April 2004, 06:15 PM
fkzdiceman Offline
Registered User
 
Join Date: Apr 2004
Posts: 1
apache, mysql + php

Hello everyone,

I'm fairly new to LINUX so please excuse my ignorance. I have a box that I am going to install apache, mysql, php and modssl on, but everything I have read seems to recommend using the source instead of rpm. I don't have a problem with this, but it just seems like it would be more of a pain if I have to do upgrades. Can anyone give me the details of the easiest way to have a box configured the way you want it, that is also easy to maintain, update etc...

Thanks!

matt
Reply With Quote
  #2  
Old 16th April 2004, 10:02 PM
ieatlint Offline
Registered User
 
Join Date: Mar 2004
Location: Northern California
Posts: 31
Stable versions of apache, mysql and php are almost entirely bug-free.
While new versions may be released, the new versions offer more functionality and not necessarily security (erhm, unless that is the new feature).
So unless you need something that the new version offers, you won't ever really need to upgrade. Many sites accross the web use old version of Apache. fedoraforum.org uses 1.3.29; ibm.com uses 1.3.26. fedoraforum.org also uses PHP 4.3.3.

This isn't Windows... old versions work fine, and are often more trusted because they're proven to not contain volitile security vulnerabilities.

The only maintainance you'll need is for the actual website content...


If you're new to linux, and your looking to get it working; use the rpms. Using RedHat's setup will be simpler and overall more trustworthy. If you're looking to learn a bit more about linux, or need something in a newer version than the rpm's provide... then play with the source. It's not too complicated.
PHP's install instructions include compiling and installing apache to work with PHP.
Reply With Quote
  #3  
Old 16th April 2004, 10:09 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
The key here is easy to maintain and upgrade. It is a lot easier to use a rpm based package system updated by yum or apt. And this way you get every bug fix in the built versions, without compiling yourself. I never got the hang of building everything.

I'm guessing people compiling want to make some major changes or optomizations. Sometimes you can't find a rpm built for Fedora, or with some special hack.

You can still make changes, like add a custom apache module, with rpm. I recommend it over compiling.
Reply With Quote
  #4  
Old 17th April 2004, 03:12 PM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
Moved to Servers
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #5  
Old 30th April 2004, 02:14 AM
cineburk Offline
Registered User
 
Join Date: Apr 2004
Posts: 8
I'm not sure about modssl, but I would highly recommend checking out the XAMPP installation package by Apachefriends. It was very quick and painless, and I've been very happy with how it works together. It seems to kept up to date fairly well.

It might be a start. You can also get a custom Webmin install, in addition to the custom XAMPP admin program (which includes PHPmyadmin all ready to go as well.)

The info from their site:

Quote:
The distribution for Linux system (tested for SuSE, RedHat, Mandrake and Debian) contains: Apache, MySQL, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, gdbm, zlib, expat, Sablotron, libxml, Ming, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, mcrypt, mhash, Turck MMCache, SQLite and IMAP C-Client.
http://www.apachefriends.org/en/index.html

It's pretty easy to install; just follow their directions. The Webmin install is in "Add Ons". It installs Webmin in German, but you can change it to English in the config options after it's up and running.
Reply With Quote
  #6  
Old 30th April 2004, 06:19 AM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
Quote:
Originally posted by cineburk
I'm not sure about modssl, but I would highly recommend checking out the XAMPP installation package by Apachefriends. It was very quick and painless, and I've been very happy with how it works together. It seems to kept up to date fairly well.

It might be a start. You can also get a custom Webmin install, in addition to the custom XAMPP admin program (which includes PHPmyadmin all ready to go as well.)

The info from their site:



http://www.apachefriends.org/en/index.html

It's pretty easy to install; just follow their directions. The Webmin install is in "Add Ons". It installs Webmin in German, but you can change it to English in the config options after it's up and running.
Yes XAMPP is a great thing, but as it is said on the HP of XAMPP it is meant as a enviroment for developers. It is made that way, that you can make all things not regarding some security barriers. Of course there is an option to make it "safe", but I don't know why, I am sceptical about it. And
fkzdiceman didn't mention why he wants to build a server. For a test-server at home XAMPP is a very great solution yes, but I would never put a XAMPP server on the internet. (maybe I have paranoia )
Reply With Quote
  #7  
Old 6th May 2004, 08:56 AM
achillis Offline
Registered User
 
Join Date: Apr 2004
Posts: 1
It's easy to set up apache+php, but I don't know how to set up php+mysql until now. I tried to use rpm packages and I also installed php-mysql rpm packages. I just got errors like 'unable to connect mysql...' msg. Anyway I will try to compile source code later.
Reply With Quote
  #8  
Old 14th May 2004, 03:20 AM
maleficent Offline
Registered User
 
Join Date: May 2004
Posts: 1
You have started mysql haven't you? (Just checking, no offence meant)

/sbin/service mysql start

Also, remember to open port 3306 if you want to access mysql from another box.
Reply With Quote
Reply

Tags
apache, mysql, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache PHP MYSQL gene0 Using Fedora 9 7th June 2008 04:58 AM
MySQL and Apache? NinjaTails Programming & Packaging 6 21st May 2007 03:56 AM
Apache, PHP and MySQL MickeyMouse Using Fedora 4 4th July 2006 03:58 AM
php, php-mysql, mysql and apache :( computer Servers & Networking 6 23rd August 2005 03:17 AM


Current GMT-time: 04:32 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat