On Fri, Jun 28, 2002 at 02:33:14AM +0100, Mark Ellis wrote:
> I know bad practice to reply to your own mails but fresh info !
>
> httpd 2.0.39
> Apache 1.3.26
> PHP 4.2.1
Um, that's confusing: httpd is kinda apache: apache provides httpd.
> He says his mistake was installing httpd 2.0.39
Well, yes, that's likely: apache 2 is a very very different beast to
apache 1 and I would doubt that the two would easily coexist unless
you're very careful when setting them up.
> > I have been playing a bit more tonight and done make clean on both
> > installs and run em again..
> >
> > 6. ./configure --prefix=/www --enable-module=so
> > 7. make
> > 8. make install
> > 9. cd ../php-xxx
> > 10. ./configure --with-mysql --with-apxs=/www/bin/apxs
> > 11. make
> > 12. make install
> > (off the PHP home page BTW do nto have mysql installed if that would
> > make a diffrance)
Um, I don't think it will make a difference: when it's being compiled,
if it's going to need anything, it will be header files. There's
definately no requirement for the mysql source, so I can't see therefore
why it would require mysql to be installed anyway.
> > Sorry I am being really lame here but I have never set this up before
> > and never needed to and was told by the person who did he knew how to do
> > it ! (famous last words)
Ha! Yes, I remember having nightmares the first time I tried to patch
apache with SSL and get PHP working too. It's not easy and there are
many points at which you can go wrong. Generally following the
instructions to the letter is a good idea. Apache doesn't use autoconfig
so that can make things even more problematic when things start to go
wrong.
> > I have a script that works on my mandrake box, I have copied that up to
> > the RH server and when I try to access that page it tries to download it
> > every time "application/x-httpd-php"
That means that the server is not interpreting .php as a php file and
passing it to the PHP engine. As a result it's simply sending the page
straight to the browser which doesn't know what to do with it, hence the
"Save As" prompt.
> > Anything i can type to show me what modules are working ?
Yes: httpd -V will show you the compile settings. httpd --help reveals a
few more things to try...
> > And yeah when I get my hands on him I will Kill him :) if one good thing
> > comes of all this I am learning more about linux by the hour.
I think most of us agree that you never learn faster then when you're
desperately trying to fix something that's badly broken!
Good luck,
Matthew
--Matthew Sackman Nottingham England
BOFH Excuse Board: not properly grounded, please bury computer -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------
This archive was generated by hypermail 2.1.3 : Fri 28 Jun 2002 - 18:31:33 BST