WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. tsturdivant
    Member
    Posted 1 year ago #

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

    http://wordpress.org/extend/plugins/simple-backup/

  2. ChrisHurst
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.