Hi there,
I would like to run EXEC command with my domain on my server. domain: tigyisolution.hu
Where, what should I edit to run exec command. Exec don't write me any error, but I readed some about enable exec command and disable safe mode...
Hi there,
I would like to run EXEC command with my domain on my server. domain: tigyisolution.hu
Where, what should I edit to run exec command. Exec don't write me any error, but I readed some about enable exec command and disable safe mode...
Hello ;
Safe mode is not enabled with i-MSCP.
You can disable/enable exec function via php editor except if you are using ITK.
Thank you for using i-MSCP.
Display More
Hello ;
Safe mode is not activates in i-MSCP.
You can disable/enable exec function via php editor except if you are using ITK.
Thank you for using i-MSCP.
What does ITK. means? .. I should edit php.ini?
... Yep... It's disabled, but where to enable?
What does ITK. means? .. I should edit php.ini?
... Yep... It's disabled, but where to enable?
Re ;
You must not edit php.ini manually. Look at php editor in the panel.
ITK is a variant to use PHP with the webserver... maybe you use fastcgi or fcgid... then it's not itk...
How to enable exec?
use the built-in php-setting editor. Its in the domain-setting-editor which can be accessed with the reseller account
<i-mscp-url>/reseller/domain_edit.php?edit_id=xx
of course it should be enabled by the i-mscp admin for the reseller...
/J
Re ;
You must not edit php.ini manually. Look at php editor in the panel.
I see, but they are all green... What does show_source means?
I see, but they are all green... What does show_source means?
Teamviewer please
Display More
ITK is a variant to use PHP with the webserver... maybe you use fastcgi or fcgid... then it's not itk...
How to enable exec?
use the built-in php-setting editor. Its in the domain-setting-editor which can be accessed with the reseller account
<i-mscp-url>/reseller/domain_edit.php?edit_id=xx
of course it should be enabled by the i-mscp admin for the reseller...
/J
WRONG...
1. PHP editor must be enabled for the reseller by the admin (including permissions for disabled functions)
2. PHP editor must be be enabled by the reseller for the customer (including permission for disabled functions)
3. The customer must enable exec functiont via PHP editor.
I see, green means disabled... But if I enable cant my users attack my server?
[hr]
WRONG...
1. PHP editor must be enabled for the reseller by the admin (including permissions for disabled functions)
2. PHP editor must be be enabled by the reseller for the customer (including permission for disabled functions)
3. The customer must enable exec functiont via PHP editor.
No, I just enabled it in main config... It works, but don't run my exec command..
QuoteDisplay More<?php
if(function_exists('exec')) {
echo "exec is enabled";
}
print_r(exec_enabled());
/*** convert video to flash ***/
exec("ffmpeg -i /var/www/virtual/tigyisolutions.hu/boxy/htdocs/uploaded_files/770530705510e88ec723a3-20130111_1221_43.avi -ar 22050 -ab 32 -f flv -s 320x240 flash/video.flv", $output, $return);
var_dump($output);
?>
It wrotes only exec is enabled..
Display More
I see, green means disabled... But if I enable cant my users attack my server?
[hr]
No, I just enabled it in main config... It works, but don't run my exec command..
It wrotes only exec is enabled..
Re ;
Some PHP functions are considered dangerous but that also depends in the way PHP is running. Normally, with i-MSCP, it's relatively safe since each user is running PHP with its own privileges and file permissions are correctly set.