SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Zealot Podge's Avatar
    Join Date
    Aug 2000
    Location
    Dublin, Ireland
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry about the title, but I've tried everything I know and I cannot get it to work properly.

    Windows 2000 Advanced Server.
    128 MB Ram
    600 Mhz PIII
    MySql 3.23.27 beta (recommended release)
    PHP 4.0.3pl1
    150-250 concurrent users

    I've installed PHP 4.0.3pl1 from http://www.php.net. Placed the php.ini in the winnt folder, configured IIS 5, i.e. mapped .php to php.exe and .php4 to the isapi dll.

    Restarted the server.

    I get this on my .asp pages

    -2147417842 (0x8001010e)

    Sometimes it shows the asp source code!

    Php pages work slowly but sometimes cause memory exceptions.

    I've tried the Easywindows automatic installer for php also with no luck.

    I'm nearly positive I've installed php correctly, could it be a memory issue?

    Any ideas?



    Padraic Lavin

    Advertising Free Message Boards $5/mo
    Instant Setup. ForumCo.com

  2. #2
    SitePoint Evangelist
    Join Date
    May 2000
    Location
    Canada
    Posts
    533
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i doubt its hardware.. i blame Microsoft ...

    Regards,
    Vinay Sahni
    SitePoint Community Moderator
    myPHPhost.com: mySQL 3.23, php4.0.3pl1, optimizer

  3. #3
    SitePoint Zealot Podge's Avatar
    Join Date
    Aug 2000
    Location
    Dublin, Ireland
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I meant not enough memory, not faulty memory.

    I know of a few hosting companies that have php4 working fine on Windows 2000 and I've installed it a couple of times on NT4 and Win 98 with no problems.
    Padraic Lavin

    Advertising Free Message Boards $5/mo
    Instant Setup. ForumCo.com

  4. #4
    SitePoint Enthusiast
    Join Date
    Oct 2000
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why use ASP if you installed PHP?

  5. #5
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you put the php4ts.dll in your system32 folder? Also which php.exe are you mapping to? Map it to the one in the root of the php dist not the one in the sapi folder. BTW having the .php4 extension mapped to the isapi.dll is fairly unstable, I would suggest mapping all the extensions you wanted parsed by php to the php.exe in the root of the php dist folder(also known as running it in CGI mode). Hope that helps.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  6. #6
    SitePoint Zealot Podge's Avatar
    Join Date
    Aug 2000
    Location
    Dublin, Ireland
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    php4ts.dll is in the system folder alright.

    I have tried mapping to php.exe (cgi) and phpisapi.dll and both produce the same results.

    BTW having the .php4 extension mapped to the isapi.dll is fairly unstable
    I understood that the isapi dll was the faster, more reliable version of the two.

    Padraic Lavin

    Advertising Free Message Boards $5/mo
    Instant Setup. ForumCo.com

  7. #7
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The ISAPI one is faster but it is still in beta stages - if you need rock-solid stability then the .exe file should be used. But I've set PHP up on about 5 Win2k servers with the dll file and had no problems, so it isn't that bad.

  8. #8
    SitePoint Zealot Podge's Avatar
    Join Date
    Aug 2000
    Location
    Dublin, Ireland
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why use ASP if you installed PHP?
    Because php isn't the answer to everything.
    Padraic Lavin

    Advertising Free Message Boards $5/mo
    Instant Setup. ForumCo.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •