-
June 20th, 2007, 02:38 AM
#1
setting up web server using apache, php, mysql, phpmyadmin on windows2003 server
just want a little help.
anyone who has information on how to install webserver using apache,php,mysql,phpmyadmin on a windows 2003 server box?
i did it a couple of days now but i usually got errors like "no input file specified"
or the browser just goes blank or white when i point it to my localhost.
the apache goes fine but i think i got errors installing php and mysql.
do u think the versions of that installers got an issue too?
thanks in advance.
-
June 20th, 2007, 04:24 AM
#2
Personally, I would start troubleshooting it from the start.
1) Is the apache service show to be running? On the windows version does it have a hpptd.conf file? Have you made adjustments to it? How have you set up apache to handle domains? by ip or by name? Or both o.O
2) the next program that should have been installed would be mysql. Is its service showing that its running? Can you log into through command line?
3) PHP is something Im still in the process of learning. Don't have much to offer on trouble shooting it. I know theres an address you can view that will show you the php configuration on the linux version. It should be the same in windows but its slipped my mind the name of that url... google it.
4) phpmyadmin falls under the same as php as far as I can go. Generally speaking though, if you cannot access mysql through command line, your not going to be able to access it through other interfaces such as phpmyadmin.
Thats all I can offer for advice, its a good start.
"I have died, I will die, It's alright, I don't mind"
-
June 20th, 2007, 05:41 AM
#3
1. i've configured all that's been needed in httpd.conf for apache.
2. the service for mysql is called mysql-nt.exe is up and running smoothly.
3. php.ini was configured but am confused bcoz it doesn't appear that php is running. php should be running now but i think i am lacking some configuration on it.
4. phpmyadmin is the least configuration am gonna deal with.
-
June 20th, 2007, 11:01 AM
#4
Create an index page:
Code:
<?php
phpinfo();
?>
Use that to test if php is working.
Did you add the php type handlers to httpd.conf?
Oliver's Law:
Experience is something you don't get until just after you need it.
-
June 20th, 2007, 01:25 PM
#5
check that apache is listening to local host, check the port is what you think it is. I've had problems where I managed to stop apache responding to "localhost" but when I put in the internal IP it worked fine.
Also check that as well as handlers for PHP you have set index.php as the default file too.
If the world doesn't stop annoying me I will name my kids ";DROP DATABASE;" and get revenge.
-
June 21st, 2007, 05:22 AM
#6
hi. thanks for the replies.
the phpinfo was working. only that when my website with php scripts or even at the beginning of the page (e.g. index.php) only represents a blank, white browser page. my index page contains a top.php, body.php, footer.php. which, when browsed does not display.
-
June 21st, 2007, 08:30 AM
#7
If phpinfo works, php works. So if your php pages don't there's something wrong with them.
Look at httpd-error.log to see if it croaks somewhere.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
June 21st, 2007, 08:47 AM
#8
ayt. am goin to fix it. i'll be back here see if i can solve it. thanks
-
June 22nd, 2007, 11:16 AM
#9
wait, you are trying to do PHP includes and they are not showing? I remember this....there are two things you need to do.
1) php scripts in includes will NOT be parsed, thus if you include a file with PHP into another file it will not display
2) you need to set an attribute on directories to allow includes to happen.
So I have this set for my defualt directory since I use includes all over the page:
<Directory />
Options FollowSymLinks Includes ExecCGI
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>
If the world doesn't stop annoying me I will name my kids ";DROP DATABASE;" and get revenge.
-
June 23rd, 2007, 12:54 AM
#10
I would reinstall 2003 and install Xampp or WAMP and be done with it.
Similar Threads
-
By nebulus200 in forum Other Tutorials Forum
Replies: 0
Last Post: August 3rd, 2004, 05:32 PM
-
By CyberSpyder in forum AntiOnline's General Chit Chat
Replies: 0
Last Post: March 25th, 2003, 09:31 AM
-
By -DaRK-RaiDeR- in forum Newbie Security Questions
Replies: 9
Last Post: December 14th, 2002, 08:38 PM
-
By khakisrule in forum Other Tutorials Forum
Replies: 2
Last Post: July 24th, 2002, 09:18 AM
-
By jethro in forum Other Tutorials Forum
Replies: 2
Last Post: July 2nd, 2002, 09:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|