php - Getting PEAR to work on XAMPP (Apache/MySQL stack on Windows) -
i'm trying install laconica, open-source microblogging application on windows development server using xampp per instructions provided.
the website cannot find pear, , throws below errors:
warning: require_once(pear.php) [function.require-once]: failed open stream: no such file or directory in c:\xampplite\htdocs\laconica\lib\common.php on line 31
fatal error: require_once() [function.require]: failed opening required 'pear.php' (include_path='.;\xampplite\php\pear\pear') in c:\xampplite\htdocs\laconica\lib\common.php on line 31
- pear located in
c:\xampplite\php\pear
phpinfo()
shows me include path.;\xampplite\php\pear
what doing wrong? why isn't pear folder being included?
you need fix include_path
system variable point correct location.
to fix edit php.ini
file. in file find line says, "include_path = ...
". (you can find out location of php.ini running phpinfo()
on page.) fix part of line says, "\xampplite\php\pear\pear
" read "c:\xampplite\php\pear
". make sure leave semi-colons before and/or after line in place.
restart php , should go. restart php in iis can restart application pool assigned site or, better yet, restart iis together.
Comments
Post a Comment