ts-7000
[Top] [All Lists]

[ts-7000] Re: Apache+PHP

To:
Subject: [ts-7000] Re: Apache+PHP
From: "Phil" <>
Date: Wed, 16 Aug 2006 06:06:16 -0000
Hi David,

You mentioned that you saw my earlier post regarding cross-compiling 
Apache. Were you able to follow those instructions to get just the 
plain Apache built ok? If so, then adding PHP (from memory) wasn't 
that much harder. If you follow the install docs that come with PHP 
(specifically following the information on building it statically 
into the Apache executable, that's the only way I tried doing it) 
and just apply the same cross compile options as I mentioned in the 
old post, it should get you something that you want.

As for installation, the way I built it produces a single statically 
linked executable file. So all you should have to do it copy 
the "httpd" file from the build directory onto the TS-7250 and run 
it instead on the supplied version. The prefix given in the 
configure command should set it up to use the same directories as 
the original supplied httpd so there shouldn't be much to it.

One thing to note is that because it is one single executable, 
including all the options that you need and PHP, etc. it gets quite 
large.

If you try this, and come back to the group with specific problems 
that you are having, it might be a bit easier to help you.

Cheers
Phil


--- In  "David L. Martin" <> wrote:
>
> I have a TS-7250, and one of my first steps is that I need to get 
Apache
> with PHP running on the board.
> 
> Unfortunately I've have quite a learning curve to overcome, any 
help
> would be appreciated.
> 
> Here are several stumbling blocks I need guidance on:
> 1. While I have a lot Linux development experience, but I have no 
cross
> development exposure.  When compiling source on an x86 platform 
(with
> the tool chain), how does the compiler/linker deal with linking the
> application to the libraries on the target?
> 
> 2. While compiling Apache is fairly straight forward (in a native
> environment), the cross compile issues have me completely stumped.
> How do you install a large package such as this?  Its not like you 
can
> just do a "make install".
> 
> 3. What version of Apache do I use?  I noticed that the board is 
using
> an older version of Apache, and I can't even find documentation on 
how
> to install PHP on this version.
> 
> I figured with PHP being so popular, I'm sure someone has solved 
these
> issues before.  I have seen an old post (#3201), which seems to 
address
> some of these issues, but it doesn't explain the installation or 
PHP
> issues.
>  
> 
> -- 
> David L. Martin
> 
> 
> In a world without walls and fences - who needs Windows and Gates?
>







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU