Hi all,

I am getting this error on my server when i am trying to parse WDDX packet..

Fatal error: Call to undefined function: wddx_deserialize() in /var/www/html/xyz/phpinfo.php

Please can any one tell how to avoid this error?. I hope i need to inastall wddx.so or enable it in php.ini???

where can i getwddx.so....??

Thanks,
sharma

    Yes you must install the library to work with php! Check out the php manual:

    Introduction
    These functions are intended for work with WDDX.
    Requirements
    In order to use WDDX, you will need to install the expat library (which comes with Apache 1.3.7 or higher).
    Installation
    After installing expat compile PHP with --enable-wddx.

    The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.

    WDDX - PHP Manual

    WDDX

      Hi,

      Thanks for your reply. I am using php on linux. But i don't know how to compile php?. And How can I replace(disturb) the exsiting php installation on my webserver. I have SSH root access. can you guide me how?

      Thanks,
      sharma

        I've never compiled php myself - so you will need to check out the php site - but someone else might be able to help here!

        However, its important to know if ther server is yours / can you restart the server..

          Hi Sharma

          Me again. What exactly is your setup? You have Linux at home and you don't have LAMP set up? Or is it the case that you test your scripts by FTPing to your hoster on a remote server which is running LAMP?

          I suspect the latter. If that's the case, you will only be allowed to re-compile PHP if you have a root server. Do you have a root account on your webserver? If you have SSH access, I assume so. You need to open your SSH and go through exactly the same steps as would be required for recompiling PHP at home. In this case, PHP is already installed. You need to find out the version and then decide whether to stick with that version or upgrade. If you are simply recompiling the existing version, the procedure is easy:

          /.configure --enable-wddx /*You need several other parameters here.
          Check your config.log for the previous configure statement*/
          make
          make install

          If LAMP is already set up on your webserver, the appropriate alterations to the httpd.conf files for Apache/PHP will already be in place, so you won't have to worry about it.

          If, however, you want to set up LAMP from scratch on a Linux box at home or work, you need to start with Apache, then MySQL, then PHP - in that order. The procedure for compiling the sources is in each case the same: configure, make, make install. However, you'll have to read up about the parameters available and make your own decisions about which parameters should be used. You also need to make sure that the full panoply of C/C++ compiler tools are installed. This includes glibc, gcc, zlib and dozens of others. If you have a package manager, just install absolutely everything under C/C++ tools and libraries. Lord knows what they all do, but you need them. One note of warning - the compiler packages often come as a basic tool and a development library. You need both - they often don't tell you that in the docs and manuals.

          HTH - post back if I've missed the mark completely.

          Norm 🆒

            Hi Norm,
            Really great to see your instant , supportive and descriptive answer to my question. I will do as you said above and let you know the outcome.

            I am workign undercase 2 of your reply

            [case that you test your scripts by FTPing to your hoster on a remote server which is running LAMP]

            NOte:Tomorrow i will try and get back to you..

            Thanks a lot...
            sharma

              Write a Reply...