Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: php_svn with PHP 5.2.6 and Apache 2.2.8 |
|
Author |
|
snegoviK
Joined: 11 Jul 2008 Posts: 2
|
Posted: Fri 11 Jul '08 10:09 Post subject: php_svn with PHP 5.2.6 and Apache 2.2.8 |
|
|
Hello,
I am running a WAMP server with version in subj and for some reason I can't get php_svn.dll extension to work. I know this isn't exactly an Apache module... But this forum invites a lot of experienced admins so I thought I might give it a try...
I went through the usual drill of installing the extension by downloading it and copying it to the correct extension directory. I then enabled it by adding "extension=php_svn.dll" to the correct php.ini file, making sure extension_dir is set to the correct directory. Finally, I restarted the server. To my surprise the following error message was given:
php_error_log wrote: | [11-Jul-2008 08:53:59] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/wamp/bin/php/php5.2.6/ext/php_svn.dll' - The specified module could not be found.
in Unknown on line 0
|
Does anybody know what could this be caused by? I wasted my whole day trying to Google for answers but unfortunately to no avail.
It was rather suspicious to find php_svn.dll not to be present with other PECL extensions in the usual binary/installer distribution in PHP download area. I managed to download it from a snapshots archive. Could it be that the current module version isn't complete and doesn't work?
I would appreciate any comments anyone might have on this. |
|
Back to top |
|
snegoviK
Joined: 11 Jul 2008 Posts: 2
|
Posted: Fri 11 Jul '08 10:48 Post subject: |
|
|
Decided to try a quick script in PHP CLI mode:
Code: | <?php
print_r(get_loaded_extensions());
svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, 'mysvn');
svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, 'lol23232');
$meh = svn_checkout('http://52.localhost/svn/test_repo', 'C:\core\masters\webmirror\52svn\sessions\test_session');
var_dump($meh);
?>
|
Output:
Code: | 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] => gd
[26] => mbstring
[27] => mysql
[28] => mysqli
[29] => PDO
[30] => pdo_mysql
[31] => SQLite
[32] => svn <--------- oh?
)
|
Unfortunately, the code seg faults hopelessly after print_r() with error report saying libapr-1.dll is to blame... Oh, well...
This module is something else... |
|
Back to top |
|
|
|
|
|
|