Author |
Message |
rextan
Joined: 05 Sep 2009 Posts: 1
|
Posted: Sat 05 Sep 2009, 08:51 Post subject:
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
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Tue 12 Jun 2012, 10:39 Post subject:
|
|
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?
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Tue 12 Jun 2012, 13:03 Post subject:
|
|
edoc 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? | search xampp
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Tue 12 Jun 2012, 15:38 Post subject:
|
|
Is this the right way to go?
Quote: | PHP 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
http://www.apachefriends.org/en/xampp-linux.html#372
Code: |
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 |
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Tue 12 Jun 2012, 19:47 Post subject:
|
|
yes that's it.
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Tue 12 Jun 2012, 22:53 Post subject:
|
|
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:
Quote: | 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
# |
QUESTIONS:
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.
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
growler

Joined: 24 Mar 2008 Posts: 209 Location: Kapiti - New Zealand
|
Posted: Tue 12 Jun 2012, 23:52 Post subject:
|
|
I would havve thought the LHMP .pet woulld be the easiest answer
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Wed 13 Jun 2012, 08:07 Post subject:
XAMPP |
|
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:
Quote: | 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
# |
QUESTIONS:
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. |
ANSWERS:
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
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Wed 13 Jun 2012, 10:02 Post subject:
|
|
growler wrote: | I would have thought the LHMP .pet woulld be the easiest answer |
I am afraid that when I saw the LHMP threads, including this one http://murga-linux.com/puppy/viewtopic.php?t=43285&start=105 it was unclear if a) it would work with Exprimo, b) if it would build a standalone MySQL.
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!
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Wed 13 Jun 2012, 12:31 Post subject:
|
|
edoc wrote: | ...Is it possible to uninstall a partially-installed XAMPP without having to chase-down the many files manually?... |
Code: | rm -r /opt/lampp # or where ever you have installed |
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Wed 13 Jun 2012, 17:12 Post subject:
|
|
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?
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Wed 13 Jun 2012, 19:17 Post subject:
|
|
Does this help?
I tried this:
Quote: | # mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
# |
Then I searched "mysql" and found tons of files.
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.
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Thu 14 Jun 2012, 13:35 Post subject:
|
|
Still at a dead-end here ...
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Thu 14 Jun 2012, 13:47 Post subject:
|
|
edoc wrote: | Still at a dead-end here ... | my guess is that your save file was still not big enough for lampp.
You will need to start so something similar for lhmp pet
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: Thu 14 Jun 2012, 14:14 Post subject:
|
|
I cannot find LHMP anywhere, other than
/root/.packages/LHMP-8.0-5.3.4-5.3.10.files
_________________ Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
|