coWiki 0.3.4
Current user:   guest   Change Preferences
   List directory   Similar   Print version 
Recover the document ...
 Name:  FAQ
 Ownership:  rw-rw-r-- iezzip users
 Modified:  02 Jan 06, 16:38
 Modified by:  Philip Iezzi (iezzip)
Rev.:  2 (Old)

Pigalle FAQ - frequently asked questions

This is a work in progress. If you have a question that you think would benefit others using Pigalle, please add it to the comments and we will address it in this FAQ.

Pigalle User

How do I use a file extension different to .php (e.g. .php5) ?

As Pigalle is designed to easy run with different file extensions, this is a pretty simple task. You should make sure, though, that you are running Pigalle 0.75-alpha or newer version (currently only available in CVS!), as extension handling was a bit messy in earlier versions.

On a Unix system, use the file renaming script provided with Sourdough, which can be found in sourdough/resources/scripts/ Enter the YaBook root directory and execute it from there. This small Perl-script is preconfigured to change .php extensions to .php5. Open it and change its configuration, if required.

$> cd pigalle/
$> cp private/lib/sourdough/resources/scripts/ .
$> chmod u+x
$> ./

That's almost it! We have now renamed all files to the new extension. The script didn't rename any thirdparty files included in the Sourdough framework, but you don't need to worry about this.

All you need to do now, is to set the new extension in

// Change this if you are using a PHP file extension different to 'php':
define('PIGA_PHPEXT', 'php5');

For Windows users who don't know how to change all their files, either grab some Perl interpreter and run the same script as noted above... or,... hell, there must be tons of filename extension tools around! Let me know if you find a simple one that does the job, is licensed under GPL/LGPL and can be executed from command line.




Home | Pigalle | YaBook | PPhlogger | Sourdough | RSS 1.0 | GEO URL

Driven by coWiki 0.3.4 (Boron) web collaboration tool.