Hello Jason,
Friday, March 11, 2005, 5:06:44 PM, you wrote:
JB> Hi Dmitry,
JB> Dmitry Rybin wrote:
Hello Jason,
Thursday, March 10, 2005, 11:31:09 PM, you wrote:
JB> Dmitry Rybin wrote:
I have error in http-error.log & serweb didnt work.
PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'DB.php' (include_path='.:') in /usr/local/www/sites/vdv-s.ru/sip/data/serweb/html/main_prepend.php on line 38
There is no this file in cvs & tar.
I'm Using: apache-2.0.53 php5-5.0.3_2 php5-mysql-5.0.3_2
JB> You need php-pear.
JB> Regards,
added pear.
php5-5.0.3_2 PHP Scripting Language (Apache Module and CLI) php5-mysql-5.0.3_2 The mysql shared extension for php php5-pcre-5.0.3_2 The pcre shared extension for php php5-pear-5.0.3_2 PEAR framework for PHP php5-xml-5.0.3_2 The xml shared extension for php
Same-Error [client 192.168.12.70] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'DB.php' (include_path='.:') in /usr/local/www/sites/vdv-s.ru/sip/data/serweb/html/main_prepend.php on line 38
JB> You may need to set the include_path then. e.g. On SUSE:
JB> whimsy:~ # locate DB.php JB> /usr/share/php/DB.php JB> whimsy:~ # grep include_path /etc/php.ini JB> ; (directory must also be in include_path or full path must JB> include_path = "/usr/share/php" JB> ;include_path = ".;c:\php\includes"
JB> Hope this helps.
alpha5 ~ $ locate DB.php /usr/local/share/pear/DB.php /usr/local/share/pear/bootstrap/PEAR/DependencyDB.php
alpha5 ~ $ grep include_path /usr/local/etc/php.ini include_path = ".:/php/includes:/usr/local/share/pear/"
Same Error