apache install what am i doing wrong

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
adielh
Forum Newbie
Posts: 2
Joined: Wed Jan 27, 2010 3:29 am

apache install what am i doing wrong

Post by adielh »

So i installed apache on windows Xp
Also installed Mysql
And php i am having trouble with seeing the php files in loacalhost

this is the steps i did
tep 1: Default installation of Apache

Step 2: Default installation of mysql

Step 3: Download php zip file, extract it to ur C: drive under c:\php

Step 4: Add these paths to ur classpath, "C:\php", "C:\php\ext", incase ur installation directory is php, else watever is the name of ur php installation directory use that instead of php

Step 5: Open httpd.conf, that is located in Apache web server installation folder, under conf directory i.e.,
Apache Installation folder > conf > httpd.conf

Add these lines....
>LoadModule php5_module "c:/php/php5apache2_2.dll"
>AddType application/x-httpd-php .php

Step 6: goto php installation directory, there u'll find a file named php-ini-recommended, rename it to, php-ini.

Step 7: Now time to modify php-ini, file... open the file in notepad, look for extension=php_mysql.dll, uncomment it, i.e., delete ";" thats prefixed...also look for "extension_dir=" append "C:\php\ext" incase ur php installation directory is php else "C:\%installation dir%\ext"

Step 8: Copy libmysql.dll to c:\windows\system32
adielh
Forum Newbie
Posts: 2
Joined: Wed Jan 27, 2010 3:29 am

Re: apache install what am i doing wrong

Post by adielh »

adielh wrote:So i installed apache on windows Xp
Also installed Mysql
And php i am having trouble with seeing the php files in loacalhost

this is the steps i did
tep 1: Default installation of Apache

Step 2: Default installation of mysql

Step 3: Download php zip file, extract it to ur C: drive under c:\php

Step 4: Add these paths to ur classpath, "C:\php", "C:\php\ext", incase ur installation directory is php, else watever is the name of ur php installation directory use that instead of php

Step 5: Open httpd.conf, that is located in Apache web server installation folder, under conf directory i.e.,
Apache Installation folder > conf > httpd.conf

Add these lines....
>LoadModule php5_module "c:/php/php5apache2_2.dll"
>AddType application/x-httpd-php .php

Step 6: goto php installation directory, there u'll find a file named php-ini-recommended, rename it to, php-ini.

Step 7: Now time to modify php-ini, file... open the file in notepad, look for extension=php_mysql.dll, uncomment it, i.e., delete ";" thats prefixed...also look for "extension_dir=" append "C:\php\ext" incase ur php installation directory is php else "C:\%installation dir%\ext"

Step 8: Copy libmysql.dll to c:\windows\system32

never mind i will just find what i ma looking for here http://sourceforge.net/projects/xampp/f ... e/download
Post Reply