Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The Bakery:
LightTPD and CakePHP setup in subdirectories
Jan 18, 2007 @ 16:04:00

In this new tutorial over on The Bakery, Anton Bobrov walks you through a process he discovered to get LightTPD and CakePHP setup in a subdirectory on his site.

I faced the challenge to install CakePHP under LightTPD. All works smoothly as long as I deploy projects in document root of domain. But when I want to setup CakePHP in subdir all goes wrong.

Basically, the tutorial involves changing some configuration options in the lighttpd to help it understand the correct routing for the CakePHP application. He even includes a download of the updates to make a drag & drop upgrade easier.

tagged: lightthpd cakephp framework subdirectory configuration lightthpd cakephp framework subdirectory configuration

Link:

The Bakery:
LightTPD and CakePHP setup in subdirectories
Jan 18, 2007 @ 16:04:00

In this new tutorial over on The Bakery, Anton Bobrov walks you through a process he discovered to get LightTPD and CakePHP setup in a subdirectory on his site.

I faced the challenge to install CakePHP under LightTPD. All works smoothly as long as I deploy projects in document root of domain. But when I want to setup CakePHP in subdir all goes wrong.

Basically, the tutorial involves changing some configuration options in the lighttpd to help it understand the correct routing for the CakePHP application. He even includes a download of the updates to make a drag & drop upgrade easier.

tagged: lightthpd cakephp framework subdirectory configuration lightthpd cakephp framework subdirectory configuration

Link:

ThinkPHP Blog:
Make the download of large files with PHP (and lighty) very easy
Aug 24, 2006 @ 12:45:43

In this new post on the ThinkPHP blog today, there's a look at combining the power of PHP with a feature of the lightthpd web server to make downloading large files a simple task.

Some days ago I stumbled upon an old entry of Jan in lighty's life, called "X-Sendfile". There he explains how to speed up the delivery of (large) files with lighttpd instead of PHP (YES, lighttpd is very fast - for one customer we created an ImageServer with pure lighty that replaced a 4-server-cluster with Apache and now has 1 server with lighttpd (which is boring around at low load). The box makes 180 Mio. requests per month).

He even gives an example of the functionality, showing how a combination of an entry in the web server's config coupled with a simple PHP script can easily send out a large file to anyone nice and zippy.

tagged: lightthpd web server large file download configuration xsendfile lightthpd web server large file download configuration xsendfile

Link:

ThinkPHP Blog:
Make the download of large files with PHP (and lighty) very easy
Aug 24, 2006 @ 12:45:43

In this new post on the ThinkPHP blog today, there's a look at combining the power of PHP with a feature of the lightthpd web server to make downloading large files a simple task.

Some days ago I stumbled upon an old entry of Jan in lighty's life, called "X-Sendfile". There he explains how to speed up the delivery of (large) files with lighttpd instead of PHP (YES, lighttpd is very fast - for one customer we created an ImageServer with pure lighty that replaced a 4-server-cluster with Apache and now has 1 server with lighttpd (which is boring around at low load). The box makes 180 Mio. requests per month).

He even gives an example of the functionality, showing how a combination of an entry in the web server's config coupled with a simple PHP script can easily send out a large file to anyone nice and zippy.

tagged: lightthpd web server large file download configuration xsendfile lightthpd web server large file download configuration xsendfile

Link:


Trending Topics: