Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

PHP Webserver on DM800? can it be done?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bazinga
    Experienced Member
    • Aug 2011
    • 418

    #31
    Re: PHP Webserver on DM800? can it be done?

    I created symbolic link of usr/

    to

    /media/hdd/srv/php/lib/php/extensions/no-debug-non-zts-20020429/

    and changed the php.ini file

    [PHP]
    extension=usr/lib/libcurl.so.4.1.1
    (the commands you posted did not work)

    retarted apache and here is the log:

    [Thu Aug 25 21:11:19 2011] [notice] SIGHUP received. Attempting to restart
    PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'usr/lib/libcurl.so.4.1.1' in Unknown on line 0
    [Thu Aug 25 21:11:20 2011] [notice] Apache/1.3.41 (Unix) PHP/4.4.9 configured -- resuming normal operations
    [Thu Aug 25 21:11:20 2011] [notice] Accept mutex: sysvsem (Default: sysvsem)
    DM800HD Clone Satellite
    VU+ Duo Genuine
    SlingBox Pro HD / Sling Player - Fibrelink

    Oh Enigma2, You're my favourite linux based operating system.

    Comment

    • whinpo
      Senior Member
      • Jul 2011
      • 177

      #32
      Re: PHP Webserver on DM800? can it be done?

      in php.ini :

      [PHP]
      extension=/usr/lib/libcurl.so.4.1.1

      and copy the file file to /srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/libcurl.so.4.1.1

      Comment

      • Bazinga
        Experienced Member
        • Aug 2011
        • 418

        #33
        Re: PHP Webserver on DM800? can it be done?

        Originally posted by whinpo
        in php.ini :

        [PHP]
        extension=/usr/lib/libcurl.so.4.1.1

        and copy the file file to /srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/libcurl.so.4.1.1
        libcurl.so.4.1.1 is a file not a folder

        so do you mean copy it to /srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/ ?
        DM800HD Clone Satellite
        VU+ Duo Genuine
        SlingBox Pro HD / Sling Player - Fibrelink

        Oh Enigma2, You're my favourite linux based operating system.

        Comment

        • whinpo
          Senior Member
          • Jul 2011
          • 177

          #34
          Re: PHP Webserver on DM800? can it be done?

          yep
          copy the file where it tries to load it from

          Comment

          • Bazinga
            Experienced Member
            • Aug 2011
            • 418

            #35
            Re: PHP Webserver on DM800? can it be done?

            Originally posted by whinpo
            yep
            copy the file where it tries to load it from
            ok removed the symbolic link and copied the actual file. made no difference.

            [Thu Aug 25 21:43:11 2011] [warn] child process 17862 did not exit, sending another SIGHUP
            [Thu Aug 25 21:43:11 2011] [warn] child process 17863 did not exit, sending another SIGHUP
            [Thu Aug 25 21:43:13 2011] [notice] SIGHUP received. Attempting to restart
            PHP Warning: Unknown(): Invalid library (maybe not a PHP library) '/usr/lib/libcurl.so.4.1.1' in Unknown on line 0
            [Thu Aug 25 21:43:13 2011] [notice] Apache/1.3.41 (Unix) PHP/4.4.9 configured -- resuming normal operations
            [Thu Aug 25 21:43:13 2011] [notice] Accept mutex: sysvsem (Default: sysvsem)
            DM800HD Clone Satellite
            VU+ Duo Genuine
            SlingBox Pro HD / Sling Player - Fibrelink

            Oh Enigma2, You're my favourite linux based operating system.

            Comment

            • whinpo
              Senior Member
              • Jul 2011
              • 177

              #36
              Re: PHP Webserver on DM800? can it be done?

              try to put yourself in the same situation as when we had the msg :
              PHP Warning: Unknown(): Unable to load dynamic library '/srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/libcurl.so.4.1.1' - /srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/libcurl.so.4.1.1: cannot open shared object file: No such file or directory in Unknown on line 0
              and then copy the file in the /srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/ directory

              Comment

              • Bazinga
                Experienced Member
                • Aug 2011
                • 418

                #37
                Re: PHP Webserver on DM800? can it be done?

                Originally posted by whinpo
                try to put yourself in the same situation as when we had the msg :

                and then copy the file in the /srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/ directory
                thats what I already done, I copied 'libcurl.so.4.1.1' file to

                srv/php/lib/php/extensions/no-debug-non-zts-20020429/usr/lib/
                DM800HD Clone Satellite
                VU+ Duo Genuine
                SlingBox Pro HD / Sling Player - Fibrelink

                Oh Enigma2, You're my favourite linux based operating system.

                Comment

                • whinpo
                  Senior Member
                  • Jul 2011
                  • 177

                  #38
                  Re: PHP Webserver on DM800? can it be done?

                  but you need to get back at the situation I mentioned in my previous post (where we had the error message), it was the best situation we've had

                  so : delete the file in /srv/php.......
                  put the php.ini as it was when we had the error message

                  you first need to obtain the same error message as we've had.

                  after that copy the file to the location it searches it

                  I'm going to bed, keep me informed

                  Comment

                  • Bazinga
                    Experienced Member
                    • Aug 2011
                    • 418

                    #39
                    Re: PHP Webserver on DM800? can it be done?

                    to get that exact error message that you mentioned, all i had to do is remove the front " / " from

                    php.ini

                    like this

                    extension=usr/lib/libcurl.so.4.1.1
                    DM800HD Clone Satellite
                    VU+ Duo Genuine
                    SlingBox Pro HD / Sling Player - Fibrelink

                    Oh Enigma2, You're my favourite linux based operating system.

                    Comment

                    • whinpo
                      Senior Member
                      • Jul 2011
                      • 177

                      #40
                      Re: PHP Webserver on DM800? can it be done?

                      ok
                      in fact I was tired...
                      I didn't well readl the lessage :

                      that means the lib we're trying to add is not the good one...

                      try :
                      ipkg list | grep libc

                      you should find php-curl which is the one we need to install

                      Comment

                      • Bazinga
                        Experienced Member
                        • Aug 2011
                        • 418

                        #41
                        Re: PHP Webserver on DM800? can it be done?

                        Originally posted by whinpo
                        ok
                        in fact I was tired...
                        I didn't well readl the lessage :

                        that means the lib we're trying to add is not the good one...

                        try :
                        ipkg list | grep libc

                        you should find php-curl which is the one we need to install
                        this is what I get when type that command, doesnt mean anything to me.

                        eglibc-gconv - 2.10-r8.6
                        eglibc-gconv-iso8859-15 - 2.10-r8.6
                        libc6 - 2.10-r8.6
                        libcrypto0.9.8 - 0.9.8j-r11.0
                        libcurl4 - 7.19.7-r3
                        DM800HD Clone Satellite
                        VU+ Duo Genuine
                        SlingBox Pro HD / Sling Player - Fibrelink

                        Oh Enigma2, You're my favourite linux based operating system.

                        Comment

                        • whinpo
                          Senior Member
                          • Jul 2011
                          • 177

                          #42
                          Re: PHP Webserver on DM800? can it be done?

                          there should be a way to install php-curl...
                          it's not easy without an access...and I've an old Dbox, so no way to install ipkg packages...

                          do you have a way to give me access in command line to your dbox?

                          Comment

                          • Bazinga
                            Experienced Member
                            • Aug 2011
                            • 418

                            #43
                            Re: PHP Webserver on DM800? can it be done?

                            Originally posted by whinpo
                            there should be a way to install php-curl...
                            it's not easy without an access...and I've an old Dbox, so no way to install ipkg packages...

                            do you have a way to give me access in command line to your dbox?
                            dont know how to do that but I think we'll give it a rest here, im starting to think maybe curl is not compatible with the apache/php version I downloaded.
                            if anyone esle have any other solution please let us know.
                            I will still leave the apache & php setup as it is.
                            DM800HD Clone Satellite
                            VU+ Duo Genuine
                            SlingBox Pro HD / Sling Player - Fibrelink

                            Oh Enigma2, You're my favourite linux based operating system.

                            Comment

                            • whinpo
                              Senior Member
                              • Jul 2011
                              • 177

                              #44
                              Re: PHP Webserver on DM800? can it be done?

                              ok, as you wish

                              Comment

                              • Bazinga
                                Experienced Member
                                • Aug 2011
                                • 418

                                #45
                                Re: PHP Webserver on DM800? can it be done?

                                Originally posted by whinpo
                                ok, as you wish
                                do you know the purpose of cURL? maybe their is an alternative of rapidleech that doesn't require cURL?
                                DM800HD Clone Satellite
                                VU+ Duo Genuine
                                SlingBox Pro HD / Sling Player - Fibrelink

                                Oh Enigma2, You're my favourite linux based operating system.

                                Comment

                                Working...