Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've developed a site in PHP using xampp's Apache and MySQL servers. I didn't keep the prospect of hosting it in AWS in my mind and so I was wondering how much should I change my site to host it on AWS. And I wish to change it as little as possible.
Can someone point me to a definitive guide to AWS site hosting of a php site that's developed for Apache?
Thanks.
So long as your PHP code is well written, it should be pretty portable. There is no definitive guide that I know about for XAMPP->AWS deployments, but you should find it pretty easy to spin up an EC2 instance and test your app before public launch. Is there some aspect in particular that you are worried about in terms of the migration, or is it just a general concern? If it's just a general concern i.e. you just haven't done it before, keep in mind that you can easily destroy and re deploy your AWS server, so I would recommend that you just give it a go and then come back here and post any errors that you run into... also the guys over at https://serverfault.com/ (don't worry, it's affiliated with Stack Overflow) might be better placed to help you out.
It has less to do with XAMPP => AWS, and more to do with:
Which OS are you moving from/to?
Which generation of PHP are you moving from/to?
AWS services like Elastic Beanstalk and OpsWorks use Amazon Linux as their base OS (related to CentOS and RHEL), but with raw EC2, there are tons of different supported OS's (e.g., Ubuntu, Slackware, Fedora, Debian, CentOS, Amazon Linux). In both cases, you have full root access to the machines.
Also, make sure you're using the same generation of PHP (e.g., 5.3, 5.4, 5.5, HHVM) between your current server and the AWS server. This will prevent things like language/syntax differences between the two environments.
Like Nicholas Byfleet said, "So long as your PHP code is well written, it should be pretty portable."
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I just started a project in a company, they had it hosted on Google App Engine and the app was developed in Java. The thing is that this code was totally unreadable. So I've came to the conclusion that the best solution would be start it all over.
Because it is a Facebook App, one approach would be to stop using Java and start using their available PHP SDK. But, Google App Engine still doesn't work well with PHP, we can't install Frameworks like Yii without workarounds, etc.
So I think the best solution would be change the place that we are hosting the application. It needs to be a host for scalable PHP applications.
I've researched a little bit and found people talking about Pagoda and appfog.
Do you have any suggestions? What is the best solution considering: price, efficiency and also it needs to be easy to use. I don't have a lot of experiences managing servers, I usually have someone on the company that takes care of all of that for me.
My best advice would be to choose a standard Cloud provider like DigitalOcean, VPS.net or AWS. You get full access to the server to configure and install anything you like, and they often come with pre-built server images with PHP/MySQL/Apache already configured and ready to use.
Heroku has PHP support to https://devcenter.heroku.com/articles/getting-started-with-php and it's ideal for FB apps https://devcenter.heroku.com/articles/facebook
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm new to subversion control. I'm working on a PHP project in my localhost and I want to share my work with another person from another system so that he can also make changes to the same project. I wanted to use TortoiseSVN for this. Do I need a server for storing my repository? How can I do this? Can anybody suggest me a good tutorial (video may be) so that I can do it myself. I'm sorry if this is an off topic. But I searched a lot for this but couldn't come up with something that fits me.
TortoiseSVN is client, in order to share repository in Net, you must to use server (own or 3-rd party)
There are a lot of (free and not-free) SCM-hostings in the world
Easiest and fastest and easily understood way to have http-based repository on Windows host is VisualSVN Server
In terms of manageability, accessibility and added (on top of pure repository) functionality SVN-hosting is better way (checked and confirmed by my own experience)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a sharing hosting, and obviously I don't have any SCM (Source Control Management) on it, but having to deploy every small changes here and there every now and then is frustrating.
Does anybody know a better way than using FTP or cPanel File Manager?
I would prefer not having to deploy every changed file manually.
The best solution would be to have some free SCM that I can run in a shared hosting, perhaps a PHP web application that does the same/similar thing to SVN
Consider using git-ftp: it allows you to use Git to manage your project on your development machines and use plain old FTP for deploying the changes to the shared hosting. git-ftp is smart to do only minimal transfers, delete files and directories when they are deleted in your repository etc.
Subversion, git and mercurial are all free, can't get much cheaper than that and all support having hooks that will push changes, (by various mechanisms), to multiple locations.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can anyone recommend a simple document management system with a decent web service interface?
I am looking at using it to provide metadata management of uploaded files from a ajax web application.
I've tried KnowledgeTree, but it's web service layer seems to be a bit complicated. Is there anything else out there with the similar features but a better integration backend?
DocMgr have just released a new version where they have a xml based web service API. I have not tried the new version yet, but the document management system is great (IMO way better that knowledge tree), and is worth a try.
One note is that it runs on PostgreSQL for speed, so this could be an issue if you are planing on running this at a web host, but I reccomend testing it out!
I'm sorry to hear that you found the KnowledgeTree web services interface complex. We'd love to hear more about what we could do to improve it. Feel free to drop us a mail on community |AT| KnowledgeTree | DOT | com
Have you taken a look at our latest documentation?
http://docs.knowledgetree.com/api/latest/
It covers the complete API and includes loads of examples to help get you started.
Phil (KnowledgeTree Team)
http://www.opendocman.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have quite a few years experience of developing PHP web applications, and have recently started to delve into Python as well. Recently I've been interested in getting into desktop applications as well, but have absolutely no experience in that area. I've seen very little written about PHP-gtk and wonder whether it's really a good area to get stuck in to.
What I'm really looking for is something that will allow me to quite quickly develop some decent small/medium sized apps, and be able to deploy them in Linux and Windows. Something in Python or PHP would be great (but I'd be happy to learn something else if it has big advantages).
What do you guys recommend?
Thanks
Building applications in PHP with GTK is possible to create client-side cross-platform applications, but I don't necessarily think it's the optimal choice for GUI development...
Here are some links:
http://gtk.php.net
http://www.cweiske.de/phpgtk.htm
Gnope.org
kksou
Python and Java are both excellent for working on both Linux and Windows environment. They are generally hassle-free as long as you're not doing any OS specific type of work. Python for creating desktop apps is fairly simple and easy to learn as well if you're coming from a PHP background, especially if you're used to doing object oriented PHP.
Why would you like to develop a desktop app in php??
Get yourself a descent programming environment (c/java/c#/) instead of abusing php
especially with c# and java you get pretty quick very nice results. And both are cross platform (although java is easier for cross platform stuff).
C(++) in combination with QT or GTK is also possible, but there the results appear slower
Well its too late to answer i guess but still for the sake of information may I suggest Open Application Platform (OAP) as a possible solution. OAP allows for PHP/MySQL applications to be distributed as installable Windows(tm) applications.
I stumbled upon it while I was looking for porting a PHP app to desktop and found this. Worked great for me. No extra tags for window creations like in winbinder etc.