•  

Forum

Moderated by: hombergs, xweber
Forum Index
Support
     OPN Installation
     Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Author Printer friendly pageInstallation Win 2003 and PHP5 MySQL 5 [2.4.2]
dcostelloe
Joined: January 03, 2006
Posts: 39
From: Burlington, Ontario Canada


Send private message to dcostelloe Visit website from dcostelloe
Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Posted: 2006-12-21 17:58

Hi,
I decided to test out running the portal on my windows machine. The following error is reported:


Fatal error: You must have the mysql extension installed. in C:OpnPHPNukeclasssqldriversdriver-mysql.php on line 76



My PHP.INI

extension=php_mbstring.dll
extension=php_bz2.dll
extension=php_cpdf.dll
extension=php_curl.dll
extension=php_dba.dll
extension=php_dbase.dll
extension=php_dbx.dll
;extension=php_exif.dll
extension=php_fdf.dll
extension=php_filepro.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_ifx.dll
extension=php_iisfunc.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_java.dll
extension=php_ldap.dll
;extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mime_magic.dll
extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
extension=php_pdf.dll
extension=php_pgsql.dll
extension=php_shmop.dll
extension=php_snmp.dll
extension=php_sockets.dll
;extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_ffi.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
;extension=php_yaz.dll
extension=php_zip.dll


Any ideas?

Thanks
David.......



On-Line eStore

Quote Printer friendly page upwards
[manne]

Joined: April 12, 2003
Posts: 198


Send private message to [manne]
Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Posted: 2006-12-21 20:34

Hi,
tried to google for this and found :

Perhaps your system can't find the libmysql.dll, this dll should be in your php5 directory. Also you have to extend your windows search path and something like c:pathtoyourphp5 so windows can find the libmysql.dll.

manne


Quote Printer friendly page upwards
dcostelloe
Joined: January 03, 2006
Posts: 39
From: Burlington, Ontario Canada


Send private message to dcostelloe Visit website from dcostelloe
Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Posted: 2006-12-23 13:57

Hi,
Thanks for the update. I do have the path set in the environment:

PATH=C:\WINDOWSsystem32;C:\WINDOWS;C:\WINDOWSSystem32Wbem;C:\Program FilesMy
SQLMySQL Server 5.0bin;C:PHP


There are 2 versons of the dll one in php and one in C:\Program Files\MySQL\MySQL Tools for 5.0 and C:\Program Files\MySQL\MySQL\bin


Not sure as o what else I can do?

Thanks




On-Line eStore

[ This message was edited by: dcostelloe on 2006-12-23 14:04 (Original date 2006-12-23 13:57) ]

Quote Printer friendly page upwards
anonymous
Unregistered User
Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Posted: 2006-12-25 08:14

dcostelloe schrieb am 23.12.2006 um 13:57:50 Uhr folgendes:

Hi,
Thanks for the update. I do have the path set in the environment:

PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesMy
SQLMySQL Server 5.0bin;C:PHP


There are 2 versons of the dll one in php and one in C:Program FilesMySQLMySQL Tools for 5.0 and C:Program FilesMySQLMySQLbin


Mmmh should not the path should something like this: C:Program FilesMySQLMySQL Tools for 5.0; I mean with the "slash" ?

Perhaps this will help as well:Install PHP5

//Stephan

EDIT: Damn OPN has removed the slashes.


Quote Printer friendly page upwards
dcostelloe
Joined: January 03, 2006
Posts: 39
From: Burlington, Ontario Canada


Send private message to dcostelloe Visit website from dcostelloe
Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Posted: 2006-12-27 01:42

Perform a complete re-install of mysql/PHP5 and OpenPhpNuke the following error is still being sent:

SQL-ERROR [256] You must have the mysql extension installed.
FOUND IN [C:\OpnPHPNuke\class\sql\drivers\driver-mysql.php]
FOUND AT 76

PHP.INI

extension=php_mysql.dll
extension=php_mysqli.dll


I followed the document in the last post to setup IIS

Thanks



On-Line eStore

Quote Printer friendly page upwards
dcostelloe
Joined: January 03, 2006
Posts: 39
From: Burlington, Ontario Canada


Send private message to dcostelloe Visit website from dcostelloe
Installation Win 2003 and PHP5MySQL 5 [2.4.2]

Posted: 2006-12-27 01:52

Ok got one step ahead forgot to add quotes: extension_dir ="C:PHPext"

Fixed the PHP error now onto the permissions error

WARNING [8] Undefined offset: 0
FOUND IN [C:OpnPHPNukeclassclass.opn_permissions.php]
FOUND AT 1070



On-Line eStore

[ This message was edited by: dcostelloe on 2006-12-27 02:09 (Original date 2006-12-27 01:52) ]

Quote Printer friendly page upwards
dcostelloe
Joined: January 03, 2006
Posts: 39
From: Burlington, Ontario Canada


Send private message to dcostelloe Visit website from dcostelloe
Installation Win 2003 and PHP5 MySQL 5 [2.4.2] - All Fixed

Posted: 2006-12-27 02:39

Thanks:

I now have OpenPHPNuke running on 2003 server.




On-Line eStore

Quote Printer friendly page upwards
anonymous
Unregistered User
Installation Win 2003 and PHP5 MySQL 5 [2.4.2]

Posted: 2006-12-27 10:23

dcostelloe wrote at December 27, 2006 at 02:39:27 clock the following:

Thanks:

I now have OpenPHPNuke running on 2003 server.




Nice that's good to hear.

//Stephan


Quote Printer friendly page upwards
sort by

Previous thread:  Create OPN DB installation error
Next Thread:  Admin login

Jump To:

Nickname:
 
Security Code
Security Code
reload

 
Page took 0.33547 seconds to load