Simple Backup
[resolved] How to enable functions in php.ini? (4 posts)

  1. tsturdivant
    Posted 2 years ago #

    How do I enable 'exe' and 'passthru' functions in php.ini? Please provide the code. Thanks


  2. ChrisHurst
    Plugin Author

    Posted 2 years ago #

    The php.ini file most likely contains something like the following:

    disable_functions =exec,passthru...

    You should remove the functions you would like to enable from that list.
    You may also need to restart your apache web service.

    Thank You!

  3. tsturdivant
    Posted 2 years ago #

    I have removed the 'passthru' from disable_functions but I still receive the error below. How do I restart apache service?

    Disabled Functions: ini_alter,system,passthru,shell_exec,leak,listen,chgrp,apache_setenv,define_syslog_variables,openlog,syslog,ftp_exec,posix_getpwuid,posix_getpwnam,symlink

    Please enable 'passthru' function in php.ini!

    Also, which 'exec' file should I remove? There are a couple, 'shell_exec' and 'ftp_exec'

    Thanks for the help.

  4. ChrisHurst
    Plugin Author

    Posted 2 years ago #

    You can try "service httpd restart" if you have SSH access.
    If you do not have SSH access than your web host should have a way for you to restart the service.

    As far as the 'exec' it does not appear to be in the list of disabled functions, so you do not need to worry about it most likely.

    Thank You!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Backup
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.