• I need to update to PHP7 and have a question. My WordPress files are in mydomain.com/site/ while my index file is at mydomain.com/index.php as you do when you want all the admin stuff in a different folder. I have other php scripts in the mydomain.com folder that might not be ready for the change yet (working on it). If I update the /site/ folder but not the mydomain.com folder the index file is in, will this pose a problem? Basically, can index.php be in a folder with PHP 5.4 while everything else is in a folder that is PHP 7?

    Many thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • A bit confused here. Are you asking if you can run multiple versions of PHP on a single server?

    Thread Starter purvision

    (@purvision)

    No, I know I can do that. The host lets me choose PHP folder by folder if I want. I installed WordPress in the folder /site/ and then followed instructions to move the few files necessary to my main public folder so the website would come up as mydomain.com instead of mydomain.com/site/. I’m wondering if I change the /site/ folder to use php 7 if WordPress would mess up if the few files in my public folder are still under php 5.4 for now or if most of WordPress runs on 7 if the index file needs to as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP versions with multiple folders’ is closed to new replies.