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

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 !

Related

Upgrade PHP version in project from 5.6 to 8.1 [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 11 months ago.
Improve this question
I need to upgrade PHP version of my project. It is PHP5.6 and I want to upgrade it to PHP8.1. I tried to search for such information but couldn't find it, thus, I want to ask. Is it better to upgrade directly from PHP5.6 to PHP8.1, or step by step (PHP5.6 -> PHP7.0, PHP7.0 -> PHP7.1, PHP7.1->PHP7.2 and etc until I reach PHP8.1)?
Upgrading step by step can help you to see what is deprecated by following the logs files and then review the code.
I have recently been made aware of this tool which ostensibly makes this process much easier. Note that I have not used it myself and as such can't speak to how well it works. It looks to be a FOSS project though which is good.
Website: https://getrector.org/
Github: https://github.com/rectorphp/rector
Updating manually as per the guides provided by vee will likely give you better understanding of the benefit each upgrade offers as well as maintaining full control over your project.

How to Update PHPmyadmin to 4.0.4.1 on a Debian VPS [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 am attempting to update from phpmyadmin 3.3.7deb7 to the latest or closest possible to 4.0.4.1. I dislike the look of 3.3.7 and would really like to update. But not knowing how to do much in a Linux environment, I've looked on Google and other search engines. But nothing is simple enough to follow for a "noob".
Any help is greatly appreciated ;D
I am on VPS which uses debian-6.0-x86 64-cvps-base
Unfortunately, for your version of Debian the packaged version is the 3.x branch of phpMyAdmin, so relying on the packaged version isn't going to work for you.
There are theoretically ways to force installing a package from another version in to yours, but I would not advise that (unless you're quite careful you can end up with a mess of dependencies).
What I'd suggest is simply to remove the Debian packaged version and install your own. You can download it from https://phpmyadmin.net, and installation takes only a few minutes and minimal configuration. You can learn a lot about the process from the phpMyAdmin documentation.
Good luck!

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 ;)

How do I install PHP on an Earthlink Linux server? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
My ultimate, simple goal, is to install Wordpress.
Unfortunately, Wordpress requires PHP 5.2.4 or greater, while the server my site is hosted on is only running 5.2.17. When I contacted Earthlink, they said they couldn't update it, but that I could.
However, after a little bit of searching, I'm not sure where to begin. I have very little command line experience, and no Linux experience. I'm not even sure what flavor of Linux they're using. Does anyone know of any walkthrough guides or tutorials?
The odd thing is, Earthlink has a Wordpress installer built in to their control center (I'm opting for an FTP install, because I want to install in a subdomain). So alternatively, can I get away with installing on the server with PHP 5.2.17? If they're doing it, why can't I?
Thanks,
Scott
I don't think you understand PHP versions. PHP 5.2.17 is a newer version than 5.2.4. Wordpress should work just fine on 5.2.17. Have you run into issues while installing it?

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

Categories