Looking for lightweight PHP stack for development on Windows [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking to setup a lightweight, developer only web stack on Windows (and possible OSX). Ideally, I'd be working with Zend framework, MySQL. But I'm open to other APIs to facilitate creating RESTFul (or pseudo-Restful) web services.
I've seen some tools, like QuickPHP, but it might have been too lightweight as I couldn't get everything working that I wanted.
I'm not opposed to installing Apache and all that, but was just curious if there's some other tools I'm not seeing to get up to speed quickly.
Keep in mind that this is for local development only.
Thank you.

The thing is, you want your development environment to behave the same way as your production environment, so I would suggest installing whatever you are going to deploy to. I run a LAMP stack on my server, so I run WAMP on Windows for development. It is very easy to install and I don't notice it slowing down my laptop. You can also look at XAMPP, but after trying both, I prefer WAMP.

For my local OSX development I've used MAMP. I highly recommend it.
For Windows I'm sure you already know about a WAMP and I haven't used anything else.

I would look into XAMPP. But I prefer to install and configure Apache and PHP myself, and not use a pre-rolled solution.

If you want to go really lightweight, make sure that when you install WAMP or XAMPP, don't set the services to start automatically with Windows.
It is fairly easy to fire them up using the WAMP/XAMPP console when you want to develop your application, but it saves you from running them all the time and slowing down your boot time.

I used WAMP and XAMPP, but now I install separately on my VISTA machine Apache 2.2, PHP 5.3, MySQL 5.1.4 (and for writing code Notepad++; for handling photos GIMP for Windows).
It is not that difficult to install. Just read attentively on PHP download page, which version of the PHP Windows installer goes for Apache 2.2 (there is one for the IIS too).
All this soft is highly customizable. It makes sense to spend some time and get it right.

Related

PHP practice without XAMPP installed [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I just started learning PHP through online videos, I have also installed notepad ++ but I am not able to installed XAMPP due to security concern as I am using the company-provided laptop,
is there any way to do practice and run my PHP program without install XAMPP
First of all, PHP is a standalone program:
PS C:\> php -r 'echo PHP_VERSION;'
7.4.5
XAMPP is just a third-party package that bundles together several famous programs written by other people. You can always get any of those programs (PHP included) from each of the official web sites.
If you mean you want to use PHP to build web applications but you aren't allowed to install a web server, you may have a couple of options:
Use PHP builtin server
Find out if your Windows edition includes IIS
If you mean that you aren't allowed to run any kind of third-party software, you're out of luck: PHP itself is software and it's third-party.
In any case: if your company is asking your to learn PHP, they should provide you with the necessary tools. If you're doing it on your own, know you're probably violating company rules anyway.
You need to have a local installed webserver. With XAMPP on your device you just have a nice tool for learning. Running a productive Application with critical data on it, would be not smart.

php, mysql and phpmyadmin, MAMP or homebrew [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
When I got to make a clean install of my system I asked myself, again, this question.
What is the best way tools to use for my local development, install MAMP or install the stack with homebrew?
Even though 'best' is highly relative depending on what each and everybody needs and how they like to work, I would like to get some thoughts from people who tried them both, what they finally chose and why.
Personally, I chose this time to not use MAMP and install php, mysql and (not yet) phpmyadmin using homebrew.
The pros, it's simple and fast to install, even better to update. Painfull to update MAMP.
The cons, having the homebrew.mxcl.mysql daemon running and having to manually start-stop processes like apache and mysql while there is just a button on MAMP.
But still, how about installing and using both?
Would I enjoy the best of both worlds or am I looking for troubles and headaches?
Thanks y'all...
I did this a hundred of times... !
Using MAMP or WAMP is fair enough for beginners but you'll stick to their configuration(s) and tricks which make you a bit dependent of their products. This is only my opinion but I would prefer to install a homebrew configuration.
When installing services such as MySQL, PHPMyAdmin, Apache+PHP or NGINX+PHP/PHP-FPM you will learn much more things. You'll be independant as you go through the installation and read the documentations. You can also simplify the work for futher installation by:
1) Creating some general pre-set configuration files
2) Creating your own installation script(s)
And voila !

PhpMyAdmin not working - XAMPP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I've installed XAMPP Windows 1.8.2 and after installing and turning on Apache & MySQL, I can't load my PMA webpage: http://localhost/phpmyadmin/ . It still loading, but nothing happens. I really don't know, what I am doing wrong. Also I can't use any PHP application, which is trying to use MySQL connection (like Symfony2). If I turn off MySQL in XAMPP Control Panel and trying to reload this URL, same problem.
Thanks for any help.
From this point, I would recommend for you to use 1.5.1 version of Xammp right away. Long story why (shortly, this is a Windows matter and with this answer its irrelevant).
So....
Uninstal that version
find 1.5.1
Install
However, when you install 1.5.x you might have problems with PMA when larger tables are loaded. This sorts things out
Find PMA version 2.11.11.3 package (this baby is really stable)
Unpack
c/p all files from pack to your xampp/PMA folder and overwrite everything :P
And thats it.
You may, later on, upgrade PHP to ie 5.3.0 and there is a trick how to do that painless somewhere on www (google ekhm) but cant remember where exactly. Enjoy.
ps: If you dont like this answer, youre probably on XP and you need something like vcredist_x86.exe but problems wont stop there ;)

EasyPHP suitable for development environment? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to start php development for facebook applications. I have already had some problems configuring PHP and Apache.
Today I found a tool called EasyPHP. Is it recommended to use this tool for developing php websites and in particular facebook applications?
EasyPHP is a perfectly good solution as far as I'm aware, but I've never used it myself so I couldn't recommend it. I use XAMPP, but it's all down to personal preference.
It's probably worth taking a look at this question on SO, or this Wiki article comparing WAMPs.
xampp
XAMPP is an easy to install Apache distribution containing MySQL, PHP
and Perl. XAMPP is really very easy to install and to use - just
download, extract and start.
wamp for windows, mamp for mac, thats what I reccommend.
I'm using Visual-AMP, It's like the IIS.
WAMP, MySQL and pretty much any IDE.
Just follow the online instructions.
WAMP includes all the tools and extensions you'll need without needing to mess around with config files

Packaging a PHP-MySQL app to allow easy install [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've developed an open source application in php and mysql. I'd like to give it to the end user to install on their computer and use from their browser without me having to host it for them. But the end users are non-developers so they're unlikely to have what it takes to run the application (php-apache local environment like a developer would) and I don't have the time right now to invest in learning the Windows or Mac SDKs to make a real windows or Mac application. Also most of those interested in it are friends or their friends.
The solution I'm considering is to package apache/mysql/php with the php app itself, and have the installer install them so the app could run from inside the www/htdocs folder. It's like an app that comes with its own server to run it.
Has anyone done this sort of thing before?
Do I need to build apache/php/mysql from source on windows to do this, or can I somehow use existing windows binaries and have my installer just install them and position my app in the right location?
I'm guessing that launching or closing the application could be done through starting/stopping apache, so how would I implement a start/stop to tie into the apache start/stop.
Any help or ideas on this would be appreciated.
Have a look at BitNami Stacks, should definately have want you need in terms of a WAMP setup
I'd like to give it to the end user to install on their computer and use from their browser without me having to host it for them. But the end users are non-developers so they're unlikely to have what it takes to run the application
Why not provide a hosted solution? Host it on your server and allow your friends to create instances in your server. Is there any reason you can't do that?
you should include the zip of xampp with the files you need for the app preloaded in the htdocs folder. you can have the users extract it to their c drive root and include some sort of README or instructions on how to start up apache and mysql. xampp includes a convenient little control panel for this purpose.
edit:
I personally use xampp all the time when I am traveling and can't be connected to my server for active development. it works wonderfully and is contained all in one folder. It also doesn't require any installation, you just unzip the package. one caveat: installing to anywhere but C:\xampp is annoying.

Categories