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.
Related
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 use MySQL, but I have installed postgres on my PC months ago. I installed enterprisedb apache and php from postgres plugin called stackbuilder, I have done some things in my php.ini but it is still not working.
I dont need to use them at the same time, but I want to change from one to another according to my requeriments. I already have the apache and the php from postrgres.
I have worked before with easyphp that is a combox (mysql+php+apache), but I just need MySQL.
There is no reason in the world why MySQL and PostgreSQL can't coexist on the same machine. Ordinary php can talk to one or the other just fine.
The Apache http server itself isn't tied to PostgreSQL; you may have installed a software bundle that included both of them, but that's just for installation.
Go ahead and install either MySQL or MariadB on your system. You can download excellent and robust installers for the community ("free as in kittens, free as in speech") editions of either one of those packages from their .org web sites.
Then you may have to install phpmyadmin in one subdirectory on your web server and phpPgAdmin in another. That shouldn't be too hard, but you will have to learn about how to install multiple applications in a single Apache instance. Hint: each app gets its own subdirectory.
I have a server which already host ASP.Net website. I am migrating from blogger to WordPress. So I need to install WordPress on our server. Can we host WordPress on windows server??
Yes you can install Wordpress (or any other php application) on a windows server IF php is installed on the server. There are many tutorials on google on how to install and setup PHP on IIS (the Windows web server), but Microsoft actually provides an easy PHP install from their website : Install PHP on IIS from Windows Web App Gallery
Wordpress also needs MySQL to work, so that would have to be installed on the server as well.
Your main concern here I guess is whether you have access to the server to install PHP & MySQL:
If this server is provided by a hosting service, it might not support
PHP, in which case there's nothing you can do. You'll need to check with the provider whether they support it or not, and if they can install it.
If you have complete access to the server, you just need to install PHP and MySQL (a bit of configuration will probably be needed - lots of tutorials on google to help you there); then install Wordpress normally as you would on any other kind of server.
PS: if you install PHP yourself, you should make sure to check which version of IIS you are running (IIS6 on windows 2003? IIS7+ on windows 2008?). IIS6 requires some extra configuration to make everything work, as pointed out in the article linked by Marty in his comment.
When I first started using Wordpress I used a Windows Server (granted it was shared space by a service provider) and it ran poorly. I switched to a Linux hosting account and it ran much better. Just my two cents based on my experience.
I have to work at client's office on a Mac (I'm a PC user) and I can't install anything.
I need a local web server to develop the app. Is there anything like http://www.server2go-web.de/download/download.html but for a Mac? Just so I can download it unpack it and run to have a standalone, non installbale, local web server (Apache, PHP, MySQL).
Thanks.
It seems you're able to install xampp in a portable manner (go for the drive-less install option), just run the setup script when you've copied the installation to where you want it to be.
http://www.apachefriends.org/en/xampp.html
Have a look at this blog post about running a lamp server of USB...
and this: http://www.isaacsu.com/wilt/articles/portable-mamp-or-apache-php-webserver-on-mac-os-x
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.