Solved

PHP Code for LAMP / WAMP / XAMP

Posted on 2014-02-28
10
615 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 109

Assisted Solution

by:Ray Paseur
Ray Paseur earned 166 total points
ID: 39895723
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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
 
LVL 109

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

803 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