I was using XAMPP portable (for USB flash drives) for a long time. The creator team is no longer supporting/updating the project, which is not even compatible with the latest PHP version.
Is there any alternative all-in-one, portable web-server (like XAMPP) with latest updates?
Z-WAMP is the nicest portable WAMP I've found.
I've used Uniform Server in the past from a portable drive. The current version (8.5.5 at the time of writing, released 16/6/2012) has Apache 2.4.2, MySQL 5.5.25-community and PHP 5.4.4.
How about Laragon (http://laragon.org/).
Laragon offers you a powerful but Isolated Development Environment.
It is portable and very flexible.
Install Laragon doesn't affect your Windows. You can move Laragon installation folder to another disk and Laragon still works.
Laragon now supports Memcached and Redis (optional).
Current version: 0.3 (stable)
Apache 2.4.10
MySQL (MariaDB 10.0.15)
PHP 5.6.3
Memcached 1.4.5
Redis 2.8.17
Check Laragon out.
XAMPP is back in development!! As of Aug 2012 they released a new version that has all the latest Apache, PHP, and such. Check it out!
You can also check "Comparison of WAMPs on Wikipedia":
http://en.wikipedia.org/wiki/Comparison_of_WAMPs
All here listed WAMPs and more are included.
WTServer - Nginx MariaDB Redis Php development stack for Windows
updated regulary
The installer produces a portable folder.
Current Package contains:
Nginx 1.11.7 web server
MariaDB 10.1.19 database server, mysql replacement (32/64bit)
Redis 3.2 Cache/NoSql, memcached alternative (64bit)
Php 5.6.29 & PHP 7.0.14 & PHP 7.1.0 scripting language (32/64bit)
XDebug, GeoIP, Gender PHP Extensions
If you have an active internet connection and docker installed on your development machine, you could give devilbox a try.
It is a modern docker-based lamp stack offering various features:
Start up any php version (php 5.4 - php 7.1 or even hhvm)
Start up and sql version (mysql 5.5 - mysql 8 or all mariadb versions)
auto vhost creation
auto DNS
Email catch-all
and many others
phpMyAdmin
Adminer
OpcacheGUI
https://github.com/cytopia/devilbox
Related
I have both a development PC and windows server that run PHP. I'm trying to configure them for SQL server. I've downloaded SQL Server 2014 express and it's running on both.
The Development box box: 64-bit windows 7 PC, running IIS 7.5 and PHP 7.1.3
The server is 64-bit windows server 2008 running PHP version 7.1.3
I've started with the dev box and tried downloading the drivers and modifying the php.ini to add the extension.
The drivers is not loading when I run phpinfo(). With some further research, I think I have not got the correct version of the driver for my dev box. I'm currently using php_sqlsrv_54_ts.dll as my extension, but the installation media for the driver came with several .dll files and I'm not sure I have the right one. I did notice that the installation file I downloaded was SQLSRV30.EXE. I also noticed that there was SQLSRV52.EXE, but that does not support win 7. Can someone point me to the correct driver for my dev box and server.
I'm getting so frustrated with this because it's not self explanatory.
It turns out that there are no SQL drivers for PHP 7.2 that work under windows 7. I had to downgrade to PHP 7.1 and then the drivers loaded and worked.
I'm a PHP developer by profession. Till now I was working on Ubuntu Linux 14.04 LTS 64-bit operating system and LAMP stack.
Yesterday I bought a new Lenovo laptop pre-installed with Windows 10 Home Single Language operating system.
Then to start development using PHP and MySQL I installed Wampserver (64 bits & PHP 5.6.15 & PHP 7) 3 on my new machine.
After installation I'm facing so many problems in running PHP and PHPMyAdmin without error. Also it's showing me PHP Version 5.6.16 installed which is actually a old one.
Actually, I want to install the latest stable versions of following softwares before starting my PHP development :
PHP Version 7.0.6
Apache httpd 2.4.20
MySQL Version 5.7.12
PHPMyAdmin Version 4.6.1
And also whenever any new stable version for any of the above softwares become available I should be able to upgrade the same software to it like I used to do on my Ubuntu machine by running regular system update.
Can someone please suggest me a way to achieve it without any hassle and trouble? So that I can concentrate more on web development rather than doing configuration settings.
Thanks.
There are MANY ADDONS available for WAMPServer 3
They are all on SourceForge
Or they can be downloaded from links on the WAMPServer forum
Or the alternate download site (often a few days ahead of SourceForge)
Remember that with WAMPServer you can switch between any installed version of Apache/PHP/MYSQL with a simple click of a menu item.
The latest version of WAMPServer is currently V3.0.4 and comes with
Apache2.4.18
MYSQL5.7.11
PHP7.6.19 & 7.0.4
ADDON for PHP7.0.6 is also there ready for download and install
ADDON for Apache2.4.20 is also there ready for download and install
ADDON for MYSQL5.7.12 is also there ready for download and install
ADDON for PHPMyAdmin Version 4.6.1 is also there ready for download and install
There have been a few odd hiccups with phpMyAdmin lately so there is also an ADDON for a tool called Adminer4.2.4 available also
MYSQL Workbench is also a great tool for messing with MYSQL, but if you install that be careful to only install the Workbench and not another MYSQL Server as well.
What more could you possibly want
Try XAMPP , pick the version you want
https://www.apachefriends.org/download.html
XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It's that easy.
MAMP PRO Mavens,
It appears that (at least my instance of) MAMP PRO v3.4 installed and uses MySQL v5.5.42; although the version of MySQL (Community Server) is v5.7.9.
Would you be so kind as to explain the steps necessary to install and configure MySQL 5.7.9 to run in the MAMP PRO 3.4 environment (e.g., work with MAMP PRO's installed Apache Server and PHP)?
Many, many thanks!
Download the latest version from http://www.phpmyadmin.net/home_page/index.php
Unpack the archive you just downloaded, the resulting folder should be called somewhat like "phpMyAdmin-x.y-all-languages"
Rename "/Applications/MAMP/bin/phpMyAdmin" to "/Applications/MAMP/bin/phpMyAdmin-OLD"
Copy "phpMyAdmin-x.y-all-languages" to "/Applications/MAMP/bin/"
Rename "/Applications/MAMP/bin/phpMyAdmin-x.y-all-languages" to "/Applications/MAMP/bin/phpMyAdmin"
Restart the MAMP and upgrading task is completed. You have successfully upgraded to latest phpMyAdmin or Mysql 4.2.10.1 version.
I am installing a configuration with WampServer 2.4:
- Windows 7 64-bit sp1
- WampServer 2.4 64-bit
- PHP 5.4.3 64-bit (came with the WampServer)
- Apache 2.4.4
- Microsoft SQL Server 2012 Native Client 64-bit
- Microsoft SQLSRV 3.0 (php_sqlsrv_54_ts.dll, php_pdo_sqlsrv_54_ts.dll and they are put in c:/wamp/bin/php/php5.4.3/ext/
And I edited the C:\wamp\bin\apache\Apache2.4.4\bin\php.ini with the lines:
- extension_dir = "c:/wamp/bin/php/php5.4.3/ext/"
- extension=php_sqlsrv_54_ts.dll
- extension=php_pdo_sqlsrv_54_ts.dll
And I restarted all the services from Wamp.
But I still couldn't see the SQLSRV section from phpinfo -- and of course my connection test program failed.
What might have gone wrong?
Can anyone help?
Your issue is because you are using (or WAMP has given you) 64bit php, where as your sqlsrv driver is most likely 32bit.
Your solution is to switch to a 32bit version of php (The benefits of running in 64, are pretty much non existent anyway unless you need larger data types), or to recompile the sqlsrv driver in 64bit (Likely more trouble than it is worth).
Try a WAMP 32 bit version. http://www.wampserver.com/en/#wampserver-32-bits-php-5-4
Also if Apache and my-sql are of no consequence to you (they are just a web sever and and an sql database) you can install a WISP PHP Stack in a breeze using the web platform installer. http://www.microsoft.com/web/downloads/platform.aspx
For those of you using a 64bit version of PHP, the unofficial dll files linked below will work:
http://robsphp.blogspot.co.uk/2012/06/unofficial-microsoft-sql-server-driver.html
I am using 64bit WAMP on a 64bit Windows Server and was about to call it quits before I found those DLL files. It's odd that the official DLLs don't work with 64bit PHP, but I'm glad I at least found a solution.
I'm using just Apache 2.2 and PHP 5.4 in 32bit with SQLSRV 3.0 and it is now working. Note that the Thread Safe is set to Yes, thus SQLSRV ts.dlls should be used. It was a struggle. Hope this helps others.
I am running a fully updated Manjaro (Arch Linux derivative) distribution with PHP 5.5.6 installed using pacman.
Some scripts I am forced to develop with are not fully compatible with PHP 5.5 yet.
Is there an easy way to downgrade to PHP 5.4 or do I have to compile it from source?
Yes it's possible to downgrade packages. Short version of possibilities:
Look in the pacman cache of your computer if the packages are still present (/var/cache/pacman/pkg)
Get old packages from the Arch Rollback Machine
Build the old packages from ABS
The procedures are explained in the wiki. The simplest one will certainly be to look in the cache, or eventually ARM if they are not present.