Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Next.... if your a 4 weeker, why not make life easy and install the rpm packages as opposed to compiling, making sure includes are correct, etc.
I took 2 seconds 2 google and found "http://lamphowto.com/". Notice the first large box;
Quote:
You should only be doing a source-based installation if you need to alter settings in one or more components of the LAMP stack (e.g., you need a feature in PHP that isn't in the default RPM). If you are just getting started with LAMP, use the binaries provided by your distribution - it is much simpler, and a lot easier to upgrade later.
actually i have experience installing from source.. what i cant figure out is
1. does it matter whether i install Apache first or PHP or mysql? Is the order important or it just doesnt matter?
2. once i install apache and PHP what do i do to make apache detect PHP? i know i gotta play with httpd.conf but i dont get what i gotta do
Well i use OpenSuSE 10.2
at lamphowto.com they are using apache 1.3 , PHP 4 and mysql 4
i am using apache 2.2.0 , PHP 5 and MySQL 5
does it make any difference that the versions are not same?
hi,
As far I know just follow the steps in that link and add the two lines in httpd.conf as it said then put the php files in the DocumentRoot. I hope that should work. As I haven't used opensuse but I think those settings should be same on all distros.
hi,
As far I know just follow the steps in that link and add the two lines in httpd.conf as it said
Two lines? first would be the AddModule one.. what is the second one?
Quote:
Originally Posted by tanveer
then put the php files in the DocumentRoot. I hope that should work. As I haven't used opensuse but I think those settings should be same on all distros.
which php files do i need to put in the Doc root? do you mean the files I write or the ones included with the php bundle?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.