How to add PHP to Hiawatha server?
Recompile PHP with shmop parameter
Hi,
I have installed php with the hiawatha pet.
I need to use shared memory in my PHP program. To use this, I need to compile php with the --enable-shmop parameter in the configure line.
I am terribly new at this, can someone please help
Thanks
I have installed php with the hiawatha pet.
I need to use shared memory in my PHP program. To use this, I need to compile php with the --enable-shmop parameter in the configure line.
I am terribly new at this, can someone please help
Thanks
I need mysql in order to get MythTV working.
I came upon this Hiawatha thread and saw it as one way to get mysql - since neither mysql nor sql show up as available via Puppy Package Manager.
QUESTIONS:
1. What is the best way to get mysql on Puppy Exprimo, please?
2. Is Hiawatha for Puppy an abandoned project?
3. Has something better replaced it?
I came upon this Hiawatha thread and saw it as one way to get mysql - since neither mysql nor sql show up as available via Puppy Package Manager.
QUESTIONS:
1. What is the best way to get mysql on Puppy Exprimo, please?
2. Is Hiawatha for Puppy an abandoned project?
3. Has something better replaced it?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
search xamppedoc wrote:I need mysql in order to get MythTV working.
I came upon this Hiawatha thread and saw it as one way to get mysql - since neither mysql nor sql show up as available via Puppy Package Manager.
QUESTIONS:
1. What is the best way to get mysql on Puppy Exprimo, please?
2. Is Hiawatha for Puppy an abandoned project?
3. Has something better replaced it?
Is this the right way to go?
http://www.apachefriends.org/en/xampp-linux.html#372
http://www.apachefriends.org/en/xampp-linux.htmlPHP install with XAMPP
http://www.asialinux.blogspot.com/
We try so many time to make php code work well with puppylinux, which we had got assistance from puppylinux chat room, so we found XAMPP, which make puppylinux work well.
Where download XAMPP
http://www.apachefriends.org/en/xampp-linux.html#372
Code: Select all
install
cd /folder/where/I/have/xampp
copy xampp-linux-1.7.tar.gz to opt
extract it using this line code: tar xvfz xampp-linux-1.7.tar.gz -C /opt
open an other terminal
and go to /opt/lampp
go to the lampp directory
and type: ./lampp start
for try your php scripts, you must save all it at the htdocs folder inside lampp directory
test:
http://localhost if finish start lampp
(how to create short cut to start xampp)
create script to make a shortcut
#!/bin/sh
cd /
cd opt/lampp
./lampp start
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
I am, of course - absent a PET or SFS - greeted with a problem not covered in the instructions.
After increasing the size of my personal storage file 3-times, rebooting - as required - between each, I finally got almost all the way through when confronted with this:
1. Is there an obvious solution to this problem?
2. Is it really necessary to stuff this in /opt rather than in /mnt/savestuff/xampp and symlink it?
3. The instructions say that the php scripts must all be stored in htdocs in the lampp directory - which would appear to further bloat the size of my personal storage file.
All I needed was a simple PET or SFS to handle the installation of a commonly-needed MySQL database ... sigh.
After increasing the size of my personal storage file 3-times, rebooting - as required - between each, I finally got almost all the way through when confronted with this:
QUESTIONS:gzip: stdin: unexpected end of file
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/encoding/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/encoding/encoding.so
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/encoding/encoding.bs
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/scalar/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/scalar/scalar.so
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/scalar/scalar.bs
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/via/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/via/via.so
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
#
1. Is there an obvious solution to this problem?
2. Is it really necessary to stuff this in /opt rather than in /mnt/savestuff/xampp and symlink it?
3. The instructions say that the php scripts must all be stored in htdocs in the lampp directory - which would appear to further bloat the size of my personal storage file.
All I needed was a simple PET or SFS to handle the installation of a commonly-needed MySQL database ... sigh.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
XAMPP
ANSWERS:edoc wrote:I am, of course - absent a PET or SFS - greeted with a problem not covered in the instructions.
After increasing the size of my personal storage file 3-times, rebooting - as required - between each, I finally got almost all the way through when confronted with this:
QUESTIONS:gzip: stdin: unexpected end of file
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/encoding/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/encoding/encoding.so
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/encoding/encoding.bs
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/scalar/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/scalar/scalar.so
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/scalar/scalar.bs
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/via/
lampp/lib/perl5/5.10.1/i686-linux/auto/PerlIO/via/via.so
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
#
1. Is there an obvious solution to this problem?
2. Is it really necessary to stuff this in /opt rather than in /mnt/savestuff/xampp and symlink it?
3. The instructions say that the php scripts must all be stored in htdocs in the lampp directory - which would appear to further bloat the size of my personal storage file.
All I needed was a simple PET or SFS to handle the installation of a commonly-needed MySQL database ... sigh.
1- yes, install xampp in a location where there is space enough
2- I have expanded xampp to in /mnt/home/opt/ and symlinked
3- Storage location is always setup in .../lampp/etc/httpd.conf, and htdocs is just a default!
http://www.murga-linux.com/puppy/viewtopic.php?p=626761
http://www.murga-linux.com/puppy/viewtopic.php?p=632555
I am afraid that when I saw the LHMP threads, including this one http://murga-linux.com/puppy/viewtopic. ... &start=105 it was unclear if a) it would work with Exprimo, b) if it would build a standalone MySQL.growler wrote:I would have thought the LHMP .pet woulld be the easiest answer
I did many many searches re. "sql", "mysql", etc. for Puppy and came up with confusing, dead-end, or otherwise uncertain results - I wish Puppy resources like this were better indexed - and maintained as to sub-Puppy distro compatibility and active-vs-abandoned status.
Is it possible to uninstall a partially-installed XAMPP without having to chase-down the many files manually?
I'd like things as clean as possible before loading LHMP.
Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
edoc wrote:...Is it possible to uninstall a partially-installed XAMPP without having to chase-down the many files manually?...
Code: Select all
rm -r /opt/lampp # or where ever you have installed
I ran the LHMP....PET
No impact on either the Remote Drive or MythTV apps.
I'm not sure how to check to see if MySQL has been created or what may be wrong.
I have not symlinked anything yet either.
I checked for libssl and found:
/usr/lib/libssl.so
/usr/lib/libssl.so.0.9.7
/usr/lib/libssl3.so.1d
I'm nor sure what to look for or what other steps to take.
WDYT?
No impact on either the Remote Drive or MythTV apps.
I'm not sure how to check to see if MySQL has been created or what may be wrong.
I have not symlinked anything yet either.
I checked for libssl and found:
/usr/lib/libssl.so
/usr/lib/libssl.so.0.9.7
/usr/lib/libssl3.so.1d
I'm nor sure what to look for or what other steps to take.
WDYT?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Does this help?
I tried this:
No idea how to proceed to get things where they will talk to each other; RemoteDroidServer needs it, I think MythTV needs it, but neither sees it.
I tried this:
Then I searched "mysql" and found tons of files.# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
#
No idea how to proceed to get things where they will talk to each other; RemoteDroidServer needs it, I think MythTV needs it, but neither sees it.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
my guess is that your save file was still not big enough for lampp.edoc wrote:Still at a dead-end here ...
You will need to start
Code: Select all
./lampp start
*sigh* Help Please!
Hi all,
As most of us noobs do , I have spent the better part of a week (6 days actually) searching these forums for any information or a simple "how-to" on getting PHP to work. I have hiawatha running (was simple enough once I found out it was already there, just waiting to be used) and it renders html flawlessly.
I have found some things, LAMP for one, but it does not register in any accessible means that I can find. For the most part, the information I find is either (1) Broken links and/or information outdated by a year or more and two or three versions of puppy behind or (2) simply too complicated for a noob such as I to understand and/or just does not seem to function. http://localhost/index.php or http://127.0.0.1/index.php renders only the coded page (i.e. the actual script as it would in an editor), not the page itself.
At this point I'm not even sure if my attempts are working or not. There may be a special directory that the php files need to go? a setting that is turned off that simply needs to be turned on? After installing LAMP, i noticed that no rc.http files were created in /etc/init.d, /etc/hiawatha or any other directory . I assume, therefore, that the pet install - though prompted as complete - did not take.
I am attempting this on two machines - one using Lucid 5.28 and the other using Precise 5.4.3. Both are frugals on an AMD duron with 775 MB ram and 80 GB HDD. both PSF are set at about 30 GB (yea, it took a while) so space should be no issue.
I am thinking about trying the xampp approach once I remove all the LAMP and stuff. Basically, all I need is to be able to run a PHP program on one machine - no need at this point to publish it to the web, just host it on the one machine.
I am new-ish to Puppy and still learning, but have some experience with web servers (though very limited). It seems to me there should be an easy, step-by-step process in which to establish a working php server. especially since the server part is already there. Maybe a simple addition - put it in, turn it on, it works kinda thing?
If someone would be so kind as to provide some insight and/or point me to the most simplest and easly accomplished route, I would be very grateful . Thanks so much!
E
As most of us noobs do , I have spent the better part of a week (6 days actually) searching these forums for any information or a simple "how-to" on getting PHP to work. I have hiawatha running (was simple enough once I found out it was already there, just waiting to be used) and it renders html flawlessly.
I have found some things, LAMP for one, but it does not register in any accessible means that I can find. For the most part, the information I find is either (1) Broken links and/or information outdated by a year or more and two or three versions of puppy behind or (2) simply too complicated for a noob such as I to understand and/or just does not seem to function. http://localhost/index.php or http://127.0.0.1/index.php renders only the coded page (i.e. the actual script as it would in an editor), not the page itself.
At this point I'm not even sure if my attempts are working or not. There may be a special directory that the php files need to go? a setting that is turned off that simply needs to be turned on? After installing LAMP, i noticed that no rc.http files were created in /etc/init.d, /etc/hiawatha or any other directory . I assume, therefore, that the pet install - though prompted as complete - did not take.
I am attempting this on two machines - one using Lucid 5.28 and the other using Precise 5.4.3. Both are frugals on an AMD duron with 775 MB ram and 80 GB HDD. both PSF are set at about 30 GB (yea, it took a while) so space should be no issue.
I am thinking about trying the xampp approach once I remove all the LAMP and stuff. Basically, all I need is to be able to run a PHP program on one machine - no need at this point to publish it to the web, just host it on the one machine.
I am new-ish to Puppy and still learning, but have some experience with web servers (though very limited). It seems to me there should be an easy, step-by-step process in which to establish a working php server. especially since the server part is already there. Maybe a simple addition - put it in, turn it on, it works kinda thing?
If someone would be so kind as to provide some insight and/or point me to the most simplest and easly accomplished route, I would be very grateful . Thanks so much!
E
Re: *sigh* Help Please!
XAMPP is the easiest way: has the whole environment needed to run php (web-server, db engine, mail server and backend, all ready to run) and is a simple "extract somewhere and run it" application.e_mattis wrote:...If someone would be so kind as to provide some insight and/or point me to the most simplest and easly accomplished route...
thanks!
Thanks GustavoYz.
I d/l it and it went in simple and easy! The instructions are well laid out also - even a dummy like me couldn't screw it up too bad
Would have liked to use Hiawatha, but at least it's up and running.
Thanks again!
I d/l it and it went in simple and easy! The instructions are well laid out also - even a dummy like me couldn't screw it up too bad
Would have liked to use Hiawatha, but at least it's up and running.
Thanks again!
mysql in Exprimo?
I need mysql for a weather-related app.
There's tons of discussion about LAMP, Hiawatha, XAMPP, etc.
I see no reference to usage with Exprimo.
Is there a reason not to use these with Exprimo (5x15 is current)?
This is on an old Panasonic Toughbook CF-29 so resources are limited.
There's tons of discussion about LAMP, Hiawatha, XAMPP, etc.
I see no reference to usage with Exprimo.
Is there a reason not to use these with Exprimo (5x15 is current)?
This is on an old Panasonic Toughbook CF-29 so resources are limited.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
edoc,
don't know if you have Exprimo running on the Pana yet, but other than limitations of the hardware, and not knowing much about all this in general, I would think you should have little to no problems.
XAMPP would probably be your best bet - it is really quite simple. Make a back-up and try it ( as I usually do), and good luck! would be interesting to see how it goes for you.
don't know if you have Exprimo running on the Pana yet, but other than limitations of the hardware, and not knowing much about all this in general, I would think you should have little to no problems.
XAMPP would probably be your best bet - it is really quite simple. Make a back-up and try it ( as I usually do), and good luck! would be interesting to see how it goes for you.