Thread: PHP4 on Win95

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    20
    Rep Power
    0
    I am trying to run PHP4 on a Win95 machine with Apache 1.3.12. I am having problems getting the configuration correct. I am not sure if I am missing DLLs or my conf files are wrong.
    To httpd.conf, I added:
    ScriptAlias /php4/ "chp4"
    AddType application/x-httpd-php4 .phtml AddType application/x-httpd-php-source .phps
    AddType application/x-httpd-php4 .php3
    AddType application/x-httpd-php4 .php4
    Action application/x-httpd-php4 "php4php.exe"

    the php.exe is in c hp4.

    Can anyone tell me what I am doing wrong, or where I can find an installation guide for Win95 (not Win98)
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    1
    Rep Power
    0
    Right syntax is
    ScriptAlias /php4/ "C:/php4/"
    AddType application/x-httpd-php4 .php .php3 .phtml .php4
    Action application/x-httpd-php4 "/php4/php.exe"
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    20
    Rep Power
    0
    I am also getting a "A required .DLL file, ODBC32.DLL, was not found." error. Should I just copy the DLL into the right directory, or is there an add-on that I need to install?

    EDIT:
    When I just added the files then tried to get to a test.php3 file, I am given a 'Save to computer or open' box or it doesn't load (Waiting for reply), but it doesn't run php. How do I get it run php?

    [This message has been edited by tigg (edited July 19, 2000).]

    [This message has been edited by tigg (edited July 20, 2000).]

Similar Threads

  1. Apache2 w/ php4 as DSO.. but I need to revert to php3
    By JunkCookie in forum PHP Development
    Replies: 0
    Last Post: August 11th, 2003, 03:05 PM
  2. Win95 Direct Cable Networking
    By lionhearted2 in forum Windows Help
    Replies: 1
    Last Post: January 31st, 2003, 12:42 PM
  3. Advice needed on PHP4
    By hgreen in forum PHP Development
    Replies: 5
    Last Post: August 23rd, 2001, 11:25 AM
  4. PHP3 and PHP4 together
    By an_easy_marc in forum PHP Development
    Replies: 1
    Last Post: October 20th, 2000, 05:44 AM
  5. Newbie trying to install PHP4 on Win95...
    By jkd in forum Beginner Programming
    Replies: 12
    Last Post: July 19th, 2000, 12:35 AM

IMN logo majestic logo threadwatch logo seochat tools logo