PHP 7 support?
 
Notifications
Clear all

PHP 7 support?

16 Posts
3 Users
0 Reactions
3,707 Views
Posts: 13
Topic starter
(@peacemaker)
Active Member
Joined: 8 years ago

Does SolidCP offer PHP 7 support? I’ve been waiting for a demo, but didn’t receive it, so I went ahead and installed it myself on one of my servers.

 

However it seems, PHP lists only php 4 (lol, why is this even still a thing?), and php (5.x).

 

How can I get PHP 7 Support?

 

Also I installed PHP 5.x’s through Microsoft Web Deploy however when trying to install something like wordpress, it shows “Following dependices may be missing” and it lists php is missing.

 

Dug up some websitepanel stuff that says, not to install php through Microsoft Web Deploy? Should I uninstall it and reinstall using a direct install?

15 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

All versions of PHP are supported including PHP 7. If you install it via Web Platform Installer along with PHP Manager it should showup inside SolidCP.

Kind Regards,

Trevor Robinson

Reply
Posts: 13
Topic starter
(@peacemaker)
Active Member
Joined: 8 years ago

Hey trevor thank you for the response. Using the web platform installer, do I select the regular PHP 7 or PHP 7 for IIS?

Can users choose between the installed versions?

Example: One user uses php 5, another uses php 7 without conflicts?

Reply
1 Reply
Admin
(@trobinson)
Joined: 9 years ago

Noble Member
Posts: 1457

You will want to select the normal php version not the IIS Express.

Once you install multiple versions they are able to select it per website from a dropdown on SolidCP without any issues.

Reply
Posts: 13
Topic starter
(@peacemaker)
Active Member
Joined: 8 years ago

Awesome, so I got php 7 to show up in the per website, but any php file inside the directory always returns 404, even checking from the PHPManger in IIS, to check phpinfo returns 404.

 

Also about Configuration->Servers->My Server->Web->Web Extensions

There is a PHP 4.x Executable Path

and a PHP 5.x Executable Path

 

What is actually supposed to be there, taking in to consideration, I only want to support, PHP 5.x and Php 7.x

 

 

Edit: I'm realizing all services have to pretty much have to manually configured, unlike alternatives (cpanel, etc), which is completly fine as I'm still learning the solidCP ecosystem. Down the road, would this process be automated through powershell scripts, etc? Please correct me if I'm wrong.

 

Sorry for so many questions, Im trying to piece together a lot of scattered documentation.

Reply
1 Reply
Admin
(@trobinson)
Joined: 9 years ago

Noble Member
Posts: 1457

I would ignore the paths as they are not used when PHP Manager is installed.

Can you see if any events have been logged in the event manager?

Reply
Posts: 13
Topic starter
(@peacemaker)
Active Member
Joined: 8 years ago

Trevor it seems no events get logged to the event viewer.

I ran into this, that seemed to present a possible fix, but was also unsuccessful.

http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis#EnableFastCGI

 

 

Is PHPManager supposed to take care of the steps mentioned in the guide above?

Reply
1 Reply
Admin
(@trobinson)
Joined: 9 years ago

Noble Member
Posts: 1457

Hello,

You will need to manually install FastCGI but the rest should have been completed by the php manager. You should see the Handler Mappings which was created by the WebPI.

Reply
Page 1 / 2
Share: