[Wolves] PHP/MySQL help please

Wayne Morris wayne at machx.co.uk
Mon Jul 25 13:45:11 BST 2005


Peter Cannon wrote:

>Hi All
>
>I've spent half the morning googling for this problem I can find lots of 
>similar requests but all the answers are for Windows machines which is of no 
>help at all.
>
>I am fairly new to MySQL (Never used PHP before) but I can log in to MySQL and 
>do some basic stuff from a terminal. I have a couple of those teach yourself 
>Mysql and PHP, MySql in 24 hour type books but they don't have problem 
>solving sections in them.
>
>I'm doing this on my Suse 9.3 box, I have installed Apache which installs to a 
>differant location ( /srv ) than I've been used too this is working fine if I 
>do localhost the Apache test page is displayed. I mention the differant 
>install location in case its relevant.
>
>I have the latest Suse rpms of MySQL, this works fine from a terminal.
>
>Having followed the tutorial for creating an accounting database it moved on 
>to creating what I would call a front end in PHP.
>
>Using Yast I installed both PHP4 and PHP5 with additional modules. I was not 
>sure what I needed so loaded just about everything to be on the safe side.
>
>The book I have gave a walkthrough on creating a mysql_connect.inc file, if I 
>run this in my browser nothing happens, no errors or anything the browser 
>says done but the display is blank there should be a login screen to the 
>Accounts database.
>
>I tried running PHPmyAdmin but I get an error page saying "Unable to load 
>MySQL_Module" the link to the help file does not list this error.
>
>Can anyone point me in the right direction?
>
>  
>
Sounds like your missing the php module for apache and mysql,  mysql.php.

Even if you have it, it may not have been compiled into apache.

 From similar problems with this, its no good installing Apache, then 
Php, then Mysql,
you have to do something like apt-get install apache with php and mysql 
so they all get installed together.








More information about the Wolves mailing list