I was installed XAMPP with php version 5.3.
Now i install newer XAMPP with php 7.1
I check php version on localhost is 7.1 but when i check it on terminal with command php -v then it show php 5.3.
So, How can i disable php version 5.3 and use only 7.1?
I use OSX 10. Thank you!
If you are using XAMPP as a server then the other version of PHP doesn't matter. XAMPP will use the version it installed
Related
I have php 5.6.38 downloaded but I can't get my xampp installed to see the new version of php, is there a way to get a php 5638.so file that xampp will see? Or do i need to go about this completely differently? I'm trying to run a codeigniter project that relies on having php 5.4, the installed xampp version is 5.31.
Thanks for any help.
I am running WAMP locally and I have phpinfo() showing php version as 5.6.25
windows powershell shows PHP environment variable as C:\wamp64\bin\php\php5.6.25
but when I'm doing php -v the version is showing 7.0.10 and I want the version to be 5.6.* else my Laravel 5.0.* project won't work , so can somebody please tell me which is the correct version of PHP in my system and if it's 7.0 then how to get it to 5.6
phpinfo() showing php version as 5.6.25
it means that php of version 5.6.25 was installed in wamp server as module.when phpinfo() executes webserver looks for php module in apache so it return's 5.6.25
php -v the version is showing 7.0.10
in shell , php version of 7.0.10 was installed as environment variable so it returns php7 .
don't worry php 5 executes when you send request for wamp server
how to get it to 5.6
set php 5 in environment variables by removing php7
I have Apache installed on C:\Apache\ and conf on C:\Apache\conf\
When I try to install php 5.3.28 on Windows 8.1 with Apache 2.2.x web server Module I have an 'error 2356' and the php install can not be done !!!
Any ideas ?
Thanks for your help...
Apparently the archived versions of 5.3.28 and 5.3.29 on windows.PHP.net/downloads/releases/archives/ are corrupt as evidenced by their file sizes, 848k vs 47MB for 5.3.27.
Both PHP 5.2 and 5.3 are available for msi install from the archive page http://windows.php.net/downloads/releases/archives/
scroll down and you will find versions upto PHP 5.3.27
Use VC6 version of PHP and download from http://windows.php.net/downloads/releases/archives/
I used PHP 5.2.10 without this error 2356 on Windowc8.1 and Apache 2.2.25
I have got the same error in version 5.3.28. My OS version is win7.
I finally give up and turn to use the Microsoft web platform installer..It does helps and very convenient ,but the disadvantage is that it only supports window IIS server .
I ran the install using archived version 5.3.28 but the install failed with the error code 2356. I ran the install using archived version 5.3.29 and it works. File size looks ok now.
I installed Xampp currently on version 1.8.2 and comes with php version 5.4.16.
My server off of bluehost is currently on php version 5.2.17.
Is there a way to install the older version of php (5.2.17) on my Xampp so my local is compatible with my server?
Or...
Would I have to download an older version of Xampp (one that supports php 5.2.17 version)?
and if that is the case...
How would I know which Xampp version comes with php 5.2.17
Any help will be much appreciated!
Thank you,
Baraa
Well it turns out there is not an Xampp version that supports the exact php 5.2.17 version.
So I installed Xampp version 1.7.1 which supports php version 5.2.8.
And that made my local compatible with the php off of my server!
I am using Apache 2.2.21 with PHP 5.3.8 in my web development project in windows7 environment but the hosting management of the project can upgrade only to PHP ver. 5.2.
Is there a way to change php version inside XAMPP?
I just want to test if there are bugs appear if I use 5.2 php version.
Install WampServer. WampServer lets you install multiple versions of PHP, Apache and/or MySQL, and switch between them all via a menu option. ;)