Learning PHP and MySQL
Welcome to the O’Reilly Learning PHP & MySQL blog
Here you will find code directly from the book, error listings, code fixes, and trivia about the computing world. Welcome. The authors of Learning PHP & MySQL Michele Davis and Jon Phillips will also be happy to answer any questions. So please use your real name when signing in! We look forward to a lively blog with lots of comments!
Source code for each chapter is posted under the catagories on the right side bar.
Hi,
I got the same error while installing the server. It turns out that once you make the first install, without the email address, the installer leaves a .conf file on C:\ProgramFiles\Apache Group\Apache2\conf that has the field ServerAdmin empty, and apparently new installations do not overwrite this conf file, so that you keep getting the same mistake even if you are entering an email address. I solved it by deleting the entire Apache Group folder before running the installer again, and this time I got it right.
Good luck!Posted by on 08/31 at 09:52 AMI am having a problem setting up the Apache and PHP. I haven’t even gotten to the MySQL yet. I am having the same problem as someone on the errata page, which is that it says that I do not have the module in my php folder, but I do. Can someone give me better directions to set all this up?
Posted by on 10/14 at 05:19 PMWell, the problem was that the php5apache2 file was not being recognized by apache. I have read that the latest versions of both apache and php are not compatible with each other and that its better to use apache 2.0 with php 5. Any thoughts? I also found some code that allegedly works, but I haven’t tried it yet.
NOTE TO EDITORS: I recommend giving any future books to people who have never used PHP or MySQL and seeing if they can figure it out based on your descriptions. I have found the current version a little too unclear so far. I hope that changes once I actually get the programs working!
Posted by on 10/16 at 03:05 PMHi there,
I have used several O’reilly books and found them to be great, hopefully this one will be too!I have just started with this book and am at the install phase. I am working on a Mac using OSX 10.3.9 and cannot grasp what I am meant to do to install PHP?? At the end of this chapter there is a note that says;
“If you are on a Mac PHP is already installed. You need to edit the Apache configuration file to enable PHP in much the same way you edited the PC text file”.
What PC text file? I went back to the Apache install chapter but I have no idea where to look for any of the Apache installation files on my mac. I am confused and looking for other info on the web has confused me more - am I able to run the latest PHP with my operating system version?
I would really appreciate any help.
Cheers, VivekaPosted by on 01/17 at 02:15 AM
Next entry: Example 03-02 Adding PHP Code to an HTML File
Previous entry: Brett Merkey Book Review