Testing php scripts against versions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bassamba
    New Member
    • Sep 2006
    • 7

    Testing php scripts against versions

    hello all,
    i've been developing a website on my local phpdev.
    it uses PHP ver. 4.2.3. all works fine on my localhost.

    i uploaded the webiste on the hosting server, when i open the page in the browser i recieve a blank page. (even page source is empty).
    the server uses PHP ver. 4.3.4.

    how should what is the real cause of the problem? what should i look for.


    appreciate the help.

    -Bassam
  • michaelb
    Recognized Expert Contributor
    • Nov 2006
    • 534

    #2
    The error_log on the server could be a good place to start looking at.

    Comment

    • exoskeleton
      New Member
      • Sep 2006
      • 104

      #3
      hi, also experienced that case. when i uploaded to server then it was interrupted(los t connection or disconnected from server), my files became blank and the codings were gone. just try to upload it again....

      Comment

      • bassamba
        New Member
        • Sep 2006
        • 7

        #4
        that is not the problem, i downloaded the files via ftp to check them, they are not empty.
        i guess that this is version compatiblity issue.
        how can you know what functions to use and what not?

        Comment

        • ronverdonk
          Recognized Expert Specialist
          • Jul 2006
          • 4259

          #5
          To start, you could run phpinfo() on both PHP installations and see if there are any significant changes in the PHP setup of both systems.

          If there are not, you better install the up version (setrver version) at your private system. There are so many fixes implemented after 4.3.2 (and each of them could cause this because you know: almost every introduces a new error) that is is easier and a lot quicker to re-install PHP at the server level in your private environment and trace your script's behaviour.

          I am sorry that I cannot give an easy solution to this.

          Ronald :cool:

          Comment

          Working...