well, I have 2 php.ini's, /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini, both seem to be the same for include_path. Lemme guess, I need to uncomment something?? root@host;~# grep include_path /etc/php5/apache2/php.ini ; (directory must also be in include_path or full path must ;include_path = ".:/usr/share/php" ;include_path = ".;c:\php\includes" root@host;~#
same thing. I go to: http://localhost/web/base-php4/ and get: Warning: include_once(Mail.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/web/base-php4/includes/base_action.inc.php on line 29 Warning: include_once() [function.include]: Failed opening 'Mail.php' for inclusion (include_path='.:/usr/share/php') in /var/www/web/base-php4/includes/base_action.inc.php on line 29 Warning: include_once(Mail/mime.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/web/base-php4/includes/base_action.inc.php on line 30 Warning: include_once() [function.include]: Failed opening 'Mail/mime.php' for inclusion (include_path='.:/usr/share/php') in /var/www/web/base-php4/includes/base_action.inc.php on line 30 Warning: Cannot modify header information - headers already sent by (output started at /var/www/web/base-php4/includes/base_action.inc.php:29) in /var/www/web/base-php4/base_common.php on line 1077
This is where I reveal the egg on my face. Those files are not found, which makes me think I left something major out. Fri Aug 8 10:03:38 CDT 2008 root@localhost:~# updatedb root@localhost:~# locate Mail.php root@localhost:~# locate mime.php root@localhost:~# date Fri Aug 8 10:03:48 CDT 2008 localhost:~# The only place i divirged from the steps at http://www.howtoforge.com/intrusion-detection-with-snort-mysql-apache2-on-ubuntu-7.10, (I think) is that my version of Base is 1.4.1, which give me a /var/www/web/base-php4 rather than a /var/www/web/base-1.3.8 directory
Glad it helped. Honestly I am not sure if something was missed in the instructions or not as I haven't read them. I was actually helping a friend build out a Snort server this weekend and came across this post while searching for some other info. I had seen this before, so I knew what the problem was.