PHP Source Control Server - php

I there a PHP based source control 'server' that is compatible with SVN clients?
I'd like to host my SVN on my hosting servers, however the current host will not allow me to start any process or install any software

You could try:
http://sourceforge.net/projects/deltaweb

You can have a PHP front end but you will still need to have the SVN server running somewhere.

Not that I know of.
You can look at services like CVSDude.org which provide great SVN hosting that's pretty affordable. They basically specialize in both CVS, and now SVN hosting.

The only PHP-based SVN project I'm aware of is this package that allows PHP to utilize some of the SVN bindings: http://pecl.php.net/package/svn.
As the other answers here have indicated, I don't think you are going to find what you want. A PHP-based SVN server does not appear to exist.
I would suggest finding a different hosting provider for your repositories.

If you want a hosted svn repository and you don't mind using and trusting a 3rd party, try beanstalk, they have a free account and a number of fairly reasonable paid options, considering the management overhead you won't need with them.

Related

lithium framework on shared hosting

Don't want to pay for dedicated server for dev work.
I don't want to run a live apache server.
Is it possible to integrate lithium framework into shared hosting account doc-root?
Sure it's possible.
The only requirement is the version of PHP which should be >= 5.3
The .htaccess shipped with the framework is the only thing needed, to get a shared LAMP stack running with Lithium.
If you're meeting the requirements for Lithium (PHP5.3, etc) there's no reason you'd need anything dedicated.
Per http://li3.me/docs/manual/getting-started/requirements.wiki, the only requirement is PHP5.3. Everything else is gravy.
Command line access and stuff like git should come with any self respecting hosting company's offerings, even the bargain basement ones. Some of the optional modules, like MongoDB, can usually be run on the slightly beefier options (i.e. Dreamhost only allows Mong
Check http://nephtaliproject.com/php53hosts/index.php for a list of known shared hosting companies that support PHP 5.3 (or higher)

Working with small group of developer on PHP projects

Want to work with 4-5 devs over internet on PHP projects.
Question: Is there any with/without central server version control system that will work with Netbeans IDE, Windows 7 and IIS?
Please: don't suggest any third-party servers like bitbucket or git-hub. I don't want to use any paid server or free ones with limited posibilities.
I want to set-up my own server. That's why asking to community
Thanks in advance.
System specs:
Currently My OS is: Windows 7 Ultimate X64 and IDE is Netbeans 7.1.
I personally prefer git. Since I work from a laptop, it allows me to have my own versions, while still reaping the benefits of a centralized repository.
The Windows part was answered in this question.
This should be the thing you're looking for, since git integrates in netbeans 7.1 REALLY well, and is easy to use and master.
cvs and svn are both easy to setup on a server and they have clients for all the platforms mentioned.
We are successfully using gitosis. gitolight might also be an option for small teams but I have not used it. An other option is to set up gitourious, but this might be overkill for you.
Said all that most of this systems are desigend to work on Linux. We are actually running gitosis on a Synology NAS, with 2 developers and about 30 projects.
This post might be interesting for you: Gitosis alternative?
You can use an ssh account and create a github repo that is shared among the members of the team. The limitations are negligible with this approach since you can setup a server yourself.
Take a look at http://www.mindfuzz.net/?p=250 for ideas.
Ok, I decided to make this an answer after all.
VisualSVN is an easy-to-use-and-setup SVN server. Simply download the free version from http://visualsvn.com/server/download and install. Then refer to http://www.visualsvn.com/server/getting-started/ for a few tips to get you started.
You need to make sure that NetBeans supports SVN. This link states it does.
If you want to run your own server, you have many options. I personally like git, and it is quite easy to set up your own server. Check out this chapter of Progit: http://progit.org/book/ch4-0.html
It talks about your options for setting up a git server and has step by step instructions.

Building a CMS in PHP: Development tools

