On Thursday 15 November 2001 02:30, [EMAIL PROTECTED] wrote:

> Fatal error: Failed opening required 'sql_inc.php3' (include_path
> ='.:/usr/local/lib/php') in
> /usr/local/share/doc/apache/phpboard/index.php on line 24
> (Line 24 is    require $inc_dir . "sql_inc.php3";)

There are three possibilities here:

a) You haven't defined $inc_dir
b) You have defined $inc_dir incorrectly -- remember it needs to be a 
fully qualified path -- something like 
"/usr/local/share/doc/apache/phpboard/"
c) You have defined $inc_dir correctly you're missing the file 
sql_inc.php3.


> phpBoard includes a perl script that you can use to change your
> scripts extensions.  So, if your extensions are .php, you can change
> them to .html, .php3 or even .phtml
>
> When I convert everything to .phtml and point a browser at
> the BBS directory, it lists the file contents of the directory.

Have you set your apache to interpret .phtml files as PHP?

Look for a line in your httpd.conf which is similar to this:

  AddType application/x-httpd-php .php4 .php3 .phtml .php .inc

If .phtml is not there add it and restart apache.

hth
-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Don't make a big deal out of everything; just deal with everything.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to