SlackwareThis Forum is for the discussion of Slackware Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I need help installing Apache 2.0.48, PHP 4.3.4 and MySQL 4.0.17. I also have the latest version of ModPerl, but if no one can help me with that, it's ok.
So basically I need someone to give me a short introduction for this. I have seached here, and everything I found is for Apache 1.* or PHP 4.2.* or MySQL 3.* and I know the install is different.
If someone could help out this total newb, or give a link to a really good, really detailed tutorial it would be great!
Then I updated the Apache 2.0 httpd.conf file, per the PHP instructions, and everything "just worked".
The above doc should be sufficient to get you started. Additionally, EACH of the tarballs you downloaded should have README and INSTALL files you should read for last minute updates or other pertinent info.
hi ^^
first of all: use apache 1.3.29...
the 2.* series isn't yet mature enough, and php only has _experimental_ support for the apache 2 series...
you can use the slackware packages for apache (http://www.slackware.com/pb/search.p...&string=apache) and MySQL (http://www.slackware.com/pb/search.p...t&string=mysql), since they are perfect...
for PHP: you have to compile it yourself to get a 'usable' version...
tell me if you need further assistence with that....the first compile is somehow...well....
for Perl: You don't actually need mod perl, the slack Perl package is sufficient, you need to configure apache so it handles Perl scripts the right way.
look up the manual on the AddHandler and Action directives...
regards
update:
-------------------------
here's a hint for compiling php. it's ment to be a hint, and it's optimized for my needs, with almost every funtionality available enabled.
here is the list of libs that I download and compile from source. you will most likely have most of them installed already, but I advice you to compile them from source since I noticed some problems with basic packages like bzip2 if you don't.
please notice that the order in which you compile the packages is somehow relevant, and you may wan't to follow the order in which they are listed.
also do a ./configure --help for each lib (if it's got a autoconf build system) ans see if there is a option to specify the location for libiconv, if yes __you must point to the prefix that you installed libiconv to__.
here's the configure line I use (not for the production envoironment ^^):
The easiest way to get Apache 1.3.29, PHP 4.3.4 and MySQL installed is:
1. Install MySQL, which sounds like you already have.
2. Use Apachetoolbox to install the rest. This is really too easy to do, if you do not have a package which you want to install (php maybe) it will download and install it for you.
Well, if you decide to go the Apache 1.3.29 route as others have suggested, then use their info. If you want to stick with Apache 2.0.48 (I have no particular feelings on the matter as I've configured Apache 1.3.x servers on Linux in the past as well), then we can find out how and where you got Apache installed.
I really would like to go the Apache 2.0.48 route... Its just that all the servers will someday be upgrading to that, and I might as well be prepared.
So.. I am still at the error messages above - any ideas? I don't have anything on this computer, should I just do a reinstall of Slackware except without MySQL, PHP and Apache?
Originally posted by drews I really would like to go the Apache 2.0.48 route... Its just that all the servers will someday be upgrading to that, and I might as well be prepared.
So.. I am still at the error messages above - any ideas? I don't have anything on this computer, should I just do a reinstall of Slackware except without MySQL, PHP and Apache?
Ok, how about this. Send me e-mail at: tomdkat@comcast.net and we can get this resolved offline. Then when you're up and running we can post the solution in this thread for archival purposes. Fair enough?
i also got problems with installing php with MySQL 4.0.17 and apache2.0.48,
i mean, it intsalls alright, mysql and apache work without a problem, i even added the php conf to the httpd conf file, but when i try to turn apache on...
root@slack:/usr/local/apache2/bin# ./apachectl restart
Syntax error on line 1072 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration
the only way to make it work is to # this line:
AddModule mod_php4.c
and when i do, everything seems to be fine
(Apache/2.0.48 (Unix) PHP/4.3.4 Server at leniu.sytes.net Port 80)
but PHP just does not work, when i try to open any php file, it opens it as if it was a txt file... i reinstalled it 3 times already using different tutorials, but i either get stuck on the addmodule line, or loadmodule, which now seems to be working fine...
am i missing something, or is it just apache2's fault?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.