-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have Apache 1.3 and PHP4 installed directly from the SuSE 8.2 DVD. Apache is running fine, so is PHP. I've browsed httpd.conf to find the setting to tie them together, but I don't see it. It's possible (probable?) that I need to do something else to the Apache configuration as it came directly from the SuSE release. What do I need to do to enable PHP on my Apache? - ---tia - -Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+4hoFjeziQOokQnARAgFKAJ9nasJcmdGDnawgXIYDyLJw5l8PmgCdHwQB owCBc6rvba1KyLu9kUJ2zJo= =RPHo -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I have Apache 1.3 and PHP4 installed directly from the SuSE 8.2 DVD. Apache is running fine, so is PHP. I've browsed httpd.conf to find the setting to tie them together, but I don't see it. It's possible (probable?) that I need to do something else to the Apache configuration as it came directly from the SuSE release.
What do I need to do to enable PHP on my Apache?
I'm not sure if it's something you can do with Yast2, but you can manually add the following line to your httpd.conf: AddType application/x-httpd-php .php .php3 .php4 Restart Apache once you are done. FYI, if you're interested in seeing the capabilities of your PhP Module, create a file called phpinfo.php containing the following: <? phpinfo(); ?> and point your browser at that file. Josh
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 07 June 2003 13:48, Josh Trutwin wrote:
Restart Apache once you are done.
Just when I thought I was moving out of the Newbie phase, I forget to restart my server after installing PHP. Ahh, well! Thanks
<? phpinfo(); ?>
That was actually the test page I had. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+4l8vjeziQOokQnARAoJFAJoCuEKuwkjNm0CCSAmle4QqgfvlhQCfdR17 qm336erkkqpBraIGfi9K+cc= =QUCG -----END PGP SIGNATURE-----
participants (2)
-
Josh Trutwin
-
Michael Satterwhite