Hello
I'd like to add my own PHP pages in mini-httpd's data directory, and
then
hopefully, be able to use the stand-alone version of SQLite so I don't need
to recompile PHP from scratch and somehow upgrade AstLinux so that it uses
my expanded version.
However, after booting up from the CF card, vi fails writing a file:
pbx www # mount
/dev/root on / type ext2 (ro,nogrpid)
none on /proc type proc (rw)
none on /dev type tmpfs (rw)
none on /var type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
pbx www # cat /etc/mini_httpd.conf
data_dir=/var/www
user=root
port=443
logfile=/var/log/mini_httpd
pidfile=/var/run/mini_httpd.pid
charset=iso-8859-1
ssl
cgipat=**.cgi|**.php|cgi-bin/*
certfile=/etc/ssl/mini_httpd.pem
pbx www # cd /var/www/
pbx www # ll
drwxr-xr-x 4 root root 1024 Sep 11 04:41 .
drwxr-xr-x 5 root root 1024 Sep 11 04:33 ..
drwxr-xr-x 3 root root 1024 Mar 2 2007 admin
-rw-r--r-- 1 root root 230 Mar 2 2007 index.html
drwxr-xr-x 4 root root 1024 Sep 11 04:41 vm
pbx www # vi test.php
<?php
echo
"test";
?>
~
~
:w!
Write error: Read-only file system
Any idea why AstLinux is keeping me from writing into /var/www?
Thanks.
-------------------------------------------------------------------------
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]