Skip to main content

enable proc_open

Comments

16 comments

  • cPanelLauren
    Hello, Unless in disabled_functions it should be enabled by default - can you tell me which PHP handler you're using?
    0
  • Ayesha Sarwar
    I did the same thing. But it is not enabling my proc_open function even though I have enabled it using the php ini editor. Could you help me please resolve this issue because I have tried almost all the solutions available on internet but nothing seems to work and I have to deploy my site.
    0
  • Ayesha Sarwar
    Hello I wanna enable proc_open on my server I use PHP 7.3

    Have you been able to resolve it because nothing is working for me.
    0
  • cPRex Jurassic Moderator
    @Ayesha Sarwar - can you try the details that @fajryassin provided and let me know if you still see issues?
    0
  • George_Fusioned
    Hello Yes, I solved it. Open Software --> MultiPHP INI Editor --> Editor Mode, Then select your PHP version Then search for (disable_functions) add (proc_ope) on line and save

    Wait, to enable the function you added "proc_open" to disable_functions and it started working?
    0
  • Ayesha Sarwar
    Hello Yes, I solved it. Open Software --> MultiPHP INI Editor --> Editor Mode, Then select your PHP version Then search for (disable_functions) add (proc_ope) on line and save

    It didnt work for me ;-;
    0
  • cPRex Jurassic Moderator
    @Ayesha Sarwar - are you trying to get function enabled or disabled? If you are trying to enable the function you will want to make sure it is not listed on the disable_functions line.
    0
  • Ayesha Sarwar
    @Ayesha Sarwar - are you trying to get function enabled or disabled? If you are trying to enable the function you will want to make sure it is not listed on the disable_functions line.

    I want to enable it. I had not written it in the line for disable_functions but it still gives me the error.
    0
  • Ayesha Sarwar
    @Ayesha Sarwar - can you try the details that @fajryassin provided and let me know if you still see issues?

    yes, same issue :(
    0
  • cPRex Jurassic Moderator
    I'm sorry to hear that isn't working well, although that is something I would normally expect to be enabled by default. Your user profile indicates that you do not have root access to the server, so the best way to get this resolved would be to speak with your hosting provider or datacenter to have them check the PHP settings on their end for you. If you do have root access, you could open a ticket with our support team using the link in my signature and we'd be happy to take a look at the machine for you.
    0
  • Ayesha Sarwar
    I'm sorry to hear that isn't working well, although that is something I would normally expect to be enabled by default. Your user profile indicates that you do not have root access to the server, so the best way to get this resolved would be to speak with your hosting provider or datacenter to have them check the PHP settings on their end for you. If you do have root access, you could open a ticket with our support team using the link in my signature and we'd be happy to take a look at the machine for you.

    Actually, I donot have this account of mine. I have to deploy a website of someone else. Just found out that they have a cpanel account on hostingmadeeasy.com. Could it be because of this?
    0
  • cPRex Jurassic Moderator
    It's totally possible there are additional restrictions in place by that specific hosting provider, but that isn't something we would know on our end. If you can speak with them they should be able to tell you what is happening with the PHP configuration.
    0
  • Ayesha Sarwar
    It's totally possible there are additional restrictions in place by that specific hosting provider, but that isn't something we would know on our end. If you can speak with them they should be able to tell you what is happening with the PHP configuration.

    Alright. Thanks a lot. Is there any other way to skip the use of proc_open, and still be able to send mails?
    0
  • cPRex Jurassic Moderator
    That would be up to your PHP script that you are using to send the mail. Normal webmail activity will work fine, as this would only affect mail from a script on a website.
    0
  • Raphael Ogazie

    I wanted to post something related to this before I saw the similar article, my challenge is that I uploaded a laravel script and a page in the script shows me a error saying "proc-open" and I contacted other fellow developers the said it's server issues and I contacted my server provider the said the don't understand what that means. And that same thing occurred in another site pls what is the your suggestion @cPRex, should I change server? 

    Cause this has made me shut down the hosting for this websites.

    0
  • cPRex Jurassic Moderator

    Raphael Ogazie - I edited your post to remove the domain names as we can't share public information in the community.

    Do you have root access to the server?  As other users have mentioned, this function isn't disabled by default on cPanel systems so I wouldn't expect this to be unavailable to your account.

    If you don't have root access you'll need to contact your host to have them check the issue.

    0

Please sign in to leave a comment.