View previous topic :: View next topic |
Author |
Message |
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Sun Aug 18, 2002 9:42 pm Post subject: Help with PHP |
|
|
I am trying to set up the apache and php for squirel mail. I have the apache installed and working, but apparantly the PHP is not working correctly. I created the test.php, but the results on the page are:
<? phpinfo(); ?>
Could anyone please help? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Aug 18, 2002 9:43 pm Post subject: |
|
|
Moving from D.E. to Networking & Security.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Aug 18, 2002 9:45 pm Post subject: Re: Help with PHP |
|
|
ckwall wrote: | I created the test.php, but the results on the page are:
<? phpinfo(); ?> |
That's precisely what gets output to the browser? If so, you haven't told Apache to use the PHP module to interpret files ending in .php.
Have a look at the PHP documentation on how to install php in apache. Specifically, look for the "AddType" and "LoadModule" sections to make sure you have those entered correctly in your httpd.conf.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Sun Aug 18, 2002 10:34 pm Post subject: |
|
|
found the issue. Sorry to waste everyones time.
the APACHE_OPTS="-D SSL -D PHP4" line in the conf.d had a # in front of it that I missed.
Thanks all |
|
Back to top |
|
|
|