At 11:55 21/01/2008 +0100, you wrote:
>In order to include php and sqlite bear in mind you have to select those 
>packages in the "make menuconfig" tool.

Sorry, didn't indicate that the error I get is with the stock 0.4.8, not a 
recompiled version of mine*.

===========
pbx www # pwd
/var/www

pbx www # ll
drwxr-xr-x    3 root     root         1024 Mar  2  2007 admin
-rw-r--r--    1 root     root          230 Mar  2  2007 index.html
-rw-r--r--    1 root     root           22 Jan 21 17:52 test.php
drwxr-xr-x    4 root     root         1024 Sep 11 04:41 vm

pbx www # cat test.php
<?php
echo "test";
?>

https://192.168.0.4/test.php
500 Internal Error
Something unexpected went wrong running a CGI program.
mini_httpd/1.19/astlinux 27mar2006

pbx www # mount -o rw,remount /
pbx www # mv test.php ./admin/
pbx www # mount -o ro,remount /

https://192.168.0.4/admin/test.php
500 Internal Error
Something unexpected went wrong running a CGI program.
mini_httpd/1.19/astlinux 27mar2006
===========

Is there a security reason that could explain why I can't run my own PHP 
scripts, but /admin works fine?

Thanks.

* In any case, after a good two hours of compiling, AstLinux from the 
Subversion server failed with the following error:

yacc -d wan_ec_arg.y
make[3]: yacc: Command not found

[EMAIL PROTECTED] ~]# yum install lex yacc bison
[...]
Nothing to do

[EMAIL PROTECTED] ~]# rpm -qa | grep bison
bison-2.3-2.1

[EMAIL PROTECTED] ~]# rpm -ql bison
[...]
/usr/share/bison/yacc.c


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to