Bug 137450 - apache2-mod_php5-5.0.4-9 has faulty config
Summary: apache2-mod_php5-5.0.4-9 has faulty config
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Petr Ostadal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 20:03 UTC by Tolan Blundell
Modified: 2005-12-30 18:02 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tolan Blundell 2005-12-07 20:03:39 UTC
The RPM creates /etc/apache2/conf.d/php5.conf with the following contents:

<IfModule mod_php5.c>
        AddType application/x-httpd-php .php3
        AddType application/x-httpd-php .php4
        AddType application/x-httpd-php .php5
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .php3s
        AddType application/x-httpd-php-source .php4s
        AddType application/x-httpd-php-source .php5s
        AddType application/x-httpd-php-source .phps
        DirectoryIndex index.php3
        DirectoryIndex index.php4
        DirectoryIndex index.php5
        DirectoryIndex index.php
</IfModule>

Which never seems to succeed as the RPM includes /usr/lib/apache2/libphp5.so not  mod_php5.c

Also, no changes are made to /etc/apache2/sysconfig.d/loadmodule.conf which would seem sensible.

Apologies if I've missed the point, I'm new to Suse's way of doing things (and Apache2 as it happens), but this definitely seems wrong.
Comment 1 Michael Gross 2005-12-08 15:55:35 UTC
OK, the Apache uses something like mod_xxx.c for a module mod_xxx.so (ELF shared object). But it would be new to me that it translates lib* to mod_*, which is implied here.

Peter: Please comment about this.
Comment 2 Cristian Rodríguez 2005-12-10 23:47:36 UTC
configuration works for me

but as you mention looks "strange".

I wonder if apache internally changes the prefix...
Comment 3 Cristian Rodríguez 2005-12-30 18:02:36 UTC
seems to be the correct configuration , as stated on:


http://cl2.php.net/manual/en/configuration.changes.php