ts-7000
[Top] [All Lists]

[ts-7000] Re: Installing PHP on TS7250

To:
Subject: [ts-7000] Re: Installing PHP on TS7250
From: "Yan Seiner" <>
Date: Wed, 07 Mar 2007 18:17:51 -0000
--- In  "sathiyan300" <> wrote:
>
> Hey Yan,
> 
>  can you tell me where I could get the source 

http://www.php.net

> and crosscomplier?

I think TS has one on their website.  I also have one:
http://seiner.com/ts7000/index.php/CrossCompileTools

> can you please give me some more info how to install php and any 
> configuration I might need to do?

This is my buildscript for php-4.4.4 (it will most likely not work for
you; you will need to change it):

#!/bin/sh

echo Starting

export OPTIM=-O2
export CFLAGS="-O2 -msoft-float -L$ROOTDIR/$PLATFORM/lib
-I$ROOTDIR/../include"
export CC=arm-linux-gcc
export MING_DIR="../ming-0.3.0/"

make clean

./configure \
        --host=arm-linux \
        --target=arm-linux \
        --build=i686-pc-linux-gnu \
        --with-dom=$ROOTDIR/../src/libxml2-2.6.26 \
        --with-zlib-dir=$ROOTDIR/$PLATFORM/lib \
        --with-ming=$ROOTDIR/../src/ming-0.3.0 \
        --disable-all \
        --enable-session \
        --enable-xml \
        --enable-domxml \
        --enable-sockets \
        --enable-fastcgi \
        --enable-ming \
        --enable-force-cgi-redirect \
        --enable-xcache \
        --with-config-file-path=/etc \
        --prefix=/ \
        --exec-prefix=/bin \
\
&& make \
&& cp sapi/cgi/php $ROOTDIR/$PLATFORM/bin \
&& arm-linux-strip $ROOTDIR/$PLATFORM/bin/php



 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> 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