I am trying to get MediaWiki to work with local user accounts using the PwAuthPlugin on my SME8 server.
However, this plugin errors with the call to the posix function:
PHP Fatal error: Call to undefined function posix_getpwnam() in /home/e-smith/files/ibays/wiki/html/extensions/PwAuthPlugin.php on line 60
It appears that php-process needs to be installed to enable the posix functions.
I tried following the instructions in
http://wiki.contribs.org/PHPki where it is suggested to install php-process from smedev with
yum --enablerepo=smedev install php-process
but this ends up in an unresolved dependency that seems to be a loop:
Resolving Dependencies
--> Running transaction check
---> Package php-process.i386 0:5.3.3-1.el5.sme.6 set to be updated
--> Processing Dependency: php-common = 5.3.3-1.el5.sme.6 for package: php-process
--> Finished Dependency Resolution
php-process-5.3.3-1.el5.sme.6.i386 from smedev has depsolving problems
--> Missing Dependency: php-common = 5.3.3-1.el5.sme.6 is needed by package php-process-5.3.3-1.el5.sme.6.i386 (smedev)
Error: Missing Dependency: php-common = 5.3.3-1.el5.sme.6 is needed by package php-process-5.3.3-1.el5.sme.6.i386 (smedev)
but
php-common seems to be installed:
# rpm -q php-common
php-common-5.3.3-1.el5.sme.3
although I am not sure what the distinction between the 3 and the 6 at the end of the package name. At least yum seems to think they are same.
Also when I do:
yum install php-process
I get
Resolving Dependencies
--> Running transaction check
---> Package php53-process.i386 0:5.3.3-5.el5 set to be updated
--> Processing Dependency: php53-common = 5.3.3-5.el5 for package: php53-process
--> Running transaction check
---> Package php53-common.i386 0:5.3.3-5.el5 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-5.el5.i386 from base has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
Anybody any thoughts? And why are there php53 packages in the contribs repo?