[CentOS] associate .php file with php

David Thompson thomas at cs.wisc.edu
Mon Aug 22 17:48:53 UTC 2005


"Jeff Stacey" wrote:
>put 
>
>#!/usr/bin/php
>
>at the top of your php script.

...and be sure the file is executable (mode 755 or similar).

Dave Thompson






More information about the CentOS mailing list