I want to learn some PHP, however, I would like to be able to run the scripts locally rather than loading onto my server to test them. I don't want to set up a full server at home for this purpose so I wonder if anyone knows of Free software to do this. I have found a site http://www.easyphp.org/ which suggests this might do what I want but thought I would ask this forum for suggestions.
Thanks
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4021) - 04 May 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4021) - 04 May 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
How to Run/Test PHP Scripts Locally
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: How to Run/Test PHP Scripts Locally
That is, effectively, a full server. It's a 'WAMP' system - Windows, Apache, MySQL, PHP. There's a list of alternatives here: http://en.wikipedia.org/wiki/Comparison_of_WAMPs
I've used XAMPP and I seem to remember it was quite easy to set up.
I've used XAMPP and I seem to remember it was quite easy to set up.
Steve
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: How to Run/Test PHP Scripts Locally
Neil,
You could set up a 'testing' server at home using Abyss X1, which is a free download from http://www.aprelium.com/
Downloads are available for Mac OS X, Linux, Freebsd and Windows.
Get the latest php release from http://www.php.net/downloads.php and your away.
Abyss is very easy to set up and the Aprelium website provides full details on configuring php, perl, asp.net etc.
There are not as many options as Apache, but what Abyss lacks in features it makes up with ease of setup and maintenance.
If you decide you want to set up virtual hosts then Abyss X2 is available for a reasonable price.
My websites run on Abyss X2 under Windoze 7 using php5.3
You could set up a 'testing' server at home using Abyss X1, which is a free download from http://www.aprelium.com/
Downloads are available for Mac OS X, Linux, Freebsd and Windows.
Get the latest php release from http://www.php.net/downloads.php and your away.
Abyss is very easy to set up and the Aprelium website provides full details on configuring php, perl, asp.net etc.
There are not as many options as Apache, but what Abyss lacks in features it makes up with ease of setup and maintenance.
If you decide you want to set up virtual hosts then Abyss X2 is available for a reasonable price.
My websites run on Abyss X2 under Windoze 7 using php5.3
Cheers,
Graeme.
Graeme.
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: How to Run/Test PHP Scripts Locally
Neil, I strongly suggest that you download and install XAMPP - I have been using the server software for more than 3 years with no problem whatsoever. I have tried a few other server software but was not satisfied with most of them.
XAMPP is easy to install and to use. First, you must download XAMPP by visiting the Apache Friends pages at the following link:
http://www.apachefriends.org/en/xampp-windows.html
Then, download XAMPP for Windows version 1.7.3 (the latest release dated Dec 23, 2009). To install, you need to tell XAMPP where to install itself and that is about it...
Oh yes, I remember that a few modifications to one of XAMPP file and to the Windows host file have to be made so one can created his/her own internal domain. But then, once you have the software installed, you can be guided through those steps...
The XAMPP package contains the following:
- Apache v2.2.14 (IPv6 enabled) + OpenSSL v0.9.8l
- MySQL v5.1.41 + PBXT engine
- PHP v5.3.1
- phpMyAdmin v3.2.4
- Perl v5.10.1
- FileZilla FTP Server v0.9.33
- Mercury Mail Transport System v4.72
I have the Apache server software (and PHP) running almost continually on my computer.
If you have an additional and empty hard drive partition, I strongly recommend that you use that partition to install XAMPP and to save all Web development related files, all by themselves and away from all other software and Windows.
XAMPP is easy to install and to use. First, you must download XAMPP by visiting the Apache Friends pages at the following link:
http://www.apachefriends.org/en/xampp-windows.html
Then, download XAMPP for Windows version 1.7.3 (the latest release dated Dec 23, 2009). To install, you need to tell XAMPP where to install itself and that is about it...
Oh yes, I remember that a few modifications to one of XAMPP file and to the Windows host file have to be made so one can created his/her own internal domain. But then, once you have the software installed, you can be guided through those steps...
The XAMPP package contains the following:
- Apache v2.2.14 (IPv6 enabled) + OpenSSL v0.9.8l
- MySQL v5.1.41 + PBXT engine
- PHP v5.3.1
- phpMyAdmin v3.2.4
- Perl v5.10.1
- FileZilla FTP Server v0.9.33
- Mercury Mail Transport System v4.72
I have the Apache server software (and PHP) running almost continually on my computer.
If you have an additional and empty hard drive partition, I strongly recommend that you use that partition to install XAMPP and to save all Web development related files, all by themselves and away from all other software and Windows.
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: How to Run/Test PHP Scripts Locally
Buy a Mac -- it's all built in!
Seriously though -- as already said, XAMPP is good to get you up and running
Seriously though -- as already said, XAMPP is good to get you up and running
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: How to Run/Test PHP Scripts Locally
Well, I'm convinceddaj wrote:Buy a Mac -- it's all built in!
I mustn't let the Mac version of Cumulus divert me from the Windows version for too long, though
Steve
-
- Posts: 82
- Joined: Mon 23 Mar 2009 2:50 pm
- Weather Station: WH3080
- Operating System: Windows server
- Location: Skegness
Re: How to Run/Test PHP Scripts Locally
I use http://www.wampserver.com/en/index.php if i want to test anything out be it websites , php cgi mysql etc.
- nking
- Posts: 808
- Joined: Thu 17 Dec 2009 2:03 pm
- Weather Station: W-8681
- Operating System: Windows 10
- Location: Hurstpierpoint, West Sussex, UK
- Contact:
Re: How to Run/Test PHP Scripts Locally
Hi Guys,
Many thanks to you all for your very helpful advice/recommendations. Based upon your suggestions I am going to give XAMPP a shot as it is clear there is a lot of experience in this forum that I may need to call upon…. Hopefully not too often.
David,
I would love to buy a Mac but my wife said NO…. it will make me fat!
I bet you'd like a pound for every time you'd heard that one
Many thanks to you all for your very helpful advice/recommendations. Based upon your suggestions I am going to give XAMPP a shot as it is clear there is a lot of experience in this forum that I may need to call upon…. Hopefully not too often.
David,
I would love to buy a Mac but my wife said NO…. it will make me fat!
I bet you'd like a pound for every time you'd heard that one
-
- Posts: 1885
- Joined: Sat 21 Feb 2009 12:41 pm
- Weather Station: Nothing working ATM - making one
- Operating System: OS X, Linux Mint, Win7 & XP
- Location: Devon UK
Re: How to Run/Test PHP Scripts Locally
Install Linux - like Mac OS, also based on Unix but free You can even install Ubuntu Linux as a Windows program with Wubi https://wiki.ubuntu.com/WubiGuide
Gina
Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.