php_gd and win2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pewpew

    php_gd and win2003

    Hello,

    I'm doing a migration of my web serve from iis 5 to iis 6.

    I solved nearly all my problems but i can't solve this one

    with php_dg when id do
    ImageGif($Im)
    i get an error
    imagegif: unable to open temporary file in
    <b>C:\UMO\unime d\lib\php\curse ur.php</b> on line <b>73</b><br>


    My question is : what temporary directory php_gd use on win 2003 ?

    thank's

    Laurent


  • Mike Willbanks

    #2
    Re: php_gd and win2003

    Laurent,[color=blue]
    > My question is : what temporary directory php_gd use on win 2003 ?[/color]

    It uses the temporary directory that is specified in the php.ini file
    for temporary files.

    Mike

    Comment

    • Pewpew

      #3
      Re: php_gd and win2003

      "Mike Willbanks" <pencap@gmail.c om> a écrit dans le message de news:
      xPBge.7988$fY4. 5326@fe07.lga.. .[color=blue]
      > Laurent,[color=green]
      >> My question is : what temporary directory php_gd use on win 2003 ?[/color]
      >
      > It uses the temporary directory that is specified in the php.ini file for
      > temporary files.
      >
      > Mike[/color]


      i "solved" the problem by giving write autorization on c:\ to the IISUSER
      user
      it's very dangerous and i'd like to spécify a directory

      do you mean "upload_tmp_dir ' parametre in php.ini (i'm using php 4.0.1)?

      Laurent


      Comment

      • Mike Willbanks

        #4
        Re: php_gd and win2003

        Laurent,[color=blue]
        > i "solved" the problem by giving write autorization on c:\ to the IISUSER
        > user
        > it's very dangerous and i'd like to spécify a directory
        >
        > do you mean "upload_tmp_dir ' parametre in php.ini (i'm using php 4.0.1)?[/color]

        You should really not use anything less than 4.2 or 4.3 even. Try to
        stay with the latest PHP4 build if at all possible you are missing a
        bunch of security updates and huge updates to the system itself.

        It is very dangerous for what you just did and very dangerous to have an
        outdated installation.

        Mike

        Comment

        • Pewpew

          #5
          Re: php_gd and win2003

          "Mike Willbanks" <pencap@gmail.c om> a écrit dans le message de news:
          9cQge.6680$rt1. 2409@fe04.lga.. .[color=blue]
          > Laurent,[color=green]
          >> i "solved" the problem by giving write autorization on c:\ to the IISUSER
          >> user
          >> it's very dangerous and i'd like to spécify a directory
          >>
          >> do you mean "upload_tmp_dir ' parametre in php.ini (i'm using php 4.0.1)?[/color]
          >
          > You should really not use anything less than 4.2 or 4.3 even. Try to stay
          > with the latest PHP4 build if at all possible you are missing a bunch of
          > security updates and huge updates to the system itself.
          >
          > It is very dangerous for what you just did and very dangerous to have an
          > outdated installation.
          >
          > Mike[/color]


          i thing i will update it.
          but i have to check my code before, it seems that somme function changed
          between 4.0.1 and last release

          Thanks

          Laurent


          Comment

          Working...