Reply to Problem with Pear - help required!

Your name:

Reply:


Posted by russell.hunter on 02/25/06 04:24

I have pear installed on my web server. The problem is, I can't seem
to get it working!

Whenever I try to call one of the installed packages, for example:

require_once "DB.php";

I get the following error:

Warning: main(): open_basedir restriction in effect.
File(/usr/share/pear/DB.php) is not within the allowed path(s):
(/var/www/vhosts/xentek.co.uk/httpdocs:/tmp) in
/var/www/vhosts/xentek.co.uk/httpdocs/wda2-winestore/index.php on line
19

The value of my phpInfo(); says the following for open_basedir:

open_basedir | /var/www/vhosts/xentek.co.uk/httpdocs:/tmp | no value

This problem seems to be mentioned often when I did a search, but I
could not find any solution!

Please help if possible, I've spent too long already trying to get this
working!

Regards,
--
RH

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация