1
edit
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
Note: For Gallery2, you only seem to need to add the hashbang (#!/usr/local/bin/php) to 'install/index.php', 'index.php' and 'main.php'. | Note: For Gallery2, you only seem to need to add the hashbang (#!/usr/local/bin/php) to 'install/index.php', 'index.php' and 'main.php'. | ||
It's important that the hashbang line is the first line in the file and that the second line is the start of the standard php file, e.g. | |||
<nowiki>#!/usr/local/bin/php</nowiki> | |||
<?php | |||
If you have any blank lines between them you'll get an error like: | |||
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /webtree/gallery/install/index.php:3) in /webtree/gallery/install/index.php on line 83 | |||
Oh, BTW, ImageMagick and most of NetPBM is already installed on Redbrick so you won't need those binaries in your account locally. | Oh, BTW, ImageMagick and most of NetPBM is already installed on Redbrick so you won't need those binaries in your account locally. |
edit