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).
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