Hello..
I've got a question regarding my PHP4 (PHP 4.3.10-2)installation.
Directly after installing PHP4 on my system, I wrote a quick test page to make sure php was working, and it is.
Then, I tried to install a script that i've previously written and i'm getting an error reguarding the include_path. So far, i can do whatever I need with PHP... except use the include() function! 🙁
here's the error i'm getting
Warning: Unknown(/var/www/apache2-default/tagit2beta/index.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/var/www/apache2-default/tagit2beta/index.php' for inclusion (include_path='.:/usr/share/php') in Unknown on line 0
within index.php i'm trying to include a file that defines some mysql database info (username pass host.. etc.)
I was told to try this via a command line:
php -i | grep 'include_path'
which output this:
include_path => .:/usr/share/php:/usr/share/pear => .:/usr/share/php:/usr/share/pear
I'm just kind of curious why I can't use the include function.. anyone know how I can resolve this problem?