Completely new install

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
User avatar
swirlee
Moderator
Moderator
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Tue Jun 15, 2004 7:14 am

robertd wrote:First question - should I reload this machine with say the server build of Fedora?

Second question - what should I load next and get running? Apache? MySQL? or PHP?

Third question - can you recommend any good books or websites to start my learning process?


Robert, this is quite a big undertaking. Unfortunately I can't help you much with the Linux questions. Chosing a distribution is a big matter of personal taste. Since you're a newbie, though, I'd seriously recommend picking one of the more "user-friendly" distributions like Debian, SuSE or Mandrake. Look around for recent reviews to see what's easiest to manage for newbies.

Concerning Apache, MySQL, and PHP, if you play your cards right, your Linux distribution will have them preconfigured and preinstalled. If not, the usual sequence to install is Apache first, then PHP, and then MySQL. Read the install docs for each of these to decide your best course of action.

Concerning books and web sites, the best web sites are the official ones. http://httpd.apache.org/, http://www.php.net/, and http://www.mysql.com/. I can't recommend a good book, but if I were looking for one I'd just go to Amazon and read the reviews.

I do have one suggestion: Make sure you have a thorough understanding of the basic concepts of PHP before you even look at integrating MySQL with your PHP scripts. Read the PHP documentation all the way through (okay, you can skip some of the function reference, but you shouldn't skip the Array and String functions). Then set aside PHP and learn MySQL. You should know how to do a CREATE TABLE, SELECT (with JOINs), UPDATE, DELETE, and you should at least know what indexes, foreign keys, and normalization are, though starting out an intimate knowledge of those isn't necessary. Once you've got a handle on both PHP and MySQL on their own, you can start putting together database-driven sites. Don't buy a book that starts you on PHP+MySQL in the second chapter. You'd get it eventually, but you'd be in for a lot of frustration along the way.

Anyway, good luck!
Image

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Tue Jun 15, 2004 9:22 pm

buddy

just go the Add/Remove Applications
Go to HTTP servers

Check everything related to Apache, MySQL and PgSQL if you want with PgSQL

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Thu Jun 17, 2004 1:43 am

as a root do this

Code: Select all

/etc/rc.d/init.d/httpd start

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Thu Jun 17, 2004 2:29 am

robertd wrote:OK, I did that - installed Apache, PHP and MySQL ..... now, how do I get Apache to start on the server? After I installed it, I didn't see Apache running as a service or anything. Perhaps I'm missing something? :-o

Thanks
Robert.

use 'top' and look httpd process
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests