Re: [nottingham] Apache and PHP

From: Mark Ellis (mark@strongbow.net)
Date: Fri 28 Jun 2002 - 02:20:18 BST


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)

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)

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"

Any ideas ?
Anything i can type to show me what modules are working ?

 
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.

Mark

On Thu, 2002-06-27 at 21:57, Graeme Fowler wrote:
> On 27 Jun 2002, Mark Ellis wrote:
> > All i need to know is what to delete so that i can go for a fresh
> > install of it !
>
> login to machine
> cd to source tree
> 'make -n install >> log.txt' or some other file
>
> Open the file, look for where it copies/moves/writes everything to. Delete
> it all.
>
> make distclean / make clean (either or)
>
> ./configure <options> && make
>
> if it builds cleanly...
>
> make install.
>
> Bingo. One nice, clean installation. Plus you already know where
> everything went, so deinstallation is a breeze :)
>
> HTH
>
> Graeme
>
> --------------------------------------------------------------------
> http://www.lug.org.uk http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk http://www.linuxshop.co.uk
> --------------------------------------------------------------------

--------------------------------------------------------------------
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 - 01:21:07 BST