LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2004, 10:26 PM   #1
Virtualhate
Member
 
Registered: May 2004
Location: CT
Distribution: SuSE 9.0 Pro
Posts: 38

Rep: Reputation: 15
MySql PhP and Apache


Ok correcct me if I am wrong as I am a linux newbie

Os= Fedora Core 1

to start these programs I log in as root

go to terminal type

service httpd status = to check if it is on or off
service httpd start = to start it if it is off

service mysqld status = to check it
service mysqld start = start it

php = ???? how do i start this ?


next question is, can i add these in a start up file somewhere to do it for me when the computer is turned on ?

and final question now that they are on how do i use them ?
 
Old 05-16-2004, 10:45 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:
php = ???? how do i start this ?
mod_php gets loaded by httpd, you don't have to do it manually.

Quote:
next question is, can i add these in a start up file somewhere to do it for me when the computer is turned on ?
search for information on runlevel, sysv init etc.

Quote:
and final question now that they are on how do i use them ?
how about start by reading the manual?
 
Old 05-16-2004, 10:52 PM   #3
Virtualhate
Member
 
Registered: May 2004
Location: CT
Distribution: SuSE 9.0 Pro
Posts: 38

Original Poster
Rep: Reputation: 15
Manual Dont got one just downloaded it all you are my manual :P
 
Old 05-16-2004, 11:50 PM   #4
sonesay
Member
 
Registered: May 2004
Location: AUCKLAND
Distribution: Fedora core 2 , RH9
Posts: 64

Rep: Reputation: 15
what ever you do dont buy the book mastering php 4.1 its got soo many syntax errors it makes learning php a pain.
 
Old 05-17-2004, 05:08 AM   #5
PaulScott56
LQ Newbie
 
Registered: May 2004
Location: South Africa
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
try creating a file info.php

PHP Code:
<?
php phpinfo
();
 
?>
put this in your web directory and point your browser to it. It will print out all your PHP environment variables for you.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache _ php +mysql rmocius@auste.e Slackware 0 03-02-2004 09:49 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
Apache+Mysql+php c0c0deuz Linux - Software 0 08-14-2003 02:14 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM
PHP, MySQL and Apache miker Linux - Newbie 1 03-27-2002 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration