Home / Software / BSD, Linux, and Unix / Svn + php Web page +apache
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Svn + php Web page +apache  (Read 327 times)
puneetbrar
Topic Starter
Newbie



Posts: 2

Experience: Beginner
OS: Unknown

« on: July 16, 2011, 05:23:17 AM »

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
(
  • => 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 "
";
print_r($value);
print_r($output);
print_r($status);
echo "
";
?>

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
IP logged
Mr-Bisquit
Greenhorn



Posts: 5

Experience: Beginner
OS: Unknown

« Reply #1 on: July 29, 2011, 10:30:12 AM »

Go to the Fedora forums and post this question there. One thing that will be suggested is upgrading your system to the most recent release.
You may also want to join a mailing list dealing with subversion and the use thereof.
IP logged
Pages: [1] - (Top) Print 
Home / Software / BSD, Linux, and Unix / Svn + php Web page +apache « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.099 seconds with 20 queries.