/sbin/service httpd restart Then tail /var/log/httpd/error_log should show [notice] Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_ssl/2.8.5 OpenSSL/0.9.6b PHP/4.0.6 mod_perl/1.26 configured -- resuming normal operations or something like that.... Ken
Andy Cheng wrote: > Hi all, > > I am using RH linux 7.2. I do have these lines: > > AddType application/x-httpd-php .php > <IfDefine HAVE_PHP> > LoadModule php_module modules/mod_php.so > <IfDefine HAVE_PHP> > AddModule mod_php.c > <IfDefine HAVE_PHP4> > AddModule mod_php4.c > > > in my httpd.conf. I think Windows version's of http.conf is different. > How do I check if the module is load or installed? > > >> From: Dustin Rabe <[EMAIL PROTECTED]> >> To: Andy Cheng <[EMAIL PROTECTED]> >> Subject: RE: mysql/php on linux >> Date: Sat, 23 Mar 2002 11:57:53 -0800 (PST) >> >> Try adding this to your http.conf file in apache. >> >> ScriptAlias /php/ "c:/php/" >> AddType application/x-httpd-php .php >> Action application/x-httpd-php "/php/php.exe" >> >> My Best, >> >> Dustin Rabe >> >> --- Andy Cheng <[EMAIL PROTECTED]> wrote: >> > Hello all, >> > >> > Thanks for the help. I move my php test script to >> > \var\www\html When I call >> > the php script from my browser, It shows me: >> > >> > <?php phpinfo(); ?> >> > >> > and not result of the phpinfo() function. When I >> > run "php phpinfo()" at the >> > shell command, it out puts the html result. What is >> > problem, my Apache not >> > understand the php script? Thanks > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php