How to add PHP to Hiawatha server?
Using with Upup
I've not had a play in any of the woof derivatives yet ... would be interested to learn about your experiences.
I have made a sfs of XAMPP 1.7.1 from the XAMPP site. I changed unchecked the world write permissions of /opt/lampp/etc/my.cnf. Ran /opt/lampp/lampp security to set passwords and all works with no problem, so far.
I have been looking for free filehosting to put the sfs up.
Upup simply worked out of the box with display and wi-fi for me. No adding drivers. Every new Puppy get's better on my Compaq laptop.
I have been looking for free filehosting to put the sfs up.
Upup simply worked out of the box with display and wi-fi for me. No adding drivers. Every new Puppy get's better on my Compaq laptop.
-
- Posts: 8
- Joined: Wed 20 May 2009, 17:15
- Location: GB
growler: apologies for the delay (had been working in Dallas and had no access to the hardware) just to let you know I installed your latest PET.
Everything works a treat for me now even with the original CMS system (PHPFusion).
I disabled the GUI for Puppy to get back some valuable RAM (as this eBox only has 128Mb).
Response time is still great and as an end-user I wouldn't know if the web site was running on the eBox with Puppy or a 1U server with win2k3!
superb stuff. thanks once again.
Everything works a treat for me now even with the original CMS system (PHPFusion).
I disabled the GUI for Puppy to get back some valuable RAM (as this eBox only has 128Mb).
Response time is still great and as an end-user I wouldn't know if the web site was running on the eBox with Puppy or a 1U server with win2k3!
superb stuff. thanks once again.
I have not had any success with Hiawatha. I downloaded the
LAMP-6.14-5.1.34-5.2.9.pet and using the Puppy package manager
installed it to my Puppy 4.2 machine. After installation the Package
Manager informed me that the installation was missing libmcrypt.so.4
This did not sound too serious as I only want the server to check out
the perl scripts for my web site. Whatever I did to the config file I
could not persuade Hiawatha to serve any pages at all! But worse
still Puppy can no longer find my serial modem for the dial-up
internet connection.
I have now had the Puppy package manager remove Hiawatha but Puppy can
still not find my serial modem and I am faced with possibly having to
back up all my stuff and reload Puppy Linux completely from the CD
unless someone can point me to the likely source of the corruption and
suggest a fix.
Meanwhile I am posting this from my antique RISC OS machine into which
I have plugged that same invisible modem. I have been successfully
using WebJames on this old machine for years to check my web page
scripts but I feel that it is time that I made the effort to use more
modern equipment.
--
David Taylor
http://member.eezi.net.au/taylor
LAMP-6.14-5.1.34-5.2.9.pet and using the Puppy package manager
installed it to my Puppy 4.2 machine. After installation the Package
Manager informed me that the installation was missing libmcrypt.so.4
This did not sound too serious as I only want the server to check out
the perl scripts for my web site. Whatever I did to the config file I
could not persuade Hiawatha to serve any pages at all! But worse
still Puppy can no longer find my serial modem for the dial-up
internet connection.
I have now had the Puppy package manager remove Hiawatha but Puppy can
still not find my serial modem and I am faced with possibly having to
back up all my stuff and reload Puppy Linux completely from the CD
unless someone can point me to the likely source of the corruption and
suggest a fix.
Meanwhile I am posting this from my antique RISC OS machine into which
I have plugged that same invisible modem. I have been successfully
using WebJames on this old machine for years to check my web page
scripts but I feel that it is time that I made the effort to use more
modern equipment.
--
David Taylor
http://member.eezi.net.au/taylor
I recompiled Hiawatha 6.16 (latest) and added everything else that growler had already packaged.
Hiawatha - 6.16
mysql -5.1.35
php - 5.2.9
You can get the pet from here:
http://tipsforeveryone.com/downloads/LA ... -5.2.9.pet
Here is the changelog from the Hiawatha website:
Hiawatha - 6.16
mysql -5.1.35
php - 5.2.9
You can get the pet from here:
http://tipsforeveryone.com/downloads/LA ... -5.2.9.pet
Here is the changelog from the Hiawatha website:
Edited The links in this post and the next one were edited as growler had found a problem and has fixed it now.hiawatha (6.16) stable; urgency=medium
* Main configuration file httpd.conf renamed to hiawatha.conf.
* Improved error detecting and logging in php-fcgi.
* RunOnDownload option added.
* Small bugfixes and improvements.
* Bugfix: repeated PIDs in php-fcgi.pid with multiple servers.
* Bugfix: incorrect extended log format.
* Bugfix: crash on too long StartFile in .hiawatha file.
Last edited by prit1 on Sun 16 Aug 2009, 16:34, edited 2 times in total.
Here is another link for downloading the pet.
http://dotpups.de/puppy4/dotpups/Intern ... -5.2.9.pet
(thanks to MU and growler)
http://dotpups.de/puppy4/dotpups/Intern ... -5.2.9.pet
(thanks to MU and growler)
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I compiled hiawatha against dietlibc in case anyone would like to test it
I didn't add the variables for /var and /etc so they are in /opt/diet/ {var,etc}
I also came across this page which looks to be a nice small PHP alternative
http://dev.pedemont.com/libphp/
is there any reason not to use sqlite instead of mysql?
I didn't add the variables for /var and /etc so they are in /opt/diet/ {var,etc}
I also came across this page which looks to be a nice small PHP alternative
http://dev.pedemont.com/libphp/
is there any reason not to use sqlite instead of mysql?
- Attachments
-
- hiawatha-6.16-i486.pet
- statically compiled against dietlibc
- (108.24 KiB) Downloaded 731 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Feeling dense, tlchost wonders why when the pet is loaded that browsing to localhost/index.php nothing shows at all? Running the script in /etc/init.d doesn't solve the problem.prit1 wrote:Here is another link for downloading the pet.
http://dotpups.de/puppy4/dotpups/Intern ... -5.2.9.pet
Go ahead, tell me I missed something obvious like turning on the computer...I'm here to learn.
I got Hiawatha up and running.
As to your question, try opening a terminal and type in
'hiawatha.run start'
You should get a message saying it is already running if indeed it is.
I also found that it uses the index.php file in /root/httpd/hiawatha as default.
Also, you can just open the browser and type http:/localhost/
in the address bar and that will pick up that index.php file.
I even went so far as to dl the source for the files page on puppylinux.ca and if I name it as index.php in the above subdirectory, it loads and displays file.
Also, as another test, with the file in my /mnt/home directory, and having one of the files the page lists there, I was able to download it so to speak to my home directory.
But I should mention that to get hiawatha to start, I had to uninstall and reinstall Lamp.
As to your question, try opening a terminal and type in
'hiawatha.run start'
You should get a message saying it is already running if indeed it is.
I also found that it uses the index.php file in /root/httpd/hiawatha as default.
Also, you can just open the browser and type http:/localhost/
in the address bar and that will pick up that index.php file.
I even went so far as to dl the source for the files page on puppylinux.ca and if I name it as index.php in the above subdirectory, it loads and displays file.
Also, as another test, with the file in my /mnt/home directory, and having one of the files the page lists there, I was able to download it so to speak to my home directory.
But I should mention that to get hiawatha to start, I had to uninstall and reinstall Lamp.
I just tested this again and it works fine for me. Installed it fresh and browse to http://localhost to see the phpinfo page there.
What does this command show?
If Hiawatha is running, one of the lines should contain
if this line is not shown, then Hiawatha is not running. In this case try running hiawatha.run start and let us know the errors (if any) it shows.
What does this command show?
Code: Select all
ps aux | grep hiawatha
Code: Select all
/usr/sbin/hiawatha -c /etc/hiawatha
root 1192 0.0 0.0 1648 564 pts0 R+ 23:16 0.00 grep hiawathaprit1 wrote:I just tested this again and it works fine for me. Installed it fresh and browse to http://localhost to see the phpinfo page there.
What does this command show?Code: Select all
ps aux | grep hiawatha
command not foundprit1 wrote: If Hiawatha is running, one of the lines should containif this line is not shown, then Hiawatha is not running. In this case try running hiawatha.run start and let us know the errors (if any) it shows.Code: Select all
/usr/sbin/hiawatha -c /etc/hiawatha
I'm running Puppy from a bootable USB..could that be the problem?
Looks like the pet never got installed properly.
Can you try running petget from the command line and post any errors?
Also, if a previous version of the LAMP pet was present, try removing that before installing this new one. You can backup any data you had to another directory and restore it later.
Can you try running petget from the command line and post any errors?
Code: Select all
petget LAMP-6.16-5.1.35-5.2.9.pet
/usr/sbin/petget line 1338 25725 Terminatedprit1 wrote: Can you try running petget from the command line and post any errors?Code: Select all
petget LAMP-6.16-5.1.35-5.2.9.pet
/usr/sbin/petget line 1417 25782 Terminated
Does it show any additional errors or warnings at all? This just says that petget is not working on your installation. Otherwise there would be additional information about starting mysql and hiawatha.
Did you download the latest link or from the earlier link? The earlier link had a problem and growler fixed it and I posted the corrected link. Also, do you have enough space on your USB? The pet is 11MB and will expand further when installing.
Did you download the latest link or from the earlier link? The earlier link had a problem and growler fixed it and I posted the corrected link. Also, do you have enough space on your USB? The pet is 11MB and will expand further when installing.
Nope...that's all I got.prit1 wrote:Does it show any additional errors or warnings at all? This just says that petget is not working on your installation.
Not sure which link I used...I will have to retry them one by one.prit1 wrote: Did you download the latest link or from the earlier link? The earlier link had a problem and growler fixed it and I posted the corrected link. Also, do you have enough space on your USB? The pet is 11MB and will expand further when installing.
I have 1.3 gig of space left...I believe that's enough.
Yeah, please try this link. Lets see if this works.
http://dotpups.de/puppy4/dotpups/Intern ... -5.2.9.pet
http://dotpups.de/puppy4/dotpups/Intern ... -5.2.9.pet
Downloaded it....and to be safe, before I installed, I drove to the local Native American Cultural Center and visited with the Shaman. I asked if he could help me with Hiawatha.prit1 wrote:Yeah, please try this link. Lets see if this works.
http://dotpups.de/puppy4/dotpups/Intern ... -5.2.9.pet
Alas, he knows no more than I do...so Hiawatha still don't work, even if the ps aux results were as you stated in a previous smoke signal. I do recall him muttering something about the Apache tribe being held in high regard.
Thom