About 14,400,000 results
Open links in new tab
  1. How to get the PHP Version? - Stack Overflow

    35 Technically the best way to do it is with the constant PHP_VERSION as it requires no function call and the overhead that comes with it. php 5

  2. How do I change the default PHP base-version on shell?

    May 18, 2019 · When you issue the php command on the shell it uses the default php version on the server which in your case is php-5.4.16 To use another php version, you have to check …

  3. Find PHP version on windows command line - Stack Overflow

    Mar 20, 2013 · 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.

  4. Updating PHP Version in XAMPP on Windows 10 Without Losing …

    Mar 30, 2024 · Ultimately, I'm seeking guidance on the most effective approach to update the PHP version in my XAMPP environment on Windows 10 while preserving the database, as …

  5. Hiding PHP's X-Powered-By header - Stack Overflow

    Aug 26, 2014 · I know in PHP, it sends the X-Powered-By header to have the PHP version. I also know by appending some checksums, you can get access to PHP's credits, and some random …

  6. PHP version compatibility check - Stack Overflow

    Jul 18, 2015 · Install the PHP version you want to test and run php -l file.php to test if the file passes the lint check. If PHP is unable to parse the file, it will tell you. In general, you should …

  7. How to update specific PHP version on Windows? - Stack Overflow

    Apr 15, 2024 · Is there a way to update PHP via Terminal (Windows PowerShell) or Git Bash? Currently, I am on PHP 7.2, but I wanted to update it to 8.2.

  8. Set default PHP version of apache2 to a specific version

    Jun 7, 2022 · Currently the PHP version showing if I call phpinfo() is 8.0.19. I need to change it to 8.0.15. I already build 8.0.15 from source and changed the CLI PHP version successfully by …

  9. Running two PHP versions on the same server using Apache

    40 I finally managed to run my two projects in FastCGI on different PHP versions, thanks to the guys from the PHP subreddit. I uninstalled everything including Apache and started over …

  10. Switch php versions on commandline ubuntu 16.04 - Stack Overflow

    I have installed php 5.6 and and php 7.1 on my Ubuntu 16.04 I know with Apache as my web server, I can do a2enmod php5.6 #to enable php5 a2enmod php7.1 #to enable php7 When I …