php scripts

PHPMaster.com: Introduction to PhpDoc

PHPDeveloper.org  Tue, 01/10/2012 - 10:07

On PHPMaster.com today there's a new post from Moshe Teutsch about working with docblock comments in PHP scripts and how to use the phpDocumentor tool to generate the documentation from them.


 

Make php-fpm execute arbitrary PHP scripts via socket - Pavel Sh...

Planet PHP  Sat, 10/22/2011 - 03:01

We are using APC cache very heavily in our projects and during project deployment the cache must be flushed and warmed up.

A common solution to warmup the APC cache is to fetch some special page via HTTP which does the job. The problem with this approach is that it’s not reliable enough when PHP [...]


 

How to enable Xdebug in WebMatrix - Ruslan Yakushev

Planet PHP  Fri, 02/18/2011 - 13:07

Xdebug is a very popular PHP extension that helps with debugging and profiling of PHP scripts by providing a lot of valuable debug information. Microsoft WebMatrix is a development tool for building web applications.

When WebMatrix is used to build or modify a PHP-based web application the debugging tasks can be greatly simplified if Xdebug extension is used.

This post explains how to install and use Xdebug extension with WebMatrix.


 

Thumbnailers: configure with caution - Paul Reinheimer

Planet PHP  Mon, 01/03/2011 - 10:09

You’re indubitably familiar with various php scripts that accept an image, and bounding box as parameters, it then resizes the image to fit within the bounding box, returning the output. phpThumb seems to be a popular option.


 

Beware of the default Apache 2 config for PHP - Ilia Alshanetsky

Planet PHP  Mon, 08/30/2010 - 12:52

About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache.

It seems that a number of distros including Gentoo (which is what I was using) are using the following configuration directive to make the PHP module parse PHP files:

<IfModule mod_mime.c>
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
</IfModule>


 

SitePoint PHP Blog: Debug PHP with Firebug and FirePHP

PHPDeveloper.org  Tue, 02/09/2010 - 09:13

bOn the SitePoint PHP blog today there's a new post showing you how to debug applications with FirePHP (an extension of the popular Fireug extension for Firefox).


 

John Lim's Blog: Updated Optimizing PHP Article

PHPDeveloper.org  Fri, 11/06/2009 - 09:34

John Lim has updated his Optimizing PHP article with some new tips on caching data:


 

Content with Style: Fulltext searches with Xapian and PHP

PHPDeveloper.org  Wed, 11/04/2009 - 08:19

New on the Content with Style blog today there's this tutorial looking at full-text searching combining Xapian and PHP to replace the slower full-text methods in something like a MySQL database.


 

NETTUTS.com: Simple Techniques to Lock Down your Website

PHPDeveloper.org  Mon, 10/05/2009 - 06:54

On NETTUTS.com today there's a new post by Dustin Blake with a few simple tips and helpful techniques to locking down and protecting your website with some simple PHP scripts.