UK Webmaster Talk - Online Marketing - SEO


 

problems with installing php, mysql, and apache on windows

This is a discussion on problems with installing php, mysql, and apache on windows within the Php and MySQL forums, part of the Programming / Scripting / Coding category; ok, i installed php, mysql, and apache. apache and mysql work fine, but when i went to test the php ...


Go Back   UK Webmaster Talk - Online Marketing - SEO > Website Design & Development > Programming / Scripting / Coding > Php and MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

Reply

 

LinkBack Thread Tools Display Modes
Old 25-07-2005, 18:06   #1 (permalink)
Newbie
 
Join Date: May 2005
Posts: 6
iTrader: 0 / 0%
hdshngout is on a distinguished road
Default problems with installing php, mysql, and apache on windows

ok, i installed php, mysql, and apache. apache and mysql work fine, but when i went to test the php after i configured the apache, i get the created a phpinfo script to test and and

<? phpinfo(); ?> showed up instead of the information. I used

apache_2.0.54-win32-x86-no_ssl
mysql-4.0.25-win32
&
php-5.0.4-Win32

also i configured my apache server httpd.conf file like this
(excrept from the book)
3. Add the following code to the LoadModule section

LoadModule php5_module
C:/php// php5apache2.dll

Nex you have to add a directive to the httpd.conf file to define the extensions used by PHP files. Common extensions are .php and .phtml, but you can use whatever you want.

4. Look for the AddType section in the httpd.conf file

5. Add the following line:
AddType application/x-httpd-php .phtml .php

6. Save and close the httpd.conf file.

(Taken from "PHP 5 Fast & Easy Web Devolepment")

this really has me baffled. If anyone could help me, or preferably walk me through it with AIM or somthing, i would really appreciate it, and thank you for time.

--------
BTW, sorry if its in the wrong section.

Last edited by hdshngout; 26-07-2005 at 03:02.
hdshngout is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2005, 15:25   #2 (permalink)
*poke* *poke*
 
Join Date: Apr 2005
Posts: 134
iTrader: 0 / 0%
mck9235 is on a distinguished road
Default

Something much easier to do, than installing all of those packages yourself, is to use something like EasyPHP or Wamp Server. There both free and come with PHP/MySQL/Apache. Wamp Server comes with PHP 5 and mysqli, but PHP 4 is available to download as an extension.
__________________
| - The Fast Track - |
Thanks to WMT for the new domain!
mck9235 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2005, 19:06   #3 (permalink)
Senior Member
 
Join Date: Jun 2005
Posts: 389
iTrader: 0 / 0%
FrozenDice will become famous soon enough
Default

Php and the lot are pretty simple to install. All you really have to do is configure your httpd.conf. I remember this happened to me also when I first tried it out. My problem was that I was accessing the file by just opening it, not accessing it through my server.

is was "c:...." instead of the nessicary "http://localhost:80/"

Simple mistake.
FrozenDice is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-08-2005, 13:17   #4 (permalink)
Active Member
 
Join Date: May 2005
Location: Doncaster, UK
Posts: 58
iTrader: 0 / 0%
vegancoder is on a distinguished road
Send a message via MSN to vegancoder
Default

i was having massive problems trying to do this aswell, but wamp is really good! thanks
vegancoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
apache, installing, mysql, php, problems, windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Help needed to install php5 on apache :S vegancoder Hardware/Software 0 25-07-2005 14:18
Any TM problems? Morphmaster Domain Names 13 23-07-2005 15:35
Apache access logs corona Php and MySQL 8 09-07-2005 06:05
E-Spotting (MIVA) problems andylong Pay Per Click Promotion (PPC) 0 02-07-2005 13:57
AOL problems robertall General Webmaster Discussion 4 11-05-2005 16:29


All times are GMT +1. The time now is 19:05.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
UK Webmaster Forum © WebmasterTalk.co.uk | Design by Forbairt

Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41