SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot Skibum1321's Avatar
    Join Date
    Jun 2003
    Location
    Malden, MA
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP installation problems

    I'm trying to install php, mysql and apache to run by the article on sitepoint. Apache was up and running until I tried to add these 3 lines to it:
    LoadModule php4_module C:/PHP/sapi/php4apache2.dll
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps

    Whenever I try to start Apache, I get the error message that C:/PHP/sapi/php4apache2.dll module cannot be loaded.

    Also, when I try to open up my php.ini file to configure, it is all object code so I can't change that file.

    Any ideas on either issue would be greatly appreciated.

    -Keith
    Keith Rousseau

  2. #2
    ko pročita magarac :) boccio's Avatar
    Join Date
    Oct 2003
    Location
    belgrade
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1) did you check the location of php4apache2.dll and (more inportant) php4ts.dll
    2) I don't see line 'AddModule mod_php4.c' ?
    3) did you try to run apache as CGI binary?
    4) why the he** don't you run apache 1.3.xx ?
    Vivvo CMS - Web publishing at your fingertips
    Mile voli disko, a ja belo kolumbijsko

  3. #3
    ********* Wizard silver trophy Cam's Avatar
    Join Date
    Aug 2002
    Location
    Burpengary, Australia
    Posts
    4,495
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    All DLL files that you want Apache to access (ie. php4ts.dll, php4apache2.dll, etc..) must be copied to your SYSTEMROOT. This will either be C:\WINDOWS\SYSTEM32 or C:\WINDOWS\SYSTEM.

    Quote Originally Posted by boccio
    2) I don't see line 'AddModule mod_php4.c' ?
    You don't need this line for Apache2 and it will generate a warning if used.
    Quote Originally Posted by boccio
    3) did you try to run apache as CGI binary?
    You get better performance from the Apache module although it's a trade off for a little less stability than the CGI executable.
    Quote Originally Posted by boccio
    4) why the he** don't you run apache 1.3.xx ?
    Whats wrong with running Apache2 in a testing environment?

  4. #4
    ko pročita magarac :) boccio's Avatar
    Join Date
    Oct 2003
    Location
    belgrade
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DJ P@CkMaN
    You don't need this line for Apache2 and it will generate a warning if used.
    you're right. sorry.
    You get better performance from the Apache module although it's a trade off for a little less stability than the CGI executable.
    Agreed, the only reason I asked this is merely to see if apache is running as cgi...
    Whats wrong with running Apache2 in a testing environment?
    Once again aggred, but Skibum1321 didn't mention possibility of running apache2 for testing purposes in post #1.


    stay good
    Vivvo CMS - Web publishing at your fingertips
    Mile voli disko, a ja belo kolumbijsko


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
  •