Using bitbucket as version control

I feel really asking this, but I've been looking over bitbucket documentation for hours and can't figure out how to work it into workflow. I'm working on a small team (3 of us) doing a php site, and we would like to be able to use bitbucket to version control our code. Ideally we'd have a place to view our working code (ourproject.bitbucket.org) and then see alternate branches at ourproject-branch1.bitbucket.org or something like that -- so we can view our branches and when we are happy with a new branch/version we can just push it to the main one, and, in theory also our actual site host. Is that possible? Or is there a better way to achieve that idea with BitBucket?

2 answers

1 accepted

You're asking "How to make BitBucket serve php pages". This is not possible. It is written on the documentation:

Technical Features and Limitations of this Feature

...

You cannot use PHP or other server-side scripting languages on the site.

Hi Zach, Did my answer help you?

Thanks -- and sorry I wasn't quicker on the response. Your reply definteily answered my question -- thank you!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,737 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you