WAMPSERVER2.1 and IIS
Posted by: mety (112.198.55.---)
Date: January 04, 2017 07:39AM

I need your help, I have my web server running under IIS6 Windows 2003 Server and I have also my Database run by Mysql (WAMPSERVER). It run smoothly both IIS and WAMPServer, HOWEVER when I open a link to view records and etc PHP/MYSQL script will not be read. But when I run this command <?php phpinfo(); ?> and save in my IIS web directory it run smoothly. Please help me. Why my PHP/Mysql script won;t run.

But if I put my php/mysql script inside wamp/www/ folder it works, however if I put my php/mysql file inside inetpub/www/ folder (IIS) won't run. I want my php/mysql script be read inside IIS folder..

Please Help me..

Thank you so much for your help


Mety



Edited 1 time(s). Last edit at 01/04/2017 08:49AM by mety.

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: Otomatic (Moderator)
Date: January 04, 2017 09:22AM

Hi,

You have to choose either IIS or Wampserver, but not both at the same time.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: mety (---.49.144.243.17.pldt.net)
Date: January 04, 2017 09:14PM

But sir I used Wampserver as my database, because I find hard to used stand alone mysql for my database. I have already my data using WAMPSERVER. I used port 8080 in my wampserver and port 80 in my IIS. Whats your advice sir for my problem, do I need to install standalone mysql for my database? Also how to access localhost without typing the IP address, because in WAMPSERVER IP ADDRESS is in need to type after localhost to access. I try virtualhost but it does not solve my problem.
Thank you so much



Edited 1 time(s). Last edit at 01/04/2017 09:18PM by mety.

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: RiggsFolly (Moderator)
Date: January 04, 2017 11:48PM

Have you installed PHP into your IIS environment?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: mety (112.198.55.---)
Date: January 05, 2017 12:10AM

Yes sir I install PHP environment in my IIS environment.

Thank you

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: RiggsFolly (Moderator)
Date: January 05, 2017 02:47AM

If you are only using MYSQL from the WAMPServer install then you dont even need to use the Apache in WAMPServer.

Just use the WAMPManager to start MYSQL if thats all you need. Or start and stop it from a command prompt.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: mety (112.198.55.---)
Date: January 05, 2017 07:00AM

How to stop PHP and Apache sir? I am using wampserver 2.1

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: Otomatic (Moderator)
Date: January 05, 2017 09:28AM

Hi,

Open a command windows - as an administrator - an type :

net stop wampapache

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: mety (112.198.55.---)
Date: January 06, 2017 05:32AM

I have on my mind sir, I will remove my IIS and I will retain wampserver as my webserver, I find hard to solve my problem. My question sir, how to configure if I want that my Apache (WAMP) will be act as my webserver. I have already my domain name., how to configure localhost/myweb into www.myweb.com..


I tried to follow virtual host, I follow the instruction but when I browsed my site all images and css are not running only text were displayed. this is my config

<VirtualHost tourist.com>
ServerAdmin oslobtourist@gmail.com
DocumentRoot "C:/wamp/www/main.php"
ServerName tourist.com
ServerAlias tourist.com
# ErrorLog "logs/dummy-host.hleclerc-PC.ingenidev-error.log"
# CustomLog "logs/dummy-host.hleclerc-PC.ingenidev-access.log" common

<Directory "C:/wamp/www/main.php">
Order allow,deny
Allow from all
</Directory>

</VirtualHost>




Thank you so much sir for your help

mety



Edited 1 time(s). Last edit at 01/06/2017 09:28AM by mety.

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: RiggsFolly (Moderator)
Date: January 06, 2017 09:47AM

Please can you tell us the answers to all these questions

READ (and answer) BEFORE YOU ASK A QUESTION

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: mety (---.49.144.254.154.pldt.net)
Date: January 06, 2017 11:54AM

I am very sorry sir. Please accept my apology.

This is my situation:
I have my website using IIS 6 server listening port 80, however I have my database in my website which run by WAMPSERVER listening port 82, but when I open my website ny script php/mysql are not recognized by IIS server., thats why I am planning to removed IIS and retain WAMPSERVER, so that I can easily implement my website with database. So I try to execute my plan, I do some researches how to make WAMpServer as domain host, I follow some instruction, however when I run my website, images and css were not recognized by my domain site, only text displayed. I am using virtual host.

Thank you sir

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: RiggsFolly (Moderator)
Date: January 06, 2017 03:21PM

You did not answer ANY of the questions I asked you to !!!!!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMPSERVER2.1 and IIS
Posted by: mety (---.49.144.254.154.pldt.net)
Date: January 06, 2017 10:26PM

Sorry sir, can you repost your question sir? I dont see any question from uou.

Options: ReplyQuote


Sorry, only registered users may post in this forum.