473,809 Members | 2,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem installing SVN PHP extension via PEAR in Mac OS

Hi,

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:
<?php
#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.s o is added.

4. Question: Does this mean I have to recompile PHP?

Thanks,
Victor
Mar 30 '08 #1
1 2759
On Sun, 30 Mar 2008 Victor <jo********@gma il.comwrote:
Hi,

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:
<?php
#phpinfo();
print_r( svn_ls('http://www.example.com/svnroot/') );
?>
Add the line
require_once 'VersionControl/SVN.php';
At the start of your script, otherwise the functionality won't be available to
you.
See http://pear.php.net/manual/en/packag...ontrol-svn.php for
further examples of it's use.

D.
Mar 31 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4928
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following steps: #1 compiled and installed apache using --prefix=/home/imbeauje/apache. Tested that it works.
3
2014
by: Jan Holland | last post by:
I am trying to install pear on a shared server/host following the instructions from: <http://uk.builder.com/architecture/web/0,39026570,20283197,00.htm> So I made a subdir on my site like: http://www.urlname.urlextension/pear/ to install the pear into by running go-pear.php fromthat subdir "pear"
0
1639
by: Michel P. | last post by:
Hi, I'm trying to install the bcompiler extension, under PHP 5.0.4 / Apache / FreeBSD, but can't finalize the install process... Has anybody allready done it ? I'm using the recommended method (in the file "package.xml", in the .tgz file downloaded from PECL): using Pear ("For install instructions see the manual at pear.php.net").
0
1439
by: metin | last post by:
When I want to install php after the commands ../configure --with-apxs2=/www/bin/apxs --with-mysql and make without any error, when i type make install i have the following error: Installing PEAR environment: /usr/local/lib/php/ Archive_Tar - already installed: 1.3.1 Console_Getopt - already installed: 1.2 Fatal error: Call to undefined method PEAR_Registry::packageinfo() in
3
32444
by: joshua.wehner | last post by:
I can't seem to get PEAR to work, but I think it's installed. Any ideas? phpinfo() says '--with-pear=/usr/local/apache/php-pear' $ which pear /usr/local/bin/pear $ pear list Installed packages: ===================
1
4292
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed. that is certainly not true. I downloaded the http extension from pecl. cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/http
0
1239
by: mchristopher | last post by:
I'm having trouble compiling DOM XML support into PHP 4.4.2 on CentOS 4.3. Everytime I attempt to compile, it spits back this: .... chmod 755 /usr/lib/apache/libphp4.so Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PEAR environment: /usr/local/lib/php/ Archive_Tar - already installed: 1.3.1
1
1661
by: Paul | last post by:
I just installed php 4.4 with apache 2.0 on WIN XP. All is working so far. From: the prompt, I type: go-pear and here's what I get: Loading zlib: ok Using local package: PEAR-stable......ok Using local package: Archive_Tar-stable....ok Using local package: Console_Getopt-stable....ok Using local package: XML_RPC-stable....ok Bootstrapping: PEAR...................(remote) <!DOCTYPE html PUBLIC
3
2800
by: Dhr von der Slahp | last post by:
Hi, Anyone got any clues on how to install the SOAP extension in PHP 5.2.0? Do I have to recompile PHP and then reinstall it, or is it simpler than that? Are there any URLs that explain the situation? Regards,
0
9722
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10643
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.