Welcome To myPHPNuke.com

  Create An Account Home  ·  Topics  ·  Stats  ·  Your Account  ·  Submit News  ·  Top 10 May 19, 2013  

  Main Menu

  Just SOME MPN Driven Sites!!

  What Is myPHPNuke?
myPHPNuke Introduction
Would you like to contribute to our website or software?

Just Click Here and tell us about yourself.

WebServers
Topic: How can I make PHPNuke work with IIS and MySQL???


Search Forums

Moderated By: Kiril, avw
myPHPNuke.com Forum Index
  »» WebServers
    »» How can I make PHPNuke work with IIS and MySQL???

Please Register To Post


Author How can I make PHPNuke work with IIS and MySQL???

dramirez
Just popping in
Joined: 18-Nov-2002
Posts: 2


blank    avatar

posticon   Posted: 2002-11-18 00:41

Hey everyone, I need some help getting PHPNuke to work with IIS and MySql. I just know exactly what i need to do to get it working.

THANKS!!!



  Member Information For dramirezProfile   Send Private Message To dramirez   Quote And Reply To This MessageQuote

Garret
MPN Developer
Joined: 23-Mar-2001
Posts: 1262
From: Colorado, USA


usa    avatar

posticon   Posted: 2002-11-18 04:49

RTFM Here



  Member Information For GarretProfile   Send Private Message To Garret   Go To Garret's Website   Send ICQ Meesage To Garret   Quote And Reply To This MessageQuote

Redrude
MPN Developer
Joined: 01-May-2002
Posts: 89
From: Lebanon


lebanon    avatar

posticon   Posted: 2002-11-24 00:56

Quote:
RTFM



With a smile



  Member Information For RedrudeProfile   Send Private Message To Redrude   Go To Redrude's Website   Quote And Reply To This MessageQuote

SwingDancer
Just can't stay away
Joined: 03-Dec-2002
Posts: 113
From: Southeast United States


usa    avatar

posticon   Posted: 2002-12-07 13:52

DR,

Go to the link below to get some tips on how to set up IIS for PHP apps on a Windows 2K machine.

php_win2k.zip

This will help you with the first part. With respect to MySQL, if you haven't already installed it, use the windows binary install with the Windows Installer. It works well. Use version 3.23.5x. It's well-tested, stable, and is still the primary version used by most ISP's. You will also need to install the MyODBC driver prior to installing MySQL, because it will be looking for the driver.

Next, download phpMyAdmin at this location:

PhpMyAdmin

phpMyAdmin is a browser-based database management tool written in PHP and was specifically designed to facilitate administration of MySQL over the Web. It permits you to create and drop databases, create/alter/drop tables, search databases, import and export data, execute any SQL statement, and much more. Great tool!! And, one of the easiest PHP apps to install out-of-the-box on Windows.

Now, with respect to myPhpNuke, each Windows environment appears to respond differently. I'm using Advanced Server. With Win2K, you'll probably need to place virtual include slashes "./" before every include in the subdirectories beneath the html root directory; namely, html/admin, html/gallery, and html/themes. For example, change include("header.php") to include("./header.php").

You can do a global search and replace from your html or text editor to speed up the process. Make these changes before you execute the install file, which is install.php, located in the html root when the program is unzipped.

This is an example of an include file error (you don't want these):

--------
Warning: Failed opening 'admin/gallery/config.php' for inclusion (include_path='c:\php4\pear') in
c:\inetpub\wwwroot\myportal\html\gallery\mainGallery.php on line 127

Correct by placing "./" before "config.php" in the file at the line indicated, as in
include("./config.php").
-----------------

Some other specific errors to watch out for are these:
------------------------
SAMPLE VARIABLE ERRORS
------------------------
The following is an example of the script not finding the "mainfile.php".

----------------------
html/myyp.php
----------------------

Warning: Undefined variable: mainfile in c:\inetpub\wwwroot\myportal\html\myyp.php
on line 21

CHANGE TO:

Code:

if (!isset($mainfile)) { include("mainfile.php"); }



----------------------
html/newtopic.php
----------------------
line 27-29 change to:

Code:

if (!isset($cancel)) { $cancel = ""; }
if($cancel) {
header("Location: viewforum.$phpEx?forum=$forum");
}



----------------------
html/replypmsg.php
----------------------
line 26-28 change to:

Code:

if (!isset($cancel)) { $cancel = ""; }
if($cancel) {
header("Location: viewpmsg.$phpEx");
}



Finally, before you run the phpMyNuke install file, you must make certain that the permissions on the virtual directory which is linked to YOURWEBROOT/mpn/html. The "Security" properties on this directory must contain the Internet Guest Account (IUSR_YOUR_MACHINE_NAME), which must have read and execute, read, list folder contents, and write permissions. If you fail to give "write" permissions properly, then the install will have numerous errors or not create the config.php file at all. You'll know if the install is good, if their are no errors, and you can successfully open your Admin page from the install dialogue.

HTH,

SwingDancer


-----------------
Looking for a talented, good-looking, honest, hardworking IT employee -- hire me!



  Member Information For SwingDancerProfile   Send Private Message To SwingDancer   Send Email To SwingDancer   Go To SwingDancer's Website   Quote And Reply To This MessageQuote

Member Messages

Forum Search & Navigation


 

Log in to check your private messages



Please Login Or Register





  


 

[ Advanced Search ]

Jump To Forum: 



  ChatBox II
smartvicky >  
sailwell >  hi
sailwell >  any body in?
sailwell >  i have instalation problem
sailwell >  any one help me
duke-leto >  kiril are you on here?
santeriablooms29 >  hello good day....



Click here to open the chatbox...
0 people chatting right now.