PHP Extensions and Apache

I’m trying to configure the PHP extensions on my server running apache. Does anybody know how to configure them? I have no experience in Apache or PHP, but am starting to learn php to do my site with it. I’ve got the lastest 4.3.3 of PHP and verson 2.something of Apache on the server. Can anybody help me?

PS, i’m doing this through windows xp’s remote desktop feature onto my friend’s server.

Pooba

not sure if it’s much different on windows vs. linux, but the php configuration should be in a file called “php.ini” and the apache config info should be in “httpd.conf”

Again, this is how it is on linux, but I’m pretty sure the file names are standard across platforms.

it’s not that straight forward to set these things up on Windows, but there are plenty of documents available which explain. I’m positive that php comes with a readme file.

Timothy

The php.ini file doesnt need too much work, but configuring apache is a pain in the neck. I stuck the file: php4apache2.dll and php4ts.dll in C: , cause thats in the path part of environmental variables so it wouldnt get too confused. Then, stick

LoadModule php4_module c:/php4apache2.dll

AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps

in httpd.conf (anywhere, at the end is easiest)

and also:
index.php index.php3 index.php.var index.php3.var

on the end of:
DirectoryIndex index.html index.html.var index.htm index.htm.var

then, restart apache and it shouldwork. Otherwise, PM me and I’ll help out :wink: