Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

config. issue

Status
Not open for further replies.

MimiLeung

MIS
Joined
Mar 2, 2004
Messages
2
Location
HK
I'am running, or try to run, apache 2 with php5.
Apache is running fine the config.index page shows up when i got to localhost
but I see the literal code when I try to load any test docs, can anyone help me?
 
it sounds like you are not loading the php5 mod in apache

you need the following loadmodule directive:
Code:
 LoadModule php5_module "path/to/php5apache2.dll"

and you also need these two directives:
Code:
    PHPINIDir "path/to/php.ini file/"
    AddType application/x-httpd-php .php
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top