• Hi, I’m new to WordPress. I have my site running now, and wanted to use some plugins but new plugins require a higher PHP version. When I tried updating the PHP from 4.1x the site no longer works and gives me an error 404.

    What are the critical files in my server that I need to check after the PHP update?

Viewing 1 replies (of 1 total)
  • Hi,

    I’m supposing you’re running your own CentOS7 server.

    When I tried updating the PHP from 4.1x the site

    Since you’re asking about upgrade instructions, it might be helpful to mention exactly what you did with your previous upgrade attempt.

    Usually a simple yum install php will install or upgrade your PHP to the latest distro version, or a yum update will update your entire server, including PHP.

    What are the critical files in my server that I need to check after the PHP update?

    You might run php --version to check the currently active PHP version.

    You might also create a <?php phpinfo(); ?> file and view it in your browser to test if PHP is working correctly, and what version and extensions are active.

    And this being a server-specific question, you’re more likely to get quicker response on sysadmin forum like Stack Overflow’s Server Fault website.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘How do I update PHP version in CentOS7’ is closed to new replies.