httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dave selby" <dave6...@googlemail.com>
Subject [users@httpd] apache2 PHP listing this module ?
Date Mon, 26 May 2008 11:49:23 GMT
Hi All,

I am writing an install script which needs to know if apache2 is
configured to run PHP.
ie I apt-get 'libapache2-mod-php5' and PHP code runs but

dave@dev-system:~$ apache2 -l
Compiled in modules:
  core.c
  mod_log_config.c
  mod_logio.c
  prefork.c
  http_core.c
  mod_so.c
dave@dev-system:~$

only reports built in modules. Is there a command that indicated
dynamicly (hope I got this right ?) modules
so my script can parse its output and make a decision ?

Many thanks

Dave





-- 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message