errors running go.pear on windows - cannot write to $pathIni
| From: | Stowe Spivey | Date: | Tue, 09 Nov 2004 19:58:57 +0000 |
| Subject: | errors running go.pear on windows - cannot write to $pathIni | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15408@lists.php.net to get a copy of this message | ||
I am setting up a development environment.
I installed php version 4.3.8 using windows installer. It's
installed at c:\php\. The ini file has:
include_path = ".;c:\php\includes", and I created a directory called
"includes" there to match the ini file.
I then went to go-pear.com and saved it as "go-pear.php". I then
started a command prompt and wen to the directory where go-pear.php
was and ran from the command prompt, php go-pear.php.
The screen scrolled lines and lines of code then stopped with the
code below as errors.
Any ideas of what I need to do? Many thanks for your help.
**********************************************************************WARNING!
I cannot write to $pathIni nor in $prefix/php.ini-gopear. Please
modify manually your php.ini by adding:
$includepath
";
return false;
} else {
fwrite($fh, $newIni, strlen($newIni));
fclose($fh);
echo
"
**********************************************************************WARNING!
I cannot write to $pathIni, but I succesfully created a php.ini
under <$prefix/php.ini-gopear>. Please replace the file
<$pathIni> with <$prefixIni> or modify your php.ini by
adding:
$includepath
";
}
} else {
fwrite($fh, $newIni, strlen($newIni));
fclose($fh);
echo "
php.ini <$pathIni> include_path updated.
";
}
return true;
}
?></PRE></BODY></HTML>
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com