options.conf list problem

Develop

Verified User
Joined
Jun 9, 2016
Messages
155
Location
Istanbul, TR
Hello;

./build set php5_cgi yes
#php5_cgi is not a valid option.


There is no options following:
php5_cgi yes
php5_cli no

After ./build options there is no.
 
You seem to be using CustomBuild 2.0, please use the following command there to set first PHP mode to suPHP:
Code:
./build set php1_mode suphp
 
Martynas already told you the command needed to switch to suphp.

After that you just need to recompile php with ./build php d

Regards
 
Hello,
I have installed plugin 2.0.0 (rev: 1557)
And I guess its really to easy change system to use suPHP with couple of choice in plugin.
Am I right?
 
Can I install 2 different php release on DA at the same time?

For example
Selected
Option 1 => php1_release ? : 5.5 php1_mode ? : suphp
Option 2 => php2_release ? : 7.0 php2_mode ? : suphp

Than

domain1.com use Option 1
domain2.com use Option 2

Best regards.
 
Selected:

php1 5.5 mod_php
php2 7.0 suPGP

WARNING: It's not recommended to use apache with mod_ruid2 & suPHP enabled. It's a redundant and slow combination.
 
Thank you very much for plugin creater and for your helps.
It's makes life easy. I installed and see PHP Version Selector on domain modify.

PHP Version Selector Handler Extension
First PHP PHP 5.5 mod_php php
Second PHP PHP 7 suphp php70

but phpinfo(); show always 5.5.36 whan I change priority.
 
Have you build php after the settings? What domain have you changed the version on? Are you trying the phpinfo on that domain?

Regards
 
If you've just changed the settings yes, you need to recompile PHP.
You need also to recompile Apache if you disabled mod_ruid2.
And you may need to issue a rewrite_confs aswell

Regards
 
Back
Top