Standalone web server (PHP, MySQL) for Mac - php

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

Related

What all servers do I need to install to deploy and run my PHP web app, if I don't want to use the XAMPP package?

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.

is it posible php and asp.net share the same server?

I have have installed a software that came along with an ASP.NET
hosted in UltiDev Web Server Explorer a web application manager, its
database is .mdb, and I want to add some pages to it using PHP for an
additional features. And UltiDev can run only asp.net and I have no
time for now to study ASP. is there any other web application manager
that can run php and ISS together sharing the same .mdb database? I am
not interested in IIS right now.
yes you can run PHP server on IIS but reverse is not so easy.
Goto this link and install this web platform installer. then you can access and manage your PHP files
http://php.iis.net/
you can easily manager like Apache server
You can install PHP to run alongside an IIS installation with the Microsoft WebMatrix tool.
http://www.microsoft.com/web/webmatrix/
On a sidenote, Helicon has a selection of PHP/Ruby/etc applications that can be easily deployed to an IIS installation via WebMatrix.
http://www.helicontech.com/zoo/gallery/

Which distro of linux to use for testing pages on my localhost to be hosted on Godaddy?

I am currently running a website on Godaddy built with php and mysql. I will open the website up today to the general public. Because of this, I will not want to test any new code directly on the website. I want to mirror the website on my personal computer to test any updates.
My hosting is linux, and my pc is windows. After installing xampp I found the website has many errors on my machine because of windows.
So now I am going to install Linux on my machine. I have no experience with Linux, so this should be a fun learning experience.
Do I need to use the same distro of linux that godaddy uses to get the same exact results from my code on my own machine, or will any old distro of linux work?
Also, are there any distros of linux that are more geared toward what I'm doing (mysql, php, local server testing) or are they all the same in this respect?
After some reading, I am thinking of using Fedora, unless there is something better for my specific task.

Convert LAMP application to be distributed as a Windows MSI

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.

What web server should I install?

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.

Categories