![]() MySQL/PHP Database Applications, 2nd Edition
ISBN: 978-0-7645-4963-2
Paperback
816 pages
October 2003
US $40.00
This price is valid for United States. Change location to view local pricing and availability. Other Available Formats: Adobe E-Book
|
Visit Wiley's Higher Education Site for:
Instructors may request an evaluation copy for this title.
|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
| Chapter | Page | Details | Date | Print Run |
|---|---|---|---|---|
| CD | Installing MYSQL PHP DATABASE APPLICATIONS databases from the CD Q: I am trying to install the MYSQL PHP DATABASE APPLICATIONS databases from the CD. The book instructs me to copy the 'book' folder into the Domain Root folder (Htdocs is specified). I installed MySQL, Apache and PHP using PHPDEV423 (http://www.firepages.com.au). When I copy the folder across it shows up in root and I can click through until I reach the database installation page. Whether I select 'install all' or an individual database, and click 'submit,' I get the following error message:- Forbidden. You don't have permission to access /book/install/method="get" on this server Apache/1.3.27 Server at localhost Port 80 The URL is: http://localhost/book/install/method="get"? install_all=yes&submit=Submit A: The problem is how $REQUEST_URI comes out on Windows. You need to edit the file 'index.php' in the directory 'install' and change |
12/1/03 | ||
| CD | Installing PHP 5 bundled with the book Q: I am having a problem installing the software-php 5 bundled with the book. I am running Windows 2000, PHP v4.3.3 + php 5, mysql v4.0.15, apache v1.3.28 with mod_ssl. After installing apache, mysql and php, I chose the command window and typed in php -n index.php to load the files into the database. It requires the mysql root password. When I installed mysql, no password was needed for root. There was an indication that the file: install.class.php in /book/re-installer/class is not working. Even after inputting the root password the same error still comes up: ERROR: array ( 'error' => 2, 'msg' => 'call_user_func_array(): First argumented is expected to be a valid callback, \'mysql_connect\' was given', 'file' => 'F:\Program Files\Apache Group\Apache\htdocs\book\re-installer\classes\install.class.php', 'line' => 459, ) I cannot connect as 'root' - Error: "aborting..." A: The error indicates that you do not have the mysql extension enabled - php is not recognizing the function name 'mysql_connect' as a valid function, and that's all that could mean. You need to get a new version of PHP as the README file suggests. There have been *two* PHP 5 beta releases since the CD was burned. Also, use not-pre-bundled installations of PHP/MySQL/Apache on Windows, because you have to put files in the right places. The details on this issue are in the README files. |
12/1/03 |

