• Hello,
    i have a synology box and i wanted to self host. the install went well and wordpress does come up. however i get a warning that i am running PHP 5.6. well i know that is an issue so i installed 7.2 and went though the process that 2 sites verified to change from 5.6 to 7.2 . i made the change and it appeared to be successful.

    I installed a plugin to show the version of PHP that wordpress sees and it said it was still 5.6 . so i dug deeper.

    I installed phpMyAdmin and then configured the enable.conf file to use php 7.2 . i then accessed phpMyAdmin and confirmed that its running 7.2 .

    so i access wordpress and it still says its seeing 5.6 . synology will not let me uninstall 5.6 as it is required for the wordpress install.

    so i feel that wordpress is still 5.6 version . am i wrong??

    i hope i added enough details. i did leave out a lot of research and swearing at my computer. any help would be great.

    • This topic was modified 5 years, 5 months ago by catfish182.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @catfish182,

    I believe it is a configuration issue of the web-server and nothing to do with WordPress itself since it is just a framework of PHP code.

    Could you explain what specific changes did you do to enable PHP 7.2 for the phpmyadmin?

    Could you please try to do a phpinfo in a file inside the root directory of the WP site? i.e. create a file say test.php in the same location as the index.php file of WordPress is present. This will give us the direct details about the PHP version loaded.

    Could you also check which PHP version is loaded for the web-server in the mods_enabled folder of apache? You should see files like a php7.2.conf and php7.2.load files only. You should also check the .htaccess file (if using the Apache web-server with its PHP module).

    Or are you running a PHP-FPM based configuration? Then there may be a scenario that for your WordPress installation, the PHP version could be changed via the Apache site config. If so, try removing the necessary config and recheck the PHP version getting loaded.

    Did you disable the old version and enable the new version. Did you point the files to use the new version.

    https://websiteforstudents.com/upgrading-wordpress-php-7-1-to-php-7-2-to-php-7-3-on-ubuntu-16-04-18-04-with-apache2/

    I have all my php notes at

    https://wp.scsiraidguru.com/?page_id=2927

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Also, look in your .htaccess file to see if a specific version of PHP is specified there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP version on synology still 5.6 after i forced a change to 7.2 .’ is closed to new replies.