options.conf list problem

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

cd /usr/local/directadmin/custombuild
./build php
./build apache
./rewrite_confs
 
When I check roundcube

CONFIGURATION ERROR

config.inc.php was not found.
Please read the INSTALL instructions!
 
I fixed issue
cd /var/www/html/roundcube/conf
cp config.inc.php config.inc.php_orginal
chmod 644 config.inc.php

Thats all.

Is ıt any problem make config.inc.php chmod 644 ?

Best regards.
 
I have tried to set user custom php.ini in user's public_html folder. (suPHP)

I found guide below how to do it.
-----
[How to] fix ini_set() has been disabled for security reasons
1. Create php.ini file inside your public_html folder, OR the folder in which you have installed your script, and paste the following code into it:

disable_functions = allow_url_fopen, escapeshellarg, escapeshellcmd, ini_alter, passthru, parse_ini_file, popen, proc_open, proc_close, proc_terminate, proc_get_status, proc_nice, readfile, show_source, system

If you already have the disable_functions line, just append the code to match what is above.

2. Open .htaccess file inside your public_html folder and append the following line:

suPHP_ConfigPath /home/username/public_html/ In case you don't have .htaccess file there, you need to create it.
------

There is php.ini in user public_html folder also suPHP_ConfigPath in .htaccess for path.
That way won't worked user > public_html >php.ini and .htaccess
 
Last edited:
Back
Top