Solved

PHP Code for LAMP / WAMP / XAMP

Posted on 2014-02-28
10
613 Views
Last Modified: 2014-03-01
Hi Experts,

I am getting into PHP programming, just learning, and I'm wondering does the PHP syntax have any variation between LAMP / WAMP / XAMP / IIS environments?

By the way, does WAMP = IIS

Thanks
0
Comment
Question by:APD_Toronto
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 167 total points
ID: 39895572
PHP is PHP no matter the platform
LAMP etc are just installers for the various software, nothing more.  They are not some different version of the software packages.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39895645
WAMP is Not IIS.  IIS is a web server by Microsoft and it is only the web server.  LAMP / WAMP / XAMP all use Apache for the web server and include PHP and MySQL and some other programs.  You can use PHP and MySQL with IIS.  I am doing that on one computer and Godaddy Windows hosting does that also.
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 166 total points
ID: 39895723
0
 

Author Comment

by:APD_Toronto
ID: 39895733
Okay, one other question...

I know AMP = Apache MySQL PHP

LAMP = Linux Apache MySQL PHP

WAMP = Windows Apache MySQL PHP

XAMP = ??? Apache MySQL PHP
0
 
LVL 58

Expert Comment

by:Gary
ID: 39895763
AMP, LAMP, WAMP, XAMPP = Apache, MySQL and PHP

There is no difference between any of them except
LAMP is for installing on Linux
WAMP/XAMPP is for installing on Windows.

(oh XAMPP comes with Perl as well, not sure about the others)
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39895767
Some of us like MAMP!
0
 
LVL 58

Expert Comment

by:Gary
ID: 39895773
LOL
0
 

Author Comment

by:APD_Toronto
ID: 39895875
If I install XAMP on the same machine as IIS, can I go back and forth as long as one server is stopped?
0
 
LVL 58

Expert Comment

by:Gary
ID: 39895882
Yes
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 167 total points
ID: 39895908
IIS is very greedy about port 80 as is Skype.  If either are running, Apache will not work on port 80 (which is the standard 'web' port).  I have one machine that runs both IIS and Apache but I had to put Apache on another port (8080 is a common choice).
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now