SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help with Yank's Book

    Hello-

    I'm trying to use Kevin Yank's book on PHP and MySql. I have susccessfully installed MySql and though I had with PHP. Apache will run but not whn I add the PHP lines as per Yank's book-the Line with "LoadModule" etc. Take these lines out and Apache Runs fine.

    I am attempting to put this on a win2k machine and the application log states that apache cannot find the php4apache.dll file in the path I specified. I have verified that it exist in the directory I specified in my httpd conf file(e:\php\sapi\php4apache.dll).

    What am I doing wrong?

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved to a more appropriate forum. What version of Apache are you using?

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  3. #3
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am using the latest win32 binary. Sorry for the delay been out of town.

  4. #4
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it's a 2* version of Apache you need to use php4apache2.dll

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  5. #5
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks!

  6. #6
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got another related question to the apache configuration with the book. I loaded up the samplepage.php file into apache and got an error that the page couldn't be found..that is after i submitted a name. According to the book the code <?=$PHP_SELF?> should return the same page but with the variable $name assigned to. I get the following in the address bar-- http://localhost/%3C?name=snead and the error message from apache.

    I was using a install of RH8 with the RPMs for php and apache(version 2.0.40 i believe) that come with the distro. The code works fine in IIS version 5.0.


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
  •