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.
Related
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 would like to practice web design by myself. I have not had any problem at the moment to practice css, javascript and html. The problem starts when I try to practice PHP and SQL, to do this i believe that a server is necessary. I would like to know if there is any way to create a local loop or private server that can simulate a server to test my private web page?
To give further information my pc runs on windows, for this I would have predilection to make this server without the need of installing a virtual machine.
Thanks in advance.
XAMPP is the most common package for this.
http://www.apachefriends.org/index.html
1 Just download and install wampserver http://sourceforge.net/projects/wampserver/
2 Make sure you do not install it in your "Program Files" directory. You could use the C:\wamp
3 Put all your files in installationDirectory/www
That's all you need
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 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."
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 have a web app written in PHP that shell_exec()'s a program written in C++ (which does some intensive calculations and returns a result back to PHP).
Do you know which PaaS providers allow this?
Have you looked at OpenShift by Red Hat? They have powerful customization capabilities (with scripts and such things) that allow you to do just about anything. Look for "action hooks". It's one of the mechanisms that allow you to customize your environment when certain events occur. For example, I used an action hook to install a custom version of Node.js upon application startup in order to circumvent the limitations of the pre-installed Node.js. You can certainly do the same with PHP.
OpenShift by Red Hat
Edit
I once was going to use it to develop a Node.js application that included a custom Node.js extension written in C++.
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
The site that I am working on creates user sites like (domain.com/user). We want to show the users some web traffic statistics relevant to their own site, like how many views from facebook, twitter etc. Can you guys please recommend a solution which we can integrate into our PHP/MySQL based system? Or is it better to build one inside the system ourselves using mangoDB or something similar?
Any pointers would be appreciated.
For preference, unless you are using SSL, I would recommend implementing the sites as user.example.com/ rather than domain.com/user - it's much easier to configure your webserver to write seeprate log files / most off the shelf web analytics packages will split a log file from multiple vhosts into reports per vhost.
There's lots of tools available off the shelf - piwik, awstats, webalizer, analog
Google analytics is amazingly good value compared to most commercial offerings.
If you need to persist with your current naming schema, then consider using a too which relies on page tagging rather than log analysis.
Or is it better to build one inside the system ourselves using mangoDB or something similar?
I'd suggest that's very much a last resort - if you can't find what you need, then I'd recommend forking one of the open source packages.