[opensuse] php5: dynamic extensions in php.ini?
Hi :-) I finally upgraded from php4 to php5. When I compared my old php.ini to the new one, I saw that the "dynamic extension" are not listed anymore in the new one. Is it advisable to list the installed extensions there? Should I just add all modules that are listed in /usr/lib/php5/extensions ? Oh, and, I thought, these files were named like "mysql.so" but all files in that directory don't have any file name extension??? I am working on Suse 10.0. Apache, mysql, php... are only for local use. thanks for your hints. Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Daniel Bauer wrote:
Hi :-)
I finally upgraded from php4 to php5. When I compared my old php.ini to the new one, I saw that the "dynamic extension" are not listed anymore in the new one.
Is it advisable to list the installed extensions there?
No, each extension has it's own config in /etc/conf.d/*.ini
Should I just add all modules that are listed in /usr/lib/php5/extensions ? Oh, and, I thought, these files were named like "mysql.so" but all files in that directory don't have any file name extension???
Shouldn't be a problem (from 10.1 on, it's extension.so again). hth, Michal PS: You might perhaps be interested in the latest and greatest php5 packages in the Build Service: http://software.opensuse.org/download/server:/php/SUSE_Linux_10.0/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 01 February 2007 14:28, Michal Marek wrote:
Daniel Bauer wrote:
Hi :-)
I finally upgraded from php4 to php5. When I compared my old php.ini to the new one, I saw that the "dynamic extension" are not listed anymore in the new one.
Is it advisable to list the installed extensions there?
No, each extension has it's own config in /etc/conf.d/*.ini
thanks. I found them in /etc/php5/conf.d all modules are listed there.
Should I just add all modules that are listed in /usr/lib/php5/extensions ? Oh, and, I thought, these files were named like "mysql.so" but all files in that directory don't have any file name extension???
Shouldn't be a problem (from 10.1 on, it's extension.so again).
hth, Michal
PS: You might perhaps be interested in the latest and greatest php5 packages in the Build Service: http://software.opensuse.org/download/server:/php/SUSE_Linux_10.0/
thanks for the url. I guess it's the same as ftp-1.gwdg.de/pub/opensuse/repositories/server:/php/SUSE_Linux_10.0/ mentioned by Cristian Rodriguez in his post. Am I right, that the gwdg-URL is a mirror and that it's better to use a mirror than the software.opensuse URL? Or does it make no difference in regard of server load? btw.: when updating to the above version I had to remove some modules that caused conflicts because they are not available in the same version as the rest (I guess I don't need these modules anyway). btw.2: the update did not cause any problems at all. I just restarted apache2 and everything worked fine. I was just looking at the ini-files etc. to better understand (and to change some default settings). Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Daniel Bauer wrote:
On Thursday 01 February 2007 14:28, Michal Marek wrote:
No, each extension has it's own config in /etc/conf.d/*.ini
thanks. I found them in /etc/php5/conf.d all modules are listed there.
Arr, yes it's of course /etc/php5/conf.d
PS: You might perhaps be interested in the latest and greatest php5 packages in the Build Service: http://software.opensuse.org/download/server:/php/SUSE_Linux_10.0/
thanks for the url. I guess it's the same as ftp-1.gwdg.de/pub/opensuse/repositories/server:/php/SUSE_Linux_10.0/ mentioned by Cristian Rodriguez in his post.
Yes it's a mirror, in fact software.o.o just redirects downloads to one of the mirrors. BTW Cristian is one of the packagers of server:php (usually the most active one :)).
btw.: when updating to the above version I had to remove some modules that caused conflicts because they are not available in the same version as the rest (I guess I don't need these modules anyway).
Some modules were merged (like php5-mysqli is now part of php5-mysql), could it be that? Michal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Michal Marek escribió:
btw.: when updating to the above version I had to remove some modules that caused conflicts because they are not available in the same version as the rest (I guess I don't need these modules anyway).
Some modules were merged (like php5-mysqli is now part of php5-mysql), could it be that?
yes very likely, for < 10.0 , you should remove all php5 packages and then upgrade to the buildservices ones. I have never tested how it baheves on upgrade from 10.0, only from 10.1 and up. :-) I guess I should check what packages has been obsoleted since that time..
On Saturday 03 February 2007 05:01, Cristian Rodriguez R. wrote:
Michal Marek escribió:
btw.: when updating to the above version I had to remove some modules that caused conflicts because they are not available in the same version as the rest (I guess I don't need these modules anyway).
Some modules were merged (like php5-mysqli is now part of php5-mysql), could it be that?
yes very likely, for < 10.0 , you should remove all php5 packages and then upgrade to the buildservices ones. I have never tested how it baheves on upgrade from 10.0, only from 10.1 and up. :-)
I guess I should check what packages has been obsoleted since that time..
the packages I had to remove are: php5-dbx, php5-dio, php5-fam, php5-filepro, php5-mysqli, php5-yp those packages are version 5.0.4-9 I obviously installed them with my first attempt to upgrade from php4 to 5, and when later updating to 5.2.0-70.1 yast saw a conflict, so I decided to remove them. Yast offered the correct solution, so the upgrade on 10.0 was perfect. thanks for your work. Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Daniel Bauer escribió:
Hi :-)
I finally upgraded from php4 to php5. When I compared my old php.ini to the new one, I saw that the "dynamic extension" are not listed anymore in the new one.
Is it advisable to list the installed extensions there?
Should I just add all modules that are listed in /usr/lib/php5/extensions ? Oh, and, I thought, these files were named like "mysql.so" but all files in that directory don't have any file name extension???
Should work, except the dl() function. ( you shoulnt be using it anyway, even more, this function has been recently unregistred from all PHP SAPI except CLI, so it wont be available to use it anymore even with enable_dl=On in apache..)
I am working on Suse 10.0. Apache, mysql, php... are only for local use.
if you want a current version of PHP (10.0 one is quite buggy) add this to yast http://ftp-1.gwdg.de/pub/opensuse/repositories/server:/php/SUSE_Linux_10.0/ and then upgrade all php5 packages, should work better.
participants (3)
-
Cristian Rodriguez R.
-
Daniel Bauer
-
Michal Marek