For web development where I use PHP on the backend, I have always used XAMPP (Windows) or LAMPP (Ubuntu).
Now I am running Ubuntu 16.04 and for some reason, I can not use an LAMPP package. So my question is what independent servers do I need to install?
I know that I need to install PHP, and I also know that I will need to install MySQL database Server if my application uses MySQL database.
But what else do I need to install, apart from PHP 7.1 and MySQL database server?
LAMPP is short for:
Linux
Apache
MySQL
PHP
Perl
So if you are developing Web Applications I would say that you are fine with Apache, MySQL and PHP. There might be some other modules (e.g. for SEO reasons like mod_rewrite) but those could be easily installed later one.
I need to be able to use Composer on my local machine, however, I don't want to setup a full web server stack on this machine because I'm using my remote server for that.
When I try to install Composer, though, it wants me to point out my PHP install, which I don't have in this case.
Is there a way I can install PHP on its own so that I can also get Composer installed without installing a full stack?
I've always used WAMP in the past, but again, I'd like to avoid installing that whole stack.
Any information on this would be greatly appreciated. Thanks!
You could install only binary package for PHP. You did not state which operating system are you using.
Binary package links (for MacOS)
Binary package for Windows
I have recently completed a web based application for a client running on a LAMP system - Linux, Apache, MySQL, PHP. However, the spec has been changed and rather than the application be available over the web, the client now wishes it to be only available internally via their windows network. Is it possible to set up apache, php, mysql on Windows, install my web app including mysql database and PHP code and then create an MSI that can be distributed on a CD ROM etc and installed on a Windows network?
The easiest way would be XAMPP ( http://www.apachefriends.org/de/xampp.html ).
But I guess it will be harder to programm/generate the MSI (eg WiX) than to use another approach like installing xampp and then placing your php/mysql files correctly in there.
You could also install XAMPP on your PC, setup everything fine, and zip it back up.
Customer would then need to install XAMPP and overwrite the files with the content of your zip.
I have a machine configured for ASP.NET 4 & IIS7.
I want to run PHP on the same machine without interrupting ASP.NET. Anyone know the steps and I will research it more.
You can install php for windows. http://php.iis.net/ Its almost the same as installing it on your local machine. It wont interrupt any existing asp.net applications unless you mess with iis and their directories/applications. Amazon should give you access to the ec2 instance to install and configure iis.
Walkthrough.
I have Windows 7 Enterprise and I want to run a web server on this computer and I wander what is the best web server would be in my case. I have several requirements to the web server.
It should be easy to install and set up the server. Just "click", "accept" and that's it.
It should support MySQL and PHP (with GET, POST, SESSION, and cookies).
I want to be able to install the server from CD or memory stick. In other words, I want to be able to download something on my CD and than use this CD to install the web server.
The server (software) should not occupy a lot of memory.
It should be possible to install the web server on Linux, Windows and MAC.
Install Z-WAMP. It has the latest versions of Apache, MySQL and PHP (with APC and phyMyAdmin). It's also portable so you can have it installed on a mem stick.
XAMPP is very simple to install and use.
Quoting:
Zend Server Community Edition is a fast and reliable PHP application stack. It is completely free, and you can use it in development, testing and production.
Further:
Eliminate wasted time spent on putting together your PHP stack piece by piece. Zend Server Community Edition includes everything you need, whether you’re using Windows, Linux or Mac OS X. The simple, native installers will set you up in minutes with:
Bytecode accelerator (Optimizer+)
Zend Data Cache
A certified PHP distribution
Zend Framework
Apache (or IIS integration)
MySQL (on Windows and Mac OS X)
Out-of-the-box connectivity to all common databases
Java code connectivity
Web-based PHP administrator console
Not quite sure if this is what you mean but take a look at AppServ it installs Apache, PHP and MySQL for you with one installation file.
If you combine requirement 1, 3 and 5 you make it extremely difficult.
There is not just one package that you can install on boot *nix and windows. Simply because they use a different Operating System with other drive mappings, libraries, etc.
But for Windows I recommend one of the XAMP/WAMP implementation (I'm not a Windows User). For Mac there is MAMP. On other *nix based systems I always used predefined packages or a manualy compiled amount of packages which does not meet your requirements.
Latest OSX has buildin PHP and Apache. You only have to enable Apache in your system pref panel. MySQL can be installed.
It's also possible to use XAMPP for osx. Can be installed from CD
As for Windows you can use WAMP or XAMPP. This package includes Apache, PHP and MySQL. Can be installed from CD.
Most Linux distro's have apache build in. And it's easy to configure PHP and MySQL for it. You can also use XAMPP for linux:
LAMP for linux
XAMPP for mac
and WAMP for win
Different gui almost the same thing easy to setup and configure.
The big advantages with WAMP are that you can easily switch PHP/Apache/MySQL version and toggle PHP settings + extensions, directly from the taskbar.
That's why I'm using it.
Note: Even though you can't download the latest PHP version from their site, it's very easy to install it yourself.