Configuration or runtime error?

Discussion in 'PHP' started by cipango, Nov 10, 2005.

  1. #1
    I am running IIS6 and I installed php. I have a domain and can get the
    test.php script (the one that displays info on php configuration) to
    work from within the domain directory, but I get this error when I
    access needed .php files that create a new account:


    (here I took out the full path to the domain directory)
    ---------------------------------------------------------------------------­---------
    Warning: main(<path>\www\newsite\lib\adodb/adodb-iterator.inc.php) [function.main]: failed to
    open stream: No such file or directory in <path>\www\newsite\lib\adodb/adodb.inc.php on line
    4611


    Warning: main() [function.include]: Failed opening
    '<path>\www\newsite\lib\adodb/adodb-iterator.inc.php' for inclusion
    (include_path='.;C:\php5\pear') in <path>\www\newsite\lib\adodb/adodb.inc.php on line 4611


    Fatal error: Class 'ADODB_BASE_RS' not found in <path>\www\newsite\lib\adodb/adodb.inc.php on
    line 4625
    ---------------------------------------------------------------------------­---------


    I want to mention that I moved the domains from an old Win2003 server
    running Php4 to another Win2003 running Php5 . The path c:\php5
    mentioned above never existed, it was c:\php on the old server, and so is on the new one.
    What is the issue here?
     
    cipango, Nov 10, 2005 IP
  2. dataman

    dataman Peon

    Messages:
    94
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Check to see if where your PHP.INI file is. It should be in *c:\windows or c:\winnt *. If it not there place it there then make sure you full stop * World Wide Web Publishing Service * then start it for the changes to take place. Just restarting IIS will not work if your using ISAP PHP! Also you need to set your include_path in your PHP.INI file. Set a path that point to your document root!

    If the server root is...

    C:\inetpub\wwwroot

    Then set that in your include_path with the path to pear following it!

    example...

    include_path = "c:\inetpub\wwwroot;c:\php\pear"


    jb
     
    dataman, Nov 10, 2005 IP