Installed 2 version of php, how to enable?

maorbari

Verified User
Joined
Nov 8, 2013
Messages
21
Hi,

I have installed php 5.5 and php 5.6 on the server.

php 5.6 is realeas 2.
How to start php 5.6 on some websites by htaccess?
Thank you!
 
Hello,

Directadmin+Custombuild 2.x allows to switch PHP version on domain edit page at user level. You should use a default skin, other 3rd party skins might miss this feature.
 
Thank you!
I installed 2 versions.
5.6 with PHP-FPM as main
5.3 with mod_php as second

its ok?

And more issue, I cant start memcache in php 5.6.
In 5.3 its works fine.

I reinstall memcache and add to php56/lib/php.ini the memcache.so line and it still tell me there is no memcache plugin onlly in 5.6 version.

How to fix it?
 
sorry to kick up an older thread, with all reading in here i was able to setup 2 php 5.6 and 7.0 now i would like to add this switch but i am clueless how to do this part, i am relative new to this and was allready happy to get mine vps updated with this forum guidelines

i checked ftp no luck i checked filemanager in directadmin on admin level but also no luck, i cant find the file which is specified here and would love to have the switch function in directadmin self
hope someone can help me out with babysteps ;):o
 
Back
Top