On Wed, 2005-05-25 at 23:16 +0200, Piotras wrote:
> >> Follow this link:
> >> http://midgard-project.org/community/development/debugging.html
> 
> > Ok, here is the deal.  I can't seem to recreate using gdb.  When I fire
> > up gdb, i get the following.
> >
> > [New Thread 16384 (LWP 30702)]
> > Syntax error on line 29 of /etc/midgard/apache/vhosts/127.0.0.1_8001:
> > Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a
> > module not included in the server configuration
> >
> 
> Looks like Apache php module is not loaded.
> What Apache2? worker? prefork?
> 
> Try this:
> grep -re php /etc/apache2/*
> 
> Change apache2 configuration directory if needed.
> 
> Piotras
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

It's apache2, not sure what you mean by worker or prefork.  The module
gets loaded in normal operation, but doesn't seem to using gdb.  Is
there a way to make sure it gets loaded when ran through gdb?

This from phpinfo();
midgard

Midgard Support         enabled

so, the midgard module and the php module both get loaded in normal use,
but not from gdb.  

Appreciate all the back and forth so far.  Oh, and here is output from
the grep command, /etc/apache2/conf/modules.d/70_mod_php.conf gets
included from the main apache configuration file

/etc/apache2/conf/commonapache2.conf:    DirectoryIndex index.html
index.html.var index.php index.php3 index.shtml index.cgi index.pl
index.htm Default.htm default.htm
/etc/apache2/conf/commonapache2.conf:
AddIcon /icons/p.gif .pl .py .php .php3
/etc/apache2/conf/modules.d/41_mod_ssl.default-vhost.conf:<Files ~
"\.(cgi|shtml|phtml|php?)$">
/etc/apache2/conf/modules.d/70_mod_php.conf:            LoadModule
php4_module  extramodules/libphp4.so
/etc/apache2/conf/modules.d/70_mod_php.conf:            AddType
application/x-httpd-php .php
/etc/apache2/conf/modules.d/70_mod_php.conf:            AddType
application/x-httpd-php .phtml
/etc/apache2/conf/modules.d/70_mod_php.conf:            AddType
application/x-httpd-php .php3
/etc/apache2/conf/modules.d/70_mod_php.conf:            AddType
application/x-httpd-php .php4
/etc/apache2/conf/modules.d/70_mod_php.conf:            AddType
application/x-httpd-php-source .phps
/etc/apache2/conf/modules.d/70_mod_php.conf:    <Files *.php>
/etc/apache2/conf/modules.d/70_mod_php.conf:            # keep this the
same size as post_max_size in php.ini
/etc/apache2/conf/modules.d/70_mod_php.conf:    <Files *.php3>
/etc/apache2/conf/modules.d/70_mod_php.conf:            # keep this the
same size as post_max_size in php.ini
/etc/apache2/conf/modules.d/70_mod_php.conf:    <Files *.php4>
/etc/apache2/conf/modules.d/70_mod_php.conf:            # keep this the
same size as post_max_size in php.ini
/etc/apache2/conf/modules.d/70_mod_php.conf:    <Files *.phps>
/etc/apache2/conf/modules.d/70_mod_php.conf:            # keep this the
same size as post_max_size in php.ini
/etc/apache2/conf/modules.d/70_mod_php.conf:            # keep this the
same size as post_max_size in php.ini

-- 
Mike



Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to