Different php versions

I install laravel and run into some problems:

I got an error saying that my php version is not> 5.5.9. However, when I run the test phpinfo();, it returns 5.5.28 . When I use putty ( php -v), I get 5.3.3 .

I started working with Google (and especially on this site), and one solution was to modify the httpd.config file ( https://github.com/Homebrew/homebrew-php/issues/1009 ), however adding the LoadModule php5_module /usr/local/opt/php55/libexec/apache2/libphp5.sodoes not work (this no file). What else should I try? My OS is CentOS 6.5.

+4
source share
2 answers
0

CentOS, Debian/Ubuntu, php5 ( -) php5-cli ( ) . , , PHP.

, , : php5-cli 5.3.3. Laravel composer, . , 5.3.3 , . , Laravel , .

:

  • PHP . , . php5-cli , , , , .

  • Laravel, . , . , Laravel script - . Laravel , PHP - ; , , composer ...

+2

Source: https://habr.com/ru/post/1606361/


All Articles