PHP is a server-parsed language. You need to add the right directives to your httpd.conf file in the global config section. They should be something *like* the following:
AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps You may also need to add them to the individual VHost. Depends on your setup (for instance, Cobalt systems are backward and require them in the VHost, not the global config). If you don't add this as a server-parsed type, it will process it as just text - like it us doing for you now. Mike "J W W L Berg" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all > > Sorry about what is probably a total dickhead about to enter your midst, > but I've never installed php or seen it much at all before but am trying to > do it now. > > Using RH 7.1 and Apache 1.3.19 > > Want to install php4 and mysql combo and totally ignorant. > > Installed php rpm. > > Restarted apache in case that was needed. > > made hello.php and pointed browser at it. > > Got the text, rather than executing it. > > Can I surmise that apache isn't set up properly, and if so, could someone > please point me towards relevant assistance. Got really confused with the > "manual", etc. Not that bright I suppose ;-) > > Thanks in advance > Warwick > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]