Announcement Announcement Module
Collapse

myhosting.com Forum Guidelines

Welcome to the myhosting.com Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other myhosting.com Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
Trying to Install Pear Package Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trying to Install Pear Package

    Greetings,

    I tried to install the uploadprogress PECL package using the PEAR Package Manager, and I got the following error message:

    Warning: popen() has been disabled for security reasons in /var/www/domains/popupsinc.com/docs/mypear/PEAR/PEAR/Builder.php on line 440

    So it appears that the popen function failed because it is listed in the disable_functions directive in the configuration file (php.ini).

    Is it possible to have the popen function removed from disable_functions... even temporarily?

    Thanks,
    Shane.

  • #2
    Hi Shane. Unfortunately, popen is disabled because of its potential for abuse. Because of this, allowing its use, even just for a short period of time, is too much of a security risk.

    Cheers,
    Nick

    Comment


    • #3
      popen

      Hi Nick,

      Could I temporarily enable popen locally? Maybe using a local php.ini file?

      I'm trying to add a progress meter to an upload form. PHP doesn't have this capability, which is why I'm trying to install the uploadprogress package.

      Thanks,
      Shane.
      Last edited by sgoodman; 2009-11-07, 04:33 AM. Reason: clarification

      Comment


      • #4
        Hi Shane. Unfortunately, that's not possible. If we allowed users to craft their own php.ini files, they'd have the ability to abuse our servers.

        All shell-related commands are disabled for this reason. Eg: shell_exec(), backticks, popen(), passthru(), etc.

        Comment


        • #5
          UploadProgress Package

          Nick,

          Could someone install the uploadprogress package for me?

          Thanks,
          Shane.

          Comment


          • #6
            Hi Shane. I've asked our Operations team if they can install the package. As soon as I hear back, I'll let you know.

            Cheers,
            Nick

            Comment


            • #7
              UploadProgress Package

              Nick,

              Thanks for checking. I've been working on this for a long time and it would be great to get it figured out.

              Shane.

              Comment


              • #8
                Hi Shane. I've just finished speaking with our Operations team. Unfortunately, the uploadprogress package won't be installed.

                I'm sorry about not being able to install it. However, I recommend giving jQuery Uploader or Yahoo! UI Uploader a whirl.

                Have a great weekend!
                Nick

                Comment


                • #9
                  PEAR and PECL

                  Nick,

                  That's disappointing. Do you think you will ever offer PEAR and PECL in the future?

                  Shane.

                  Comment


                  • #10
                    I know how disappointing things like this can be, Shane. I've been bitten by them in the past, too.

                    I'm looking into whether we'll be able to offer PHP PEAR and/or PHP PECL in the near future. As soon as I find out, I'll let you know.

                    Cheers,
                    Nick

                    Comment

                    Working...
                    X