Hi
I am a linux newbie
and got into a major problem of setting up svn with php and apache
I have the following softwares in my systems
1. Fedora 13
2. Php version 5.2.17
3. Apache Version 2.2
4. svn client version 1.6.16 i can see them in phpinfo.php
5. svn extension version 1.0.1
6. https installed on apache working fine
Php and apache are working fine there are no issues in that as a project is working
Just Now i have installed svn version 1.6 but when i run a command svn info
https://www.someurl.com from command line it works fine i get a message of the revision and its working fine but when the same thing i run from php file or php webpage it gives me the following error
Username: svn: OPTIONS of 'https://someurl/svn/something/something/trunk-new': authorization failed: Could not authenticate to server: rejected Basic challenge (
https://someurl.net)Array
(
[0] => Authentication realm: Subversion Login
[1] => Username: svn: OPTIONS of 'https://someurl.net/svn/something/something/trunk-new': authorization failed: Could not authenticate to server: rejected Basic challenge (
https://someurl.net)
)
1
The php code is here
$cmd = exec("svn info
https://someurl.net/svn/someurl/something/trunk-new |grep Revision: |cut -c11- 2>&1", $output, $status);
echo "<pre>";
print_r($value);
print_r($output);
print_r($status);
echo "</pre>";
?>
i have followed the following
http://vengatctech.wordpress.com/200...svn-on-fedora/
and also googled enough but its not working in php web page
Can somebody help me