View Full Version : shebang line
bluesguy
12-31-2002, 10:08 PM
In setting up phpBB, do you need to add a line like #!/usr/local/bin/php to the setup files?
tstern
01-02-2003, 03:00 AM
In setting up phpBB, do you need to add a line like #!/usr/local/bin/php to the setup files?i didnt, and i'm set up fine.
i've done a lot of work on my phpbb site, feel free to email me with any questions at toby@tstern.com
Anonymoose
05-26-2005, 03:53 AM
You shouldn't. Your Apache web server, or any web server for that matter, should detect PHP code. This is usually done by file extension (.php .php3 etc.), in the httpd.conf. Your web server also needs some binaries to parse the PHP content. Apache, e.g. can be compiled with the PHP libraries in place, or, alternatively, you can use an externally placed php binary, refer to the Apache installation guides, or browse the web for more info.
If you'd add that line in front of your code, the file will be treated as cgi script, and will probably need to be in the cgi-bin directory, which I believe is not supported by phpBB.
In other words, revise your web server configuration/installation.
Powered by vBulletin™ Version 4.0.3 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.