Author Topic: Apache, Php & Mysql On C-1000  (Read 6929 times)

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache, Php & Mysql On C-1000
« Reply #15 on: May 18, 2005, 03:50:10 am »
I have discovered that I can't even copy files into the htdocs directory using the file manager, so something strange is going on.

I can only copy files in there if I'm in the console logged in as SU and even then they won't work properly I get TCP write errors when I try to view them with Netfront.

Any ideas why this might be?

Thanks
Zaurus C-1000

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Apache, Php & Mysql On C-1000
« Reply #16 on: May 18, 2005, 09:56:26 am »
The permissions you posted shows the user able to write to htdocs is webautho or root.  Are you running filemanger as root (tap and hold filemanager icon to change)?  Once you copied the files over as root, then those files would be owned by root.  Did you chown them to webautho or zaurus?
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache, Php & Mysql On C-1000
« Reply #17 on: May 18, 2005, 11:46:47 am »
I tried to copy them with file manager and failed

I went into console and typed SU and then copied them

Then they didn't work when I tried to view them

That's as much as I know.
Zaurus C-1000

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache, Php & Mysql On C-1000
« Reply #18 on: June 13, 2005, 09:41:51 am »
Hi, just seeing if there's been any news about the PHP/Apache/MySQL for the Zaurus

Owen
Zaurus C-1000

undrwater

  • Full Member
  • ***
  • Posts: 232
    • View Profile
    • http://
Apache, Php & Mysql On C-1000
« Reply #19 on: June 25, 2005, 03:55:25 am »
Quote
Hi, just seeing if there's been any news about the PHP/Apache/MySQL for the Zaurus

Owen
[div align=\"right\"][a href=\"index.php?act=findpost&pid=84071\"][{POST_SNAPBACK}][/a][/div]

I don't know if you noticed, but bluedevil gave you  good hint above.

The command he mentioned, chown, changes the ownership of files.  When you moved a file from one place to another as su, those files can be owned by root.  Check the ownership of the files you moved as root...if they're owned by root, apache might have trouble.  Use chown to change those files to look like the others.

Finally, you should be able to run the file manager as root by tap-holding the icon, then selecting the run as root option.

Good Luck.

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Apache, Php & Mysql On C-1000
« Reply #20 on: June 25, 2005, 10:30:00 am »
Thanks for that, much appreciated, but I wasn't asking about how to correct that, I was asking if there had been any general progress i.e. newer versions that perhaps didn't need so much faffing to run. And last time I looked MySQL wasn't available yet for the C1000
« Last Edit: June 25, 2005, 10:30:54 am by omro »
Zaurus C-1000