Hi
I needed to upgrade php 5.0 to php 5.1. I use Mandriva 2006 powerpack. I used Smart to upgrade the php and it upgraded a whole lot of packages (I have a screen shot of all the upgraded packages)they included apache-base and apache-conf. Then apache refused to start. I got the following error
]# service httpd start
Starting httpd: /etc/httpd/modules.d/75_mod_perl.conf:89: <IfModule mod_access.c>
/etc/httpd/modules.d/75_mod_perl.conf:115: <IfModule mod_access.c>
/etc/httpd/modules.d/75_mod_perl.conf:145: <IfModule mod_access.c>
Obsolete apache 2.0 configuration directives were found as shown above designated by filename:line number:directive.
Please read the /usr/share/doc/apache-base-*/new_features*.txt, /usr/share/doc/apache-conf-*/README.urpmi file and
the online apache 2.2 documentation at http://httpd.apache.org/docs/2.2/
The following example statement does not work with apache 2.2.0:
<Directory /my/secure/files>
Options -All -Multiviews
AllowOverride None
<IfModule mod_access.c> <- REMOVE THIS LINE
Order deny,allow
Deny from all
</IfModule> <- REMOVE THIS LINE
</Directory>
[FAILED]
Then I removed the 3 lines with IfModule but got the following errors.
]# service httpd start
Starting httpd: httpd: Syntax error on line 251 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/modules.d/40_mod_ssl.conf: Cannot load /etc/httpd/extramodules/mod_ssl.so into server: /etc/httpd/extramodules/mod_ssl.so: undefined symbol: ap_run_http_method
[FAILED]
I removed the line 251 of httpd.conf which was
Include modules.d/*.conf
Then apache started but no php. I guess the php module doesn't get loaded when I removed that line.
Is there any way to fix this apache conf problem or if I rolled back to the original Mandriva apache installation, is there anyway that I could upgrade to php 5.1?
Thanks
Neranjana