| Author |
Message |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Tue 13 May 2008, 00:13 Post subject:
Which LAMP package to use??? |
|
I have found a few LAMP packages, well not all of them had Apache and I don't mind that, but I would like to have recent version of PHP and MySQL. I don't want to spend much time setting up I just need a development environment minus send mail, that is ready out of the box. Do we have anything like that for Puppy? In the past I have mostly just uploaded my updates and test on the server or used WAMP server (a nice setup for Win$). Anyway any suggestions from anyone who has done PHP development in Puppy would be greatly appreciated.
can8v
If phpMyAdmin was included I would be thrilled. I don't really care if it is lean or not. Dot Pet or sfs doesn't matter either. The most important thing is that PHP 5 or a very late 4 is included.
|
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1690 Location: Germany
|
Posted: Tue 13 May 2008, 05:42 Post subject:
|
|
hi can8v,
just get XAMPP Linux 1.6.6 from http://www.apachefriends.org/en/xampp-linux.html
and follow the instructions on the same site. it should work out of the box.
note: everything you need is in there, but it's big (58 MB packed).
cheers
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
|
Back to top
|
|
 |
growler

Joined: 24 Mar 2008 Posts: 209 Location: Kapiti - New Zealand
|
Posted: Tue 13 May 2008, 20:35 Post subject:
|
|
I've made up a PLAMP - Puppy Linux/Apache/Mysql/PHP squash file that you simply drop in to your /mnt/home directory - run the boot configuration to load lamp-301.sfs on boot then you are away - apache starts on boot the first time out.
Latest versions from Slackware binaries. Runs on 3.01 only - working on an update for Dingo.
htdocs are under /var/www/htdocs and symlinked from /srv/www/htdocs
copy you website under that directory and you are away.
- you need to run mysql_install_db from a terminal window which is the post install script for mysql to initiate the mysql system and test databases.
Reboot or run /etc/init.d/rc.mysqld start and you are away with mysql. You may also wish to review /etc/my.cnf that contains the standard configuration parameters - if you want to run innodb you will need to uncomment the innodb config parameters.
mysql runs as root - and you should change the mysql root password - by default it is blank - see the mysql docs - I removed them from this sfs but the commented online docs are better in any event.
I am not expert on security and I only use this for development.
Thanks raffy the file is at
ftp://ftp.servage.net/sfs_modules/lamp-301.sfs
username: puppy
password: linux
the file is 25Meg - so not such a puppy but there are other files as big here? I took out everything I could including translations - sorry non-english speakers - I don't think there is any compromise on functionality.
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Tue 13 May 2008, 22:44 Post subject:
|
|
| aragon wrote: | hi can8v,
just get XAMPP Linux 1.6.6 from http://www.apachefriends.org/en/xampp-linux.html
and follow the instructions on the same site. it should work out of the box.
note: everything you need is in there, but it's big (58 MB packed).
cheers
aragon |
Everything I need and quite a lot more, as I don't know what anything about perl and number of the applications included. It was however, very easy to install and included everything I had asked about. Additionally the XAMPP interface at http://localhost is pretty handy. This is a nice package despite its huge size (a couple hundred mb installed size). As I learn more and begin to use more of the included languages and applications I probably will not mind the size so much. Also I was very happy to see that GD is included, as I have developed a couple of applications that require it. I will likely use this quite a bit, but may check out growler's sfs first.
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Tue 13 May 2008, 22:56 Post subject:
|
|
| growler wrote: | I've made up a PLAMP - Puppy Linux/Apache/Mysql/PHP squash file that you simply drop in to your /mnt/home directory - run the boot configuration to load lamp-301.sfs on boot then you are away - apache starts on boot the first time out.
|
I have looked at your post for this, but can't find any release notes regarding which packages are included. For example is GD, phpMyAdmin, or Perl included? For a squashed size of 25mb I am thinking there is a little more than just the Apache, MySQL, and PHP. Is the last PHP 4 and 5 included? If not which version(s) are?
Thanks,
Can8v
|
|
Back to top
|
|
 |
growler