I'm planning to build a CMS in PHP and MySQL, mainly for my own amusement and education. (Though who knows, I may come up with something useful and cool. Anything's possible.) I'll be asking questions about code architecture etc. later. For now, I'm more interested in development tools.
So far, all my playing with code has been done on a web server, and I've edited over FTP. I was thinking it might be quicker to use a localhost. Also, that way, I could use version control (which I've never done before).
So,
A. How do I set up a localhost server with many subdomains on an Ubuntu 9.10 computer. Is XAMPP for Linux the way to go, or should I use a standard Apache distro? (Or another webserver altogether?) For that matter, is it possible to set up more than one webserver on the same computer, and to use them for different localhost subdomains?
B. How do I set up a version control thingy covering all the code (which will be on several subdomains of localhost, and in a few shared folders)? I've read Joel Spolsky's HgInt tutorial, and it makes Mercurial look good. And simple, especially if you're working on your own.
C. Should I continue to use gEdit to write HTML/CSS/JS/PHP, or is there a better free editor out there for these languages?
A. Why would you use XAMPP when installing a LAMP stack is as easy as sudo tasksel install lamp-server? You can add as many domains to the configuration as you want using VirtualHosts for example (well theoretically anyway, in practice the amount will be limited by the available resources), you don't need multiple servers for that.
B. sudo apt-get install mercurial maybe? Of course, how to create a repository and add your projects is up to you - you should read the documentation of Mercurial.
C. Use Eclipse or NetBeans if you're planning to do any serious development work.
I'd recommend against using XAMPP, particularly if you're inexperienced as this would bypass all the package management functionality integrated in Ubuntu (so you need to manually track and apply security changes, if you need extensions not in the XAMPP distro you'll need to compile from scratch, similar for most of the external admin tools which might interact with the Apache install).
Yes - you can have lots of virtual hosts on the same webserver (rcently worked somewhere with 1200 named virtual hosts on each Apache webserver - start up took about 2 seconds rather than 0.5 - but after that you'd never have known the config files were HUGE).
If you're working on your own, then this is about the only scenario where using a distributed version control system offers no benefits over concurrent version control system, and a concurrent version control system offers no benefit over a conventional version control system. But even though it offers no advantage in the technology, it may be of benefit to you to acquire specific product skills.
What editor you use is matter of personal choice. Though personally I would list gEdit in my recommendations (I'd suggest NetBeans or Zend Studio for people who like standalone IDEs, otherwise vim, Eclipse, emacs).
A php documentor is (IMHO) a must (I like phpxref) along with some sort of testing toolkit.
HTH
C.
A: I've used Xampp for Linux successfully on Ubuntu. It's not hard to setup a normal apache installation, but I like the advantage of having a "temporary" web server where the changes are easy to reverse without affecting my normal installation.
If you want subdomains, configure apache to use virtualhosts.
B: I suggest subversion, but VCS is something of a religious issue. It doesn't matter what you use particularly. Once you've made a choice, then research the usage of a VCS.
C: Netbeans is much better than gEdit. That or Eclipse would be my preference. I use Netbeans under Ubuntu myself. A full IDE though will make development much easier than a text editor. Mostly because of code completion/integrated debugger.
I think stackoverflow.com is for programming questions. You'd want to ask those server questions on serverfault.com. Then again, they'd probably ask you to google it. Give it a try.
The editor question is cool. I use Kate, just because it comes with KDE and has syntax coloring.

How can I install xpdf on a Godaddy Linux shared hosting server?

I'm having trouble determining if it's possible, based on the amount of access I have to my Godaddy server, to install XPDF. Could someone shed some light on this?
Here's the link to XPDF.
And here is info about the GoDaddy server.
My goal is to convert PDF's to Plain Text automatically using a PHP script on the server. So far, other solutions like code posted in the comments of the PHP website have been insufficient. All research seems to point to XPDF.
From the information you give, it sounds like it is a shared hosting solution you are using. Typically, you will not be able to install system software on a shared hosting account. I doubt that Go Daddy will install this for you.
You would need to use a hosting solution that includes this software, or rather use a VPS(virtual private server) or dedicated server. Then you will have root access and install any software you like. Unmanaged VPS are not expensive, but you need to take care of backups and software upgrades. If you do not want to manage your server, then maybe find a hosting solution that includes the PHP extension and software you need.
The page you reference does not give detailed information on PHP (phpinfo). With this information, it is possible to determine if you can perhaps do what you are trying to do without xpdf. There is also pdf2text, IIRC.
I installed xpdf and it was a snap. Just followed the instructions that came with the binary distribution then copy the file to the directory of your choice. You can use the php exec() command to do anything that you would with a shell account.

Coding collaboratively for the web

In the past I've done the coding-part of my web-projects mostly by myself. Now, as we are a team working on some project, be it python or php or ..., is there some simple versioning system to use?
My hoster doesn't seem to support any kind of this sort. On the other hand, I feel it is too early to start renting a whole server in this phase of the project just to be able to install a versioning system.
Any simple ideas how to solve this problem?
Try Mercurial. If your hosting has ssh and python support, you can run Mercurial on it.
UPDATE: By the way, you don't need a hosting to run Mercurial - it's distributed and works without any servers. If you still want to have a repository on your hosting server - you can have it if your hoster supports ssh and python
UPDATE: http://bitbucket.org - fantastic mercurial hosting, allows 1 private repository and unlimited public repositories for free
See:
https://stackoverflow.com/questions/59791/free-online-private-svn-repositories
https://stackoverflow.com/questions/146505/can-someone-recommend-a-reliable-cvs-or-svn-hosting-service
https://stackoverflow.com/questions/111292/free-version-control-services
http://github.com
Anonymous Sourcecode Hosting, Repository...
Github and the others are free for open source projects only.
However, Xp-dev is free as in free beer even to commercial ones. http://www.xp-dev.com/

Categories