OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: omro on May 10, 2005, 10:33:57 am
-
Hi All,
I'd like to put Apache, PHP & MySQL on my soon to be arriving new C-1000.
Are there ipk's that will work for this model?
Thanks,
Owen
-
Check the Cacko 3k feedback thread. There are working PHP and MySQL packages there.
-
Will those work with the version of Qtopia that comes with the Zaurus?
-
I've specifically tested those ipks on an 860 and a 3000. They should run just fine on a 1000. Grab them at http://www3.telus.net/~ranko (http://www3.telus.net/~ranko)
-
seeing as how all of those are background apps, you shouldn't have any issues with QTopia.
the MySQL packages have had a couple of permissions hiccups with stock Zs (the Z runs as zaurus as opposed to root) but it isn't too difficult to figure out.
-
I hope not, I was always happy to tinker with my old Z, but always found things that didn't occur to my brain that easily to be a little ... frustrating. However, this forum was always a useful place to ask!
-
I installed Apache and PHP from the link above. No sign of MySQL though, any good links for that?
I am having a problem when I try and start apache.
# ./httpd start
fopen: Permission denied
httpd: could not open error log file /home/www/logs/error_log.
I've missed something simple haven't I? :-(
-
Both packages are linked in that thread.
Grab them from: http://www3.telus.net/~ranko (http://www3.telus.net/~ranko)
Once installed, go to the command prompt and change to the root user (su).
apachectl start
mysqlstart
-
apache-1.3.27-php-4...> 06-May-2005 05:18 1.9M
dig_9.2.1_arm.ipk 26-Apr-2005 20:28 390k
mtr_0.51_arm.ipk 26-Apr-2005 20:28 17k
ncftp_3.1.5-c3k-1_ar..> 26-Apr-2005 23:42 403k
opera_7.55.6079-c3k-..> 27-Apr-2005 01:28 2.4M
pdaarmy.JPG 27-Apr-2005 03:01 854k
scrn001.jpg 27-Apr-2005 03:43 52k
scrn002.jpg 27-Apr-2005 03:43 52k
scrn003.jpg 27-Apr-2005 03:43 49k
themobilecorps.JPG 27-Apr-2005 03:02 521k
traceroute_1.4a12-1_..> 26-Apr-2005 20:28 10k
z-work-area.JPG 27-Apr-2005 00:18 870k
Am I being blind? But I can't see MySql in the above that's a cut and paste from the link you gave.
-
The apache start command worked though :-)
It's a different command to the ones in the howtos
-
Ok, another little bit of weirdness, I just tried to save a file into the htdocs directory and got the following error:
outfile.open(IO_WriteOnly) : Please investigage the file...
Any ideas?
-
apache-1.3.27-php-4...> 06-May-2005 05:18 1.9M
dig_9.2.1_arm.ipk 26-Apr-2005 20:28 390k
mtr_0.51_arm.ipk 26-Apr-2005 20:28 17k
ncftp_3.1.5-c3k-1_ar..> 26-Apr-2005 23:42 403k
opera_7.55.6079-c3k-..> 27-Apr-2005 01:28 2.4M
pdaarmy.JPG 27-Apr-2005 03:01 854k
scrn001.jpg 27-Apr-2005 03:43 52k
scrn002.jpg 27-Apr-2005 03:43 52k
scrn003.jpg 27-Apr-2005 03:43 49k
themobilecorps.JPG 27-Apr-2005 03:02 521k
traceroute_1.4a12-1_..> 26-Apr-2005 20:28 10k
z-work-area.JPG 27-Apr-2005 00:18 870k
Am I being blind? But I can't see MySql in the above that's a cut and paste from the link you gave.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=79767\"][{POST_SNAPBACK}][/a][/div]
ACK! *pounds head on desk*
Sorry! I never polished and uploaded the MySQL The IPK had a couple of bugs that I haven't worked out - the IPK install says it needs dependancies, but it doesn't. The install still works fine. Secondly, the first time you start MySQL it fails. If you Start, then stop, then start it again, it seems to work fine forever after that.
I'd forgotten all about that. I'll have to add it back to my list of things to do, right along with a properly polished Opera IPK.
-
Thanks!! :-)
That's funny, as long as I wasn't being a bit blind, I'm not very observant!
Do you have any idea why it won't let me save anything into the htdocs directory? Do I need to change the permissions on that directory, if so, how?
-
How are you trying to save into the directory? (What program, etc?) Can you give man an ls -la from the /home/www directory so I can see what permissions you have set? (The IPK works perfectly on my 3000, but I don't currently have a 1k to test on...)
-
I created a file using the Zeditor program recommended in another thread. I attempted to save a file called index.php into the htdocs directory and ended up with the error that I mention earlier.
The permissions for the htdocs directory are:
drwxr-xr-x 3 webautho webautho 0 May 14 10:06 htdocs
-
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
-
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 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.
-
Hi, just seeing if there's been any news about the PHP/Apache/MySQL for the Zaurus
Owen
-
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.
-
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