Php Current Version
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things. Instant PHP Platforms on DigitalOcean, Linode, and more. Featuring push-to-deploy, Redis, queues, and everything else you could. How do I upgrade PHP version to the latest stable released version? Ask Question Asked 4 years, 9 months ago. Active 2 years, 4 months ago. You may also have to do an apt-get install php5 after Eric's original add/update/update sequence for php to actually upgrade to the latest version. Eric, you may want to edit your answer to include the.
I just tried to know version of my PHP from windows command typing,C:> php -v
But it is not working. It says php is not recognized as internal or external command
.
15 Answers
In command prompt type below
Where C:pathtophp is the folder where your php.exe
file is located. After this run
than you will see something like
UPDATE:
If you find that when you restart your computer, this solution will not work anymore:
Set the Path like as following:
Step 1 - Click on the Windows
icon
Step 2 - Click on the Settings
icon
Step 3 - Click on System
Step 4 - Click on About
Open protected pdf file online. Step 5 - Click on System info
Step 6 - Click on Advanced system settings
Step 7 - Click on Environment variables..
Step 8 - Select Path
row and then click Edit
Step 9 - Click New
and then click Browse
, then in the next panel which will open you need to select the folder you want in the Path
. For the initial premise of this guide i will add the folder C:UsersNewFolderInPath
♥
Note: Replace your PHP installed path(e.g:C:Program Filesphp
) with the above path ♥.
Step 10 - Click OK
and click every OK
button you will encounter to close every previous windows.
You just need to find out where is your PHP folder.
- If you are using XAMPP or WAMP then you will see a php folder.
- You just need to go into the php folder using your cmd using command
cd xamppphp (FOR XAMPP)
cd wampphp (FOR WAMP)
- And then just type in this command
php -v
- Then you will see something like
PHP 5.6.11 (cli) (built: Jul 9 2015 20:55:40) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
- First open your cmd
Then go to php folder directory, Suppose your php folder is in xampp folder on your c drive. Your command would then be:
After that, check your version:
Php Current Version Free
This should give the following output:
PHP 7.2.0 (cli) (built: Nov 29 2017 00:17:00) ( ZTS MSVC15 (Visual C++ 2017) x86 ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies
I have uploaded a youtube video myself about checking the version of PHP via command prompt in Bangla: https://www.youtube.com/watch?v=zVkhD_tv9ck
Rob♦Go to c drive and run the command as below
C:xamppphp>php -v
It is most likely that php is not in your specified path.
Try to issue the php command with the full path, for example:
C:> 'C:Program Filesphpphp.exe' -v
Please note, that this is just an example, your php installation might be in a different directory.
beerwinbeerwinxampp control panel->shell->type php-v you get the version of php of your xampp installed
DB(mariadb/mysql)versiontype localhost/phpmyadmin in url click enterclick on sqltype select version();enter to get the mysql or mariaDb version
For Beginners to anything php, it is usually stored in the C:/ path folder of your PC (My Computer).
On Windows
1.Click Start Menu button
2.Type cmd and press enter to select the first program/application that responds to your search result.
A black window terminal will appear, this is known as a Command Line Interpreter
3.In the Terminal Window (Application) Type cd c: and press enter
4.Now type php -v and press enter
and viola there you'll have the current php version that is installed in your machine
Easy Method is:Just copy the file cmd.exe from c:/windows/system32/ and paste it to C:xamppphpand run it,when the cmd opens type ' php -v ' without quotes and hit enter..you will get your php version.thank you
For me, the PHP path traversed from php5.6.25 (or php7) installation folder, through wamp folder, bin and php..
C:wamp64binphpphp5.6.25>
Vishal Kumar SahuVishal Kumar SahuEasiest way is to, just click on the WAMP icon on task bar and Go to PHP >Version, version will be displayed
This how I check php version
PS C:Windowssystem32>php -version
Result:
PS C:Windowssystem32>
Nothing to worry it's easy
Her granddaughter Maylee has dumped her daughter, Keisha off on her sister, Vianne, who has been living with Madea for the past 6 months since her divorce. Madea’s family comes to see her while she’s sick, however it’s the rest of the family that needs help. Watch tyler perry plays online free. Chaos erupts when Maylee shows up engaged to Vianne’s ex, Anthony, who is out to make Vy as miserable as possible.
If you are using any local server like Wamp, Xampp then Go to this Steps
- Go to your drive
- Check xampp or wamp server that you installed
- Inside that check php, if you got then go for next step
You will find php.exe, Once you get php.exe then you are done. Just type the path like below, here i am using XAMPP and type v for checking version and you are done.
C:>'C:xamppphpphp.exe' -v
Thanks.
Just create a php file and write the code
and open the file in any browser. It will show the php version installed in your system.
- copy cmd.exe and go to the php folder (c:pathphp) and paste it.
- write in cmd:
php -v