|
Posted by Tony B on 07/30/07 11:06
"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.tv36x6s8qnv3q9@metallium...
> On Fri, 27 Jul 2007 10:10:26 +0200, Tony B <tagb61@yahoo.co.uk> wrote:
>
>> Hi,
>> I'm trying out my local copy of a site that uses php4, mysql,apache2.
>> I've
>> moved it from a php4 machine to a php5 machine, and it doesn't work at
>> all
>> now. A couple of other php4 sites I've moved, which are straight php and
>> do
>> not use mysql are working fine though. So it seems that the mysql php
>> interface maybe the problem.
>> Are there any site/docs which cover the differences between php4 and
>> php5,
>> and likely problems that may occur, particularly with mysql ?
>> Regards
>> Tony
>
> mysql isn't included out of the box any more. See
> http://nl2.php.net/manual/en/ref.mysql.php
> --
> Rik Wasmus
I already have one other virtual site using mysql with the apache/php
installation.( A bugzilla site)
So in my php.ini I have enabled
extension=php_mysql.dll
I have libmysql.dll in my path.
The bugzilla site works fine.
Also I have installed phpmyadmin on the site I'm having problem with and
this works ok too. I can see the database/tables etc.
So I think the basic php/mysql stuff is working ok.
As I replied to the other poster, I can't see any info in the apache error
logs showing what is happening.
All I see in a browser is a mostly black screen, with a few images displayed
from elements that should be on the page and some php code fragments.
Tony
[Back to original message]
|