MRatWork Forum by Mustafa Ramadhan

General Discussions => GNU/Linux Helps => Topic started by: digitaltech on 2016-08-23, 14:17:25

Title: php.ini & .htaccess
Post by: digitaltech on 2016-08-23, 14:17:25
dear Mustafa,
how to make every domain working seperately with its php.ini and .hataccess?
I notice that opt/php.ini is the master file for all domains in one server. as you know some scripts like wordpress/opencart/ elgg and others require specific setting for php. how to set this point without affecting the other domains.
I am using php54m as brach and used branch,multiple php is installed also and php-fpm_event

thank you in advance

many regards
Title: Re: php.ini & .htaccess
Post by: MRatWork on 2016-08-23, 14:51:52
If using Kloxo-MR, you can choose different php version via 'web features'. Yes, no options for different php.ini for each domain because php based on client/user.
Title: Re: php.ini & .htaccess
Post by: digitaltech on 2016-08-23, 15:10:12
thanks for prompt reply, i am using kloxo-mr 7. just to confirm,  have to have edit opt/php.ini for any changes. is there any command to execute after editing php.ini  ?

thanks again Mustafa for support
Title: Re: php.ini & .htaccess
Post by: MRatWork on 2016-08-23, 15:29:25
Don't edit php.ini directly but use 'php configure' (also 'advanced php configure').
Title: Re: php.ini & .htaccess
Post by: digitaltech on 2016-08-27, 09:57:59
Thank you for the advice, however i have to change allow_url_include from on to off?
which php.ini to configure?
Title: Re: php.ini & .htaccess
Post by: MRatWork on 2016-08-27, 15:48:55
Thank you for the advice, however i have to change allow_url_include from on to off?
which php.ini to configure?
In 'advanced php configure' for every client (including admin) and server.