Hi,

# echo "<? phpinfo(); ?>" | php | grep "Configure"
Configure Command =>  './configure' '--target=arm-linux' '--host=arm-linux' '--build=i386-pc-linux-gnu' '--prefix=/usr' '--exec-prefix=/' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share/misc' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-all' '--enable-spl' '--enable-session' '--enable-sockets' '--with-pcre-regex' '--without-pear' '--disable-nls' '--with-openssl=/home/plu/gumstix.1491/build_arm_nofpu/staging_dir' '--enable-cli' '--enable-cgi' '--with-zlib=/home/plu/gumstix.1491/build_arm_nofpu/staging_dir'


You can pick up the WebFileFolder .php from here:

http://sourceforge.net/project/showfiles.php?group_id=47688&release_id=164800

I'm trying to compile the 5.2.2 version on PHP and its build scripts are all messed
up.  So, it'll take some time for me to get an alternate set-up.

Thanks for all the help.


On 8/9/07, Brad House <brad@mainstreetsoftworks.com> wrote:
> php and php-cgi will run fine in some modes, such as in -v and -l.
>
> php-cgi -l index.php
>
> works fine and indicates that there are no syntax errors.
>
> php-cgi index.php  (or php index.php)
>
> hits segmentation error with index.php (WebFileBrowser.php).
> Works fine with a 10-line test.php file.
>

Odd, what's the output of:
echo "<? phpinfo(); ?>" | php | grep "Configure"

Wondering if your php wasn't compiled with --enable-spl, as
if you use Object-Oriented stuff, it will crash without it.

Any chance you could send WebFileBrowser.php so I can see if
mine crashes and possibly debug it?  I've got quite a bit
of php code on my gumstix which works flawlessly....

-Brad

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users