Groups > Novell > MySQL with Novell > Re: The module PHP_MYSQLI.N was not able to load protected




The module PHP_MYSQLI.N was not able to load protected

The module PHP_MYSQLI.N was not able to load protected
Mon, 16 Jan 2006 16:16:34 GMT
Just updated a test NW6.5 server to SP5 and find that I now can't access 
phpMyAdmin.

SP5 installs MySQL 4.0.24a and Apache 2.0.54 (overwriting later versions 
if you've manually updated) and also updates PHP.  From SP5's MySQL 
update files it also looks like phpMyAdmin's config.inc.php is replaced.

I've updated MySQL to 4.1.16a and changed php.ini to use the MySQLi 
extension instead of MySQL but phpMyAdmin complains about a bad or 
missing config.inc.php.  Neither is true.

The Apache admin server has been restarted each time (ADMSRVDN then 
ADMSRVUP).

I've now noticed that the Logger Screen is displaying the message 
"SERVER-5.70-1054: The module PHP_MYSQLI.N was not able to load
protected".

This did work previously to SP5 (with SP4a) so it looks like something 
is up with PHP_MYSQLI.NLM.

Any thoughts?

Post Reply
Re: The module PHP_MYSQLI.N was not able to load protected
Mon, 16 Jan 2006 17:30:10 GMT
check your loaded version of libmysql.  if its 4.0.22 then delete the file
from sys:/system (bug in shipping code of 6.5sp5).  Next go to the novell
forge site and grab the point release of 5.0.5
http://forge.novell.com/modules/xfcontent/file.php/php/GCC%20Built%20Point%2
0Releases/php-5.0.5-netware-build.tar.gz

from here you should have working versons of the mysql 4.1 and mysql 5.0 php
extensions to try

Rod

>>> On January 16, 2006 at 10:16 AM, in message
<CFPyf.10$iu2.3@prv-forum2.provo.novell.com>, Simon
Flood<S.M.Flood@ucs.cam.ac.uk> wrote:
> Just updated a test NW6.5 server to SP5 and find that I now can't access 
> phpMyAdmin.
> 
> SP5 installs MySQL 4.0.24a and Apache 2.0.54 (overwriting later versions 
> 
> if you've manually updated) and also updates PHP.  From SP5's MySQL 
> update files it also looks like phpMyAdmin's config.inc.php is replaced.
> 
> I've updated MySQL to 4.1.16a and changed php.ini to use the MySQLi 
> extension instead of MySQL but phpMyAdmin complains about a bad or 
> missing config.inc.php.  Neither is true.
> 
> The Apache admin server has been restarted each time (ADMSRVDN then 
> ADMSRVUP).
> 
> I've now noticed that the Logger Screen is displaying the message 
> "SERVER-5.70-1054: The module PHP_MYSQLI.N was not able to load 
> protected".
> 
> This did work previously to SP5 (with SP4a) so it looks like something 
> is up with PHP_MYSQLI.NLM.
> 
> Any thoughts?
> 
Post Reply
Re: The module PHP_MYSQLI.N was not able to load protected
Mon, 16 Jan 2006 17:52:26 GMT
On 16/01/2006 17:30, Rodney Crossman wrote:

> check your loaded version of libmysql.  if its 4.0.22 then delete the file
> from sys:/system (bug in shipping code of 6.5sp5).  Next go to the novell
> forge site and grab the point release of 5.0.5
>
http://forge.novell.com/modules/xfcontent/file.php/php/GCC%20Built%20Point%2
> 0Releases/php-5.0.5-netware-build.tar.gz
> 
> from here you should have working versons of the mysql 4.1 and mysql 5.0
php
> extensions to try

Not this old chestnut again!  It did cross my mind but I couldn't see 
how the version of libmysql (mine is 4.00.26 30-Nov-2004) related to 
php_mysqli.nlm loading protected or not.  Guess I should've known better!

Thanks, I'll give it a go tomorrow.

Many thanks,

Post Reply
Re: The module PHP_MYSQLI.N was not able to load protected
Tue, 17 Jan 2006 16:49:07 GMT
On 16/01/2006 17:30, Rodney Crossman wrote:

> check your loaded version of libmysql.  if its 4.0.22 then delete the file
> from sys:/system (bug in shipping code of 6.5sp5).  Next go to the novell
> forge site and grab the point release of 5.0.5
>
http://forge.novell.com/modules/xfcontent/file.php/php/GCC%20Built%20Point%2
> 0Releases/php-5.0.5-netware-build.tar.gz
> 
> from here you should have working versons of the mysql 4.1 and mysql 5.0
php
> extensions to try

This hasn't helped.

I've replaced SP5's PHP5 with that from the above .tar.gz file.  This 
has created a new PHP5 directory plus updated two Apache files (PHP 
module and conf file).

It has not touched the MySQL directory which is where LIBMYSQL.NLM 
(version 4.00.26) is being loaded from.

I'm guessing that phpMyAdmin is not loading because it's unable to 
reference a MySQL database (because PHP_MYSQLI.NLM isn't being loaded).

Other thoughts?

Post Reply
Re: The module PHP_MYSQLI.N was not able to load protected
Tue, 17 Jan 2006 20:26:00 GMT
Hi Simon,
now I'm in doubt what's your real prob:
do you now use an own mysql version or not???
use always a libmysql which matches to your php ext...

Guenter.

Simon Flood <S.M.Flood@ucs.cam.ac.uk> wrote in
news:7e9zf.937$iu2.145@prv-forum2.provo.novell.com: 

> On 16/01/2006 17:30, Rodney Crossman wrote:
> 
>> check your loaded version of libmysql.  if its 4.0.22 then delete the
>> file from sys:/system (bug in shipping code of 6.5sp5).  Next go to
the
>> novell forge site and grab the point release of 5.0.5
>>
http://forge.novell.com/modules/xfcontent/file.php/php/GCC%20Built%20Poi
>> nt%2 0Releases/php-5.0.5-netware-build.tar.gz
>> 
>> from here you should have working versons of the mysql 4.1 and mysql
>> 5.0 php extensions to try
> 
> This hasn't helped.
> 
> I've replaced SP5's PHP5 with that from the above .tar.gz file.  This 
> has created a new PHP5 directory plus updated two Apache files (PHP 
> module and conf file).
> 
> It has not touched the MySQL directory which is where LIBMYSQL.NLM 
> (version 4.00.26) is being loaded from.
> 
> I'm guessing that phpMyAdmin is not loading because it's unable to 
> reference a MySQL database (because PHP_MYSQLI.NLM isn't being loaded).
> 
> Other thoughts?
> 
> Simon
> 
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact