Fatal error: Call to undefined function: php_version()
-
I unpacked and uploaded the files, and successfully ran through the installer which helped me create the wp-config file, but when I tried to run the install, I got this error:
Fatal error: Call to undefined function: php_version() in /var/www/sitename/html/blog/wp-settings.php on line 100
I checked the file it was referring to, lines 99-101 are as follows:
99 if ( version_compare( '4.3', phpversion(), '>' ) ) { 100 die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version %s but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/, php_version() ) ); 101 }
I’m not quite sure what the problem is! Has anyone else run into this error? What did you do about it?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error: Call to undefined function: php_version()’ is closed to new replies.