disable Apache MultiViews and some options ? how ?

eurobia

Verified User
Joined
Nov 19, 2015
Messages
5
Hello,
i am trying to run a fiverrscript and i need to have these

Apache MultiViews disabled
Ability to run PHP from the command line (CLI) with exec()
Ability to execute background processes with exec("binary > /dev/null &")

i wonder how to do that with DA because i could do it easily with cPanel and Zpanel before

you can check my website to see the error that i get
www.5co.us
 
Hello,

Apache MultiViews disabled

There is neither a button nor a checkbox to disable it with one-click, you need to customize httpd.conf for the needed domain:

- Adding custom httpd.conf code to the VirtualHosts of a domain
https://help.directadmin.com/item.php?id=3

- Apache Options Directive
http://httpd.apache.org/docs/2.4/mod/core.html#options

Ability to run PHP from the command line (CLI) with exec()

It should work by default, unless you ran ./build secure_php which disables exec();

Ability to execute background processes with exec("binary > /dev/null &")

And again It should work by default, unless you ran ./build secure_php​ which disables exec();

What do you see with

Code:
php -i | grep disable_functions
?

Code:
php --ini
?
 
replay

thanks alot for your help, for MultiViews i could find it and do it and for the commands i get these results

[root@sv2 ~]# php -i | grep disable_functions
disable_functions => no value => no value



[root@sv2 ~]# php --ini
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File: /usr/local/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)

still couldn't run my script :/ same problem
 
PHP settings (on your server) do not forbid using exec(), so it must be wrong path to the binary (or the binary is not installed), if it does not work properly.
 
Back
Top