Skip to content

Instantly share code, notes, and snippets.

@MahbbRah
Created August 27, 2019 02:58
Show Gist options
  • Save MahbbRah/bd4e7c8905c118dffeacd44934a7c450 to your computer and use it in GitHub Desktop.
Save MahbbRah/bd4e7c8905c118dffeacd44934a7c450 to your computer and use it in GitHub Desktop.
Enable exec shell_exec in php
By default in Xampp, wamp server you can't run these functions `exec` or `shell_exec` to run these shell commands you
need to edit `php.ini` file and add/edit this command to like this `set safe_mode_exec_dir (line after = is empty, so IT IS ON!!!) set it off!`
for more: https://stackoverflow.com/questions/12757891/enable-shell-exec-in-wamp-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment