This is a discussion on Re: [PHP] omitting the #! within the PHP General forums, part of the PHP Programming Forums category; yeah, your currently running php through cgi on your live server, just install php as a proper module, and you ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
yeah, your currently running php through cgi on your live server, just
install php as a proper module, and you should be good to go. you may also be able to stick a header on every page that includes the #!..... not 100% with this tho, you'll have to have a look into it... ----- Original Message ----- From: "Rob Day" <rday@tsl.state.tx.us> To: "'PHP Users'" <php-general@lists.php.net> Sent: Friday, July 18, 2003 4:49 PM Subject: [php] omitting the #! > First of all, I apologize if I'm asking a question with an obvious answer. > > I do my php development on a Windows 2000 machine. Whenever I move php apps > to the production server I have to add the path to php (#!/usr/bin/php) to > the top of every php file. Is there some way I can configure the Apache or > PHP so that I don't need to do this anymore? The server is Red Hat Linux 9.0 > with Apache 2.0.40 and PHP 4.2.2. Thanks. > -Rob > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > |