Re: [PHP] Enabling PHP in Apache when PHP is linked INTO the server?

2002-03-28 Thread Jason Wong

On Thursday 28 March 2002 23:40, Max Wilson wrote:
 I have an Apache server built with mod_php4.c linked into the executable.
 e.g.

 bash-2.03$ httpd -l
 Compiled-in modules:
   http_core.c
   mod_env.c
   
   mod_php4.c
   mod_perl.c


 What changes do i need to make to http.conf before I can use php in web
 pages which will work please?

Probably something like:


  AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
  AddType application/x-httpd-php-source .phps


Change the extensions to suit your needs.


-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
I am a deeply superficial person.
-- Andy Warhol
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Enabling PHP in Apache when PHP is linked INTO the server?

2002-03-28 Thread Max Wilson

I have an Apache server built with mod_php4.c linked into the executable.
e.g.

bash-2.03$ httpd -l
Compiled-in modules:
  http_core.c
  mod_env.c
  
  mod_php4.c
  mod_perl.c


What changes do i need to make to http.conf before I can use php in web
pages which will work please?

--
Thanks lots



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Enabling PHP in Apache when PHP is linked INTO the server?

2002-03-28 Thread Max Wilson

Is that all?


 Probably something like:


   AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
   AddType application/x-httpd-php-source .phps


 On Thursday 28 March 2002 23:40, Max Wilson wrote:
  I have an Apache server built with mod_php4.c linked into the
executable.
  e.g.
 
  bash-2.03$ httpd -l
  Compiled-in modules:
http_core.c
mod_env.c

mod_php4.c
mod_perl.c
 
 
  What changes do i need to make to http.conf before I can use php in web
  pages which will work please?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Enabling PHP in Apache when PHP is linked INTO the server?

2002-03-28 Thread Jason Wong

On Friday 29 March 2002 01:25, Max Wilson wrote:
 Is that all?

  Probably something like:
 
 
AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
AddType application/x-httpd-php-source .phps

Did you want more?

OK, you need to restart the httpd server as well.


-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
The worst sin towards our fellow creatures is not to hate them,
but to be indifferent to them; that's the essence of inhumanity.
-- G.B. Shaw
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php