BetaONE will rise again!

BetaONE will rise again! (http:\\b1.hcanet.com\forum/index.php)
-   Software Support (http:\\b1.hcanet.com\forum/forumdisplay.php?f=45)
-   -   How to install php for Apache web server? (http:\\b1.hcanet.com\forum/showthread.php?t=5473)

war59312 20th Dec 02 06:56 AM

How do I install php to work with Apache?

Can you just post an edited httpd file that works. Yes the whole thing. Just using defult directories and everything.

Or walk me through it if possiable.

First time trying this one.

Thanks,
Will

Sephiroth 20th Dec 02 08:46 PM

this is our server's config (the parts for php that is)

In the Load Module section:

Quote:


<IfDefine HAVE_PHP4>
LoadModule php4_module &nbsp; &nbsp; &nbsp; &nbsp;modules/libphp4.so
</IfDefine>

In the Add Module section:

Quote:


<IfDefine HAVE_PHP4>
AddModule mod_php4.c
</IfDefine>

And then in the Add Type section:

Quote:


<IfModule mod_php4.c>
&nbsp;AddType application/x-httpd-php .php4 .php3 .phtml .php
&nbsp;AddType application/x-httpd-php-source .phps
</IfModule>

the last part might be the only part that you need, and you can actually try it with only the two AddType lines and leave the rest of it out if that works

war59312 21st Dec 02 11:19 PM

Well now it downloads the php files: .php and .php3.

um not sure whats wrong

thanks for your help though,
will

ps: better than what i had :)

Sephiroth 22nd Dec 02 01:51 AM

Check your PM Will.

war59312 23rd Dec 02 03:03 AM

All right thanks a lot. Finally got it up and running thanks to you. :)

Thanks m8,
Will


All times are GMT +1. The time now is 04:49 AM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.