php_svn.dll with Apache/2.0.63

This is a discussion on php_svn.dll with Apache/2.0.63 within the PHP General forums, part of the PHP Programming Forums category; hi y'all, is there a known issue with php_svn.dll (5.2.1.1) on Apache/2.0.63 (...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-12-2008
Vedanta Barooah
 
Posts: n/a
Default php_svn.dll with Apache/2.0.63

hi y'all,
is there a known issue with php_svn.dll (5.2.1.1) on Apache/2.0.63 (windows
xp sp 2 - 32bit)? i am pretty sure i did configure it well, but for some
reason apache fails to use this extension. the svn extension is usable from
the cli but not via apache. any pointers will be of great help.

Thanks,
Vedanta




##------ source code
<?php
#svn_test.php
// echo "<pre>";
echo "See if extensions are loaded:\n";
print_r(get_loaded_extensions());
echo "List a svn repo:\n";
print_r(svn_ls('http://192.168.101.20/svn'));
?>
##

##------ executed from cli:

See if extensions are loaded:
Array
(
[0] => bcmath
[1] => calendar
[2] => com_dotnet
[3] => ctype
[4] => session
[5] => filter
[6] => ftp
[7] => hash
[8] => iconv
[9] => json
[10] => odbc
[11] => pcre
[12] => Reflection
[13] => date
[14] => libxml
[15] => standard
[16] => tokenizer
[17] => zlib
[18] => SimpleXML
[19] => dom
[20] => SPL
[21] => wddx
[22] => xml
[23] => xmlreader
[24] => xmlwriter
[25] => bz2
[26] => curl
[27] => dba
[28] => dbase
[29] => mbstring
[30] => fdf
[31] => gd
[32] => gettext
[33] => gmp
[34] => imap
[35] => interbase
[36] => ldap
[37] => exif
[38] => mcrypt
[39] => mhash
[40] => mime_magic
[41] => ming
[42] => msql
[43] => mssql
[44] => mysql
[45] => mysqli
[46] => openssl
[47] => PDO
[48] => PDO_Firebird
[49] => pdo_mssql
[50] => pdo_mysql
[51] => PDO_OCI
[52] => PDO_ODBC
[53] => pdo_sqlite
[54] => pspell
[55] => shmop
[56] => snmp
[57] => soap
[58] => sockets
[59] => SQLite
[60] => tidy
[61] => xmlrpc
[62] => xsl
[63] => zip
[64] => svn
)
List a svn repo:
Array
(
[0] => Array
(
[created_rev] => 4
[last_author] => vedanta
[size] => 0
[time] => May 12 11:13
[time_t] => 1210605233
[name] => test
[type] => dir
)

)

### -- executed from web

See if extensions are loaded:
Array
(
[0] => bcmath
[1] => calendar
[2] => com_dotnet
[3] => ctype
[4] => session
[5] => filter
[6] => ftp
[7] => hash
[8] => iconv
[9] => json
[10] => odbc
[11] => pcre
[12] => Reflection
[13] => date
[14] => libxml
[15] => standard
[16] => tokenizer
[17] => zlib
[18] => SimpleXML
[19] => dom
[20] => SPL
[21] => wddx
[22] => xml
[23] => xmlreader
[24] => xmlwriter
[25] => apache2handler
[26] => bz2
[27] => curl
[28] => dba
[29] => dbase
[30] => gd
[31] => gettext
[32] => gmp
[33] => imap
[34] => ldap
[35] => mbstring
[36] => mime_magic
[37] => ming
[38] => mysql
[39] => mysqli
[40] => PDO
[41] => pdo_mysql
[42] => PDO_ODBC
[43] => pdo_sqlite
[44] => shmop
[45] => snmp
[46] => soap
[47] => sockets
[48] => SQLite
[49] => tidy
[50] => xmlrpc
[51] => xsl
[52] => zip
)
List a svn repo:


*Fatal error*: Call to undefined function svn_ls() in
*C:\VEDANTA\WWW\svn_test.php* on line *7*

Reply With Quote
  #2 (permalink)  
Old 05-12-2008
Vedanta Barooah
 
Posts: n/a
Default Re: php_svn.dll with Apache/2.0.63

more on this, i just found out that php_svn.dll does not work with the mpm
version of apache, i did a 'Apache -X' (single process mode) and php_svn.dll
works fine. how do i run it in mpm mode?

- vedanta

On Mon, May 12, 2008 at 1:55 PM, Vedanta Barooah <vedanta.barooah@gmail.com>
wrote:

> hi y'all,
> is there a known issue with php_svn.dll (5.2.1.1) on Apache/2.0.63
> (windows xp sp 2 - 32bit)? i am pretty sure i did configure it well, but
> for some reason apache fails to use this extension. the svn extension is
> usable from the cli but not via apache. any pointers will be of great help.
>
> Thanks,
> Vedanta
>
>
>
>
> ##------ source code
> <?php
> #svn_test.php
> // echo "<pre>";
> echo "See if extensions are loaded:\n";
> print_r(get_loaded_extensions());
> echo "List a svn repo:\n";
> print_r(svn_ls('http://192.168.101.20/svn')<http://192.168.101.20/svn%27%29>
> );
> ?>
> ##
>
> ##------ executed from cli:
>
> See if extensions are loaded:
> Array
> (
> [0] => bcmath
> [1] => calendar
> [2] => com_dotnet
> [3] => ctype
> [4] => session
> [5] => filter
> [6] => ftp
> [7] => hash
> [8] => iconv
> [9] => json
> [10] => odbc
> [11] => pcre
> [12] => Reflection
> [13] => date
> [14] => libxml
> [15] => standard
> [16] => tokenizer
> [17] => zlib
> [18] => SimpleXML
> [19] => dom
> [20] => SPL
> [21] => wddx
> [22] => xml
> [23] => xmlreader
> [24] => xmlwriter
> [25] => bz2
> [26] => curl
> [27] => dba
> [28] => dbase
> [29] => mbstring
> [30] => fdf
> [31] => gd
> [32] => gettext
> [33] => gmp
> [34] => imap
> [35] => interbase
> [36] => ldap
> [37] => exif
> [38] => mcrypt
> [39] => mhash
> [40] => mime_magic
> [41] => ming
> [42] => msql
> [43] => mssql
> [44] => mysql
> [45] => mysqli
> [46] => openssl
> [47] => PDO
> [48] => PDO_Firebird
> [49] => pdo_mssql
> [50] => pdo_mysql
> [51] => PDO_OCI
> [52] => PDO_ODBC
> [53] => pdo_sqlite
> [54] => pspell
> [55] => shmop
> [56] => snmp
> [57] => soap
> [58] => sockets
> [59] => SQLite
> [60] => tidy
> [61] => xmlrpc
> [62] => xsl
> [63] => zip
> [64] => svn
> )
> List a svn repo:
> Array
> (
> [0] => Array
> (
> [created_rev] => 4
> [last_author] => vedanta
> [size] => 0
> [time] => May 12 11:13
> [time_t] => 1210605233
> [name] => test
> [type] => dir
> )
>
> )
>
> ### -- executed from web
>
> See if extensions are loaded:
> Array
> (
> [0] => bcmath
> [1] => calendar
>
> [2] => com_dotnet
> [3] => ctype
> [4] => session
> [5] => filter
> [6] => ftp
> [7] => hash
> [8] => iconv
> [9] => json
> [10] => odbc
> [11] => pcre
>
> [12] => Reflection
> [13] => date
> [14] => libxml
> [15] => standard
> [16] => tokenizer
> [17] => zlib
> [18] => SimpleXML
> [19] => dom
> [20] => SPL
>
> [21] => wddx
> [22] => xml
> [23] => xmlreader
> [24] => xmlwriter
> [25] => apache2handler
> [26] => bz2
> [27] => curl
> [28] => dba
> [29] => dbase
>
> [30] => gd
> [31] => gettext
> [32] => gmp
> [33] => imap
> [34] => ldap
> [35] => mbstring
> [36] => mime_magic
> [37] => ming
> [38] => mysql
> [39] => mysqli
>
> [40] => PDO
> [41] => pdo_mysql
> [42] => PDO_ODBC
> [43] => pdo_sqlite
> [44] => shmop
> [45] => snmp
> [46] => soap
> [47] => sockets
> [48] => SQLite
>
> [49] => tidy
> [50] => xmlrpc
> [51] => xsl
> [52] => zip
> )
> List a svn repo:
>
>
> *Fatal error*: Call to undefined function svn_ls() in *C:\VEDANTA\WWW\svn_test.php* on line *7*
>
>
>
>
>
>
>



--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah
YM! - vedanta2006
Skype - vedanta2006

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:50 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0