
March 14th, 2007, 05:14 PM
|
|
|
|
Join Date: Apr 2007
Location: Henderson, Nevada USA
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
#! Shebang Alternative, Not File Type
I am using a portable Apache server 2.2.3 (server on flash). I am running PHP 5.2.1 on flash.
If I use a shebang (#!). in every .php file, all run well plugged into a windows box.
But I do not want to place a shebang in every .php file or have to configure a windows file type for PHP every time I plug in the flash.
Is there a way to have the Apache server via httpd.conf or an .htaccess file, find the .php executable. Like a global ‘#!php.exe’ in the apache config file instead every php file.
Thanks.
Gary.
|