I just upgraded to art's php 4.4.0-3 packages on FC2 and FC3 servers, because it was reported that mail() was working again (was broken in the last couple of art php releases). But this time MySQL (amongst others) was not working with php.
I found the solution was setting extension_dir in /etc/php.ini to "/usr/lib/php4" instead of art php's default "./". Scott, could you maybe fix the php.ini you're shipping?
Solution to modules not loading with art's php 4.4.0-3
What determines if the php.ini file would get overridden? If it was modified since the original base install than it is kept otherwise it is overwritten? I think that is the basic policy of how rpms work, would arts rpms be the same?
I happened to loose my php.ini while testing the new php rpm on a non production server. I think it is always best to make backups of config files before updating. Seems like good policy...just in case.
I happened to loose my php.ini while testing the new php rpm on a non production server. I think it is always best to make backups of config files before updating. Seems like good policy...just in case.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
I don't know, but if the art rpms are the first php rpms you're installing on your server you also have non-working modules.dmoses wrote:What determines if the php.ini file would get overridden? If it was modified since the original base install than it is kept otherwise it is overwritten? I think that is the basic policy of how rpms work, would arts rpms be the same?
Sure thing.dmoses wrote:I happened to loose my php.ini while testing the new php rpm on a non production server. I think it is always best to make backups of config files before updating. Seems like good policy...just in case.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
the php.ini file is designated as a "config" file by the rpm. That means when a new rpm comes in to upgrade it, internally the rpm package will instead install the new file as <original filename>.rpmnew. You could force that file to be overwritten inside the rpm, in which case it will back up the old config file as <original filename>.rpmsave.