Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 20 Nov 2014, 22:50
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
How to add PHP to Hiawatha server?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 9 [123 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
rextan

Joined: 05 Sep 2009
Posts: 1

PostPosted: 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
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: 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
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: 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
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
growler


Joined: 24 Mar 2008
Posts: 209
Location: Kapiti - New Zealand

PostPosted: Tue 12 Jun 2012, 23:52    Post subject:  

I would havve thought the LHMP .pet woulld be the easiest answer
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2570
Location: Moved from Hosla to www.eussenheim.de

PostPosted: 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
Smile
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2570
Location: Moved from Hosla to www.eussenheim.de

PostPosted: 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
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: 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
Code:
 ./lampp 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
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4384
Location: Southeast Georgia, USA

PostPosted: 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
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 6 of 9 [123 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0891s ][ Queries: 13 (0.0058s) ][ GZIP on ]