Hello everyone: I would like to know what would be the way to install and configure APACHE, PHP (with Oracle support), and MYSQL on Debian 3.0? Should I get the latest tarball versions of all these and just compile it or should I just get the debian packages and install them? How well do these servers run on Debian? Is there a better distro for them? Thanks in advance for all your help and sorry for all the questions in one post. You input would be apreciated. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
jose sanchez wrote:
Hello everyone:
I would like to know what would be the way to install and configure APACHE, PHP (with Oracle support), and MYSQL on Debian 3.0?
Should I get the latest tarball versions of all these and just compile it or should I just get the debian packages and install them?
I'd go with source files.
How well do these servers run on Debian? Is there a better distro for them?
I'm a RedHat guy myself.
Thanks in advance for all your help and sorry for all the questions in one post.
You input would be apreciated.
My notes on installing apache/mysql/php can be found in my Journal (PhedUp) at http://www.ilug.org have a quality day, E Oh, and it's considered bad etiquette to cross post to lists.
If you want an easy way to install from source, check out apache toolbox. It worries about all the dependencies, and it lets you grab all kinds of 3rd party modules. http://www.apachetoolbox.com/ -Marc -----Original Message----- From: wlug-admin@mail.wlug.org [mailto:wlug-admin@mail.wlug.org] On Behalf Of Eric R. Sent: Tuesday, December 17, 2002 11:08 AM To: jose sanchez Cc: luni@luni.org; wlug@mail.wlug.org; KC Linux; NTLUG-Discuss; NY Linux; STL Subject: [Wlug] Re: Apache, PHP, MySQL on Debian jose sanchez wrote:
Hello everyone:
I would like to know what would be the way to install and configure APACHE, PHP (with Oracle support), and MYSQL on Debian 3.0?
Should I get the latest tarball versions of all these and just compile it or should I just get the debian packages and install them?
I'd go with source files.
How well do these servers run on Debian? Is there a better distro for them?
I'm a RedHat guy myself.
Thanks in advance for all your help and sorry for all the questions in one post.
You input would be apreciated.
My notes on installing apache/mysql/php can be found in my Journal (PhedUp) at http://www.ilug.org have a quality day, E Oh, and it's considered bad etiquette to cross post to lists. _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
What's in debian stable now, gang? You should just be able apt-get them, right? Even "unstable" Debian tends to be more stable than "stable" everything else, if I've heard correctly. Eventually I've got to get a machine to play around with Debian (probably do a dump of knoppix on to the hard-drive), maybe if I make this pvr I'll use Debian as the base. Wes On Tuesday 17 December 2002 10:46 am, jose sanchez wrote:
Hello everyone:
I would like to know what would be the way to install and configure APACHE, PHP (with Oracle support), and MYSQL on Debian 3.0?
Should I get the latest tarball versions of all these and just compile it or should I just get the debian packages and install them?
How well do these servers run on Debian? Is there a better distro for them?
Thanks in advance for all your help and sorry for all the questions in one post.
You input would be apreciated.
===== "An ounce of gold cannot buy an ounce of time." - Anonymous
www.whmicro.com
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- ------ This message may be signed using GPG, for my public key please send me a message with "Key Request" in the subject line.
I recently compiled Apache (with PHP, SSL, Perl) on a Debian box (I downloaded all the sources BTW) and it has been running fine, for the most part. The recent discussions reminded me that I had been having problems with the perl part of the build. Whenever a script is executed, I receive a "500 Internal Server Error" with the following in the logs: [DATE] [error] (2)No such file or directory: exec of /usr/local/apache/cgi-bin/test-cgi failed [DATE] [error] [client IP] Premature end of script headers: /usr/local/apache/cgi-bin/test-cgi The script is actually a stripped down version of my original one (pasted at the end of this email). The permissions are a+rx on the file, the path to perl and the file are correct, the directory is the one defined under ScriptAlias in the httpd.conf and the script executes fine from a prompt, ie 'perl test-cgi'. mod_perl didn't complain about anything and compiled correctly. Does anyone have any ideas about what the problem could be? Thanx in advance for your help! -Malcolm =================== BEGIN FILE #!/usr/bin/perl print "Content-type: text/html \n\n"; print "<HTML>\n"; print "<HEAD>\n"; print "</HEAD>\n"; print "<BODY BGCOLOR=WHITE>\n\n"; print "<BR><BR>\n\n"; print "<CENTER><H3>Form Error</H3></CENTER><BR>\n"; print "<H2>\nErrors were encountered in the following fields:\n"; print "</BODY>\n"; print "</HTML>\n"; =================== END FILE
So this is unusual ... I add 'use strict;' and 'use CGI;' at the top, nothing changes and I still receive the same error. BUT, when they are removed, the script then works fine. WITHOUT changing anything else. Any ideas? On Wed, 18 Dec 2002, Malcolm H. Beaulieu wrote:
I recently compiled Apache (with PHP, SSL, Perl) on a Debian box (I downloaded all the sources BTW) and it has been running fine, for the most part. The recent discussions reminded me that I had been having problems with the perl part of the build. Whenever a script is executed, I receive a "500 Internal Server Error" with the following in the logs:
[DATE] [error] (2)No such file or directory: exec of /usr/local/apache/cgi-bin/test-cgi failed [DATE] [error] [client IP] Premature end of script headers: /usr/local/apache/cgi-bin/test-cgi
The script is actually a stripped down version of my original one (pasted at the end of this email). The permissions are a+rx on the file, the path to perl and the file are correct, the directory is the one defined under ScriptAlias in the httpd.conf and the script executes fine from a prompt, ie 'perl test-cgi'. mod_perl didn't complain about anything and compiled correctly. Does anyone have any ideas about what the problem could be? Thanx in advance for your help!
-Malcolm
=================== BEGIN FILE
#!/usr/bin/perl
print "Content-type: text/html \n\n"; print "<HTML>\n"; print "<HEAD>\n"; print "</HEAD>\n"; print "<BODY BGCOLOR=WHITE>\n\n"; print "<BR><BR>\n\n"; print "<CENTER><H3>Form Error</H3></CENTER><BR>\n"; print "<H2>\nErrors were encountered in the following fields:\n"; print "</BODY>\n"; print "</HTML>\n";
=================== END FILE
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
"Malcolm H. Beaulieu" <pctech@ece.wpi.edu> writes:
I add 'use strict;' and 'use CGI;' at the top, nothing changes and I still receive the same error. BUT, when they are removed, the script then works fine. WITHOUT changing anything else. Any ideas?
Well, does it from the command line fine with both those options? You mentioned that you installed everything from source...I assume you you're not referring to perl as well? Perhaps trying to run the script as the user apache is running as? Do you have the CGI module installed for perl? (isn't it included with the default installation? I forget...) -- Josh Huber
jose sanchez <j_r_sanchez@yahoo.com> writes:
I would like to know what would be the way to install and configure APACHE, PHP (with Oracle support), and MYSQL on Debian 3.0?
Should I get the latest tarball versions of all these and just compile it or should I just get the debian packages and install them?
I would suggest using the official packages in Debian stable, if at all possible. Doing this lets you take advantage of timly security advisories.
How well do these servers run on Debian? Is there a better distro for them?
Not to sound like a broken record, but I think Debian is great, especially for servers which you'd like to set up and "forget" about.
Thanks in advance for all your help and sorry for all the questions in one post.
No problem. I'd recommend looking at the packages page I mentioned in my previous post (http://packages.debian.org/), searching for the servers you'd like to run, and verifying that versions new enough for you are in the stable release. If they're not, I'd still recommend using Debian stable, but rebuilding newer packages (from the unstable tree) for your system. If you need any help with this, feel free to ask. -- Josh Huber
Hi Josh: I don't know if you already received my last post on "installing apache on Debian" but, I am having some problems getting it configured. I would like to know if you can please help me. I already did a search on google.com but didn't get much help. This is what I'm getting when I type ./configure -v --prefix=/usr/apache + Module setenvif: yes cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -lm /usr/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status make: *** [dummy] Error 1 Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to NOT-AVAILABLE + checking for system header files + adding selected modules + using builtin Expat + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The above error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. ======== Error Output for sanity check ======== cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -lm /usr/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status make: *** [dummy] Error 1 ============= End of Error Report ============= Aborting! Thanks in advance. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
On Tue, Dec 17, 2002 at 07:46:01AM -0800, jose sanchez wrote: j_r_sanchez> I would like to know what would be the way to install j_r_sanchez> and configure APACHE, PHP (with Oracle support), and j_r_sanchez> MYSQL on Debian 3.0? Red Hat has this all preconfigured in their packages, to my knowledge. I know definately that Apache, PHP, and MySQL are available. I'm not positive about support for Oracle, but I would be surprised if this wasn't available, given Red Hat's relationship with Oracle. -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
participants (7)
-
Charles R. Anderson
-
Eric R.
-
jose sanchez
-
Josh Huber
-
Malcolm H. Beaulieu
-
Marc Hughes
-
Wes Allen