lighttpd 1.4.18 and PHP 5.2.5

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
rockym93
Posts: 21
Joined: Tue 04 Jul 2006, 08:26
Location: Australia
Contact:

lighttpd 1.4.18 and PHP 5.2.5

#1 Post by rockym93 »

Hi everyone,
Just finished installing a web server on a Puppy computer and I decided to package the server and things I used so that everyone could enjoy them, and also because I was getting annoyed at the lack of up to date server and PHP packages.
The server I've used is lighttpd, since it's smaller and faster than Apache (which fits in nicely with Puppy), and it's pretty easy to set up (there's a really good tutorial here)

Anyway, enough talk.

lighttpd-1.4.18-i486.pet

php-5.2.5-i486.pet
[url=http://rockym93.dnsalias.net/][img]http://rockym93.dnsalias.net/puppy-powered.png[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »


raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

thanks

#3 Post by raffy »

This is most welcome. I've read that PHP5 will be the standard beginning this year, so it's useful to have it ready for Puppy. And a light server - perfect for servers in schools.

BTW, the tutorial link should be:
http://trac.lighttpd.net/trac/wiki/Tuto ... figuration
(some typo there, I guess)
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
mohan34u
Posts: 67
Joined: Wed 14 Nov 2007, 07:22
Contact:

#4 Post by mohan34u »

Thanks,

I waited for PHP5 in puppy and finally I got it...

User avatar
WoodLark
Posts: 142
Joined: Tue 17 Apr 2007, 15:15
Location: South Carolina, USA

#5 Post by WoodLark »

I know this is an old thread, but I just installed lighttpd and php using the .pets in this thread. Whenever I try to run a php page, I get "403 Forbidden". What do I need to do to correct it.

Also, the php installer did not create a php.ini file. Where should this file be.

User avatar
rockym93
Posts: 21
Joined: Tue 04 Jul 2006, 08:26
Location: Australia
Contact:

#6 Post by rockym93 »

Hey,

Which server are you using? It might need to be set up to use PHP properly, and how you do that depends on the server. If it's Lighttpd, there's a setup tutorial in the first post.

Oh, just thought of something else- you might also need to change the permissions or ownership on the .php file you're using. Try chmod 777 [the file name] (but don't leave it like that, for security reasons) or chown [the username the server is running as] [the filename] This is just a vague hunch though. Other than that, got no idea.

As for php.ini, there's a list of where to put it on the php website as well as the options you need. It looks like it might be a server-dependant thing though, because I don't remember having to set one up. I'm a bit of an amateur when it comes to this kinda stuff, so if anyone knows better let me know.

These packages are kinda old, too, you might have better luck compiling some new ones yourself.

Good luck...
[url=http://rockym93.dnsalias.net/][img]http://rockym93.dnsalias.net/puppy-powered.png[/img][/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#7 Post by dejan555 »

Like rocky said, post your webserver, and puppy version too.
Newer puppy builds no more use "nobody" user for webserver, but "webuser" I think, plus, root directory has changed, it's not more ~/httpd but ~/Web-Server, I encountered this errors (well, on older puppies those are good setups :roll: ) while using growlers php/mysql pet on dpup, configuration files for hiawatha and php.ini were different
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
WoodLark
Posts: 142
Joined: Tue 17 Apr 2007, 15:15
Location: South Carolina, USA

#8 Post by WoodLark »

Thanks for the help. The problem was that no php.ini file was created so php went with its defaults. Once I got the php.ini-dist file and figured out where to put it, (/usr/local/lib) then everything worked.

Post Reply