Joined: 24 Mar 2008 Posts: 209 Location: Kapiti - New Zealand
|
Posted: Thu 15 May 2008, 00:35 Post subject:
|
|
My squash file includes only:
Mysql 5.0.51
Apache 2.2.8
PHP 5.2.6
no phpMyAdmin sorry - but that is just unziping the latest under the htdocs directory.
A rough estimate of the sizes of the components on disk - after unsquashing ...
The PHP includes the module module and the CGI binary so you can run PHP shell scripts etc outside apache. These are 4 Meg a pop so 8 Meg for PHP binaries alone another 7 Meg for PHP extensions and PEAR - PHP total about 15
mysql is 20Meg on its own
Apache 5Meg + dependences - of cours
25Meg is compact relative to XAMP and the like! But seems greedy when our entire OS is only 85Meg!
It is all configured to run out of the box - you should check
/etc/my.cnf
to make sure all the options you want are installed.
the mysql install script just needs to be run from a command line
#mysql_install_db
Then reboot or
#/etc/init.d/rc.mysqld start
The mysql client programs mysql, mysqldump mysqladmin etc are all there.
The PHP install includes a raft of modules - the gd library is there
/usr/lib/php/extensions/gd.so
but I have commented it out in php.ini
extension=bcmath.so
extension=bz2.so
extension=calendar.so
extension=ctype.so
extension=curl.so
extension=dba.so
extension=dbase.so
extension=exif.so
extension=ftp.so
extension=gettext.so
#extension=gd.so
#extension=gmp.so
extension=iconv.so
extension=ldap.so
extension=mbstring.so
#extension=mhash.so
extension=mysql.so
extension=mysqli.so
extension=openssl.so
extension=pdo.so
extension=pdo_mysql.so
extension=pdo_sqlite.so
#extension=pspell.so
extension=shmop.so
#extension=snmp.so
extension=soap.so
extension=sqlite.so
extension=tokenizer.so
extension=wddx.so
extension=xsl.so
extension=zip.so
extension=zlib.so
You'd need to edit /usr/httpd/php.ini and uncomment the line above.
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Thu 15 May 2008, 18:10 Post subject:
|
|
Growler,
This looks great. I have decided that I am going to keep XAMPP on my desktop and use this on my laptop for a while. While I like some of the additional features offered by XAMPP I am more space conscious on my laptop (mostly because I have a 30gb hd and about 19 of it is storing my photos, pictures, web stuff, etc. . .) Thanks for the post and the work I will provide some feedback sometime down the road after I have had a chance to use it a bit.
Kind regards,
can8v
|
|
Back to top
|
|
 |
growler

Joined: 24 Mar 2008 Posts: 209 Location: Kapiti - New Zealand
|
Posted: Wed 21 May 2008, 01:12 Post subject:
|
|
I updated the 3.01 squash file with all the same components above to work with puppy 4.00 - it needed additional libraries - also noted the gd support did not work in 3.01 so added a library required for this too. The htdocs directory is now under /usr/httpd/htdocs
While I was at it I also added phpMyAdmin latest too.
The resulting lamp-400.sfs is at:
ftp://ftp.servage.net/sfs_modules/lamp-400.sfs
username : puppy
<updated to the new password 2008-06-20>
password: puppylinux
hope this is useful to someone.
Last edited by growler on Thu 19 Jun 2008, 16:36; edited 1 time in total
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Wed 21 May 2008, 10:05 Post subject:
|
|
Well done! Simple and contains everything that most budding developers would want.
_________________ Check out the Puppy WiFi Assistant
http://salis.sutteryuba.com/WiFi.php
The development thread: http://www.murga-linux.com/puppy/viewtopic.php?t=28434
|
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4636 Location: Manila
|
Posted: Thu 22 May 2008, 07:24 Post subject:
LMS |
|
Very nice, growler. I've tested the first sfs (for 3.01) and found it performs well. Now we have a ready sfs for Puppy 4.
Education enthusiasts who use this sfs, please tell us what learning management system (LMS) you are able to run in it. Thanks!
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Thu 22 May 2008, 10:33 Post subject:
|
|
@Raffy
Please post a list of LMSs that you would like to know about and when I complete the Puppy WiFi Assistant I will test and post the results. A thorough review of each is beyond the scope of this thread, but I may go there in a new thread as well.
@Growler
I wrote a couple of scripts for XAMPP and place a desktop icon for starting XAMPP and Firefox (opened to phpMyAdmin and my current projects) This could be a wonderful addition to your sfs that wouldn't take much effort if you are interested I can post my scripts for XAMPP as examples.
_________________ Check out the Puppy WiFi Assistant
http://salis.sutteryuba.com/WiFi.php
The development thread: http://www.murga-linux.com/puppy/viewtopic.php?t=28434
|
|
Back to top
|
|
 |
Phidough
Joined: 18 Jun 2008 Posts: 1
|
Posted: Wed 18 Jun 2008, 10:08 Post subject:
Can't pick up LAMP-400.sfs Subject description: The indicated username and password won't work. |
|
I'm an (old) IT professional who has been playing around with puppy for a while now. I'd like to try some web development and saw this LAMP post (and being a good puppy I had to visit it ). When connecting to the ftp server (using Seamonkey in Puppy-400) I get a 530 error. Can you advise please?
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: Wed 18 Jun 2008, 10:50 Post subject:
|
|
@Growler
The username and password you provided are apparently no longer valid. If you need long term hosting for this package PM me and I can set it up on my server.
can8v
_________________ Check out the Puppy WiFi Assistant
http://salis.sutteryuba.com/WiFi.php
The development thread: http://www.murga-linux.com/puppy/viewtopic.php?t=28434
|
|
Back to top
|
|
 |
hushpuppy
Joined: 31 Dec 2006 Posts: 208
|
Posted: Wed 18 Jun 2008, 12:07 Post subject:
|
|
my watchdog iso contains apache, mysql and php, based on 2.16.
http://doubleburgerbar.com/watchdog/
As far as i'm aware it's the only puppy version to come bundled with all of the above.
There's mysql tools as well.
|
|
Back to top
|
|
 |
growler

Joined: 24 Mar 2008 Posts: 209 Location: Kapiti - New Zealand
|
Posted: Thu 19 Jun 2008, 16:38 Post subject:
|
|
Raffy's ftp server login was changed which was causing the issue with obtaining the sfs module.
The login remains: puppy
The password changed to: puppylinux
Sorry for the angst this caused anyone!
|
|
Back to top
|
|
 |
|