Problem installing SVN PHP extension via PEAR in Mac OS
am 30.03.2008 07:18:37 von VictorHi,
1. I'm a PHP newbie looking for some help with the SVN PHP extension.
I installed the SVN extension in Mac OS 10.5 (Leopard) using the PEAR
command line.
2. Whenever I ran the following code:
#phpinfo();
print_r( svn_ls('http://www.example.com/svnroot/') );
?>
The browser says:
Fatal error: Call to undefined function svn_ls() in /Users/limkl/Sites/
test.php on line 3
When I ran phpinfo(), the SVN extension does not show up under
Additional Modules.
3. I know this is a sign that the installed extension not taking
effect.
Yes, I did remember to restart the built-in Apache using 'sudo
apachectl restart'.
Also, I have doublechecked /etc/php.ini that dynamic loading (DL) is
On and extension=svn.so is added.
4. Question: Does this mean I have to recompile PHP?
Thanks,
Victor