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.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I've started learning php recently and will be using MySql. But I have a lot of MySql 'things' installed on my computer (in the screenshot). I want to completely uninstall everything and have XAMPP handle whatever is needed. I want to know would it be a good practice to do so and is it actually safe to remove everything, making sure that nothing would break and is there a way to check if some software depends on any of those?
Your Version is very old, so update it urgently.
You only need the Server and the shell.
Workbench is helpful as it provides a gui, even when phpmyadmin doesn't work.
If you decide to use Java c++ or other languages you can always come back and install them again. Them same goes for samples and Documentation
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
What is the easiest and fastest way to upgrade code from Laravel 5.3 to Laravel 7.3 or 8 ? Is there a tool which can do that for me ? How long does it take to do that?
Please help .
Regards
The easiest way is to follow the documentation by laravel, best way is to upgrade to the next version, for example in your situation upgrade to 5.4, when everything is working, and all composer packages are upgraded to the right version, then move on to 5.5 etc...
heres a place to start : https://laravel.com/docs/5.4/upgrade#upgrade-5.4.0
and you can just change version in top right corner to get upgrade for the next version.
keep in mind you gonna have to keep upgrading manually packages versions in your composer.json to the proper versions, so just analyze the error codes you gonna be getting.
if theres a tool to help with that, then I dont know about it, hopefully next person does.
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 7 years ago.
Improve this question
In silex's web page, it says that the stable version of siles is 1.3 but silex-skeleton uses version 2 of silex, is this recommended?
Silex 2.0 is not stable yet, in fact is a dev-master. The bigger problem is that a dev-master can change at any time. Unlike a stable version, it may be that one day you will do composer update and your application will stop working for some reason.
It is always preferable stable versions, but you can also developed you application in sync with the branch master of silex.
For your sake and the sake of your team don't do it.
I have made the mistake of putting one of my big projects back in time of Symfony2.0-alpha (or was it beta, not sure). The documentation was scarce, it was unstable for some use-cases - I wen't thought hell and back.
Projects are marked unstable for a reason - they should not be used in production until the devs make sable release.
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 !
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