bar top left
bar top right
left curve
right curve
Welcome, Guest

after update PHP undefined function posix_getpwuid
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: after update PHP undefined function posix_getpwuid
#39393
after update PHP undefined function posix_getpwuid 2 Years, 3 Months ago Karma: 0
Hello.
Want install phpmy admin on my elastix but need version +5.2 php.
Install new version php.
Then want connect to elastix from web enter username and password receive blank page
see log receive next:
[Thu Nov 05 14:09:58 2009] [error] [client 10.0.150.150] PHP Fatal error: Call to undefined function posix_getpwuid() in /var/www/html/libs/paloSantoConfig.class.php on line 57, referer: 10.0.150.75/
[Thu Nov 05 14:14:00 2009] [error] [client 10.0.150.150] PHP Fatal error: Call to undefined function posix_getpwuid() in /var/www/html/libs/paloSantoConfig.class.php on line 57, referer: 10.0.150.75/
Please help.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
temnyi
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#41337
Re:after update PHP undefined function posix_getpwuid 2 Years, 2 Months ago Karma: 0
Hi temnyi,
I have exactly the same error with you. Did you found any solution for this error?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Karpin
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56794
Re:after update PHP undefined function posix_getpwuid 1 Year, 6 Months ago Karma: 0
Hello
The solution is to install php-process :
yum install php-process

Hope this help someone.
Regards.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
stevenbg
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#60299
Re:after update PHP undefined function posix_getpwuid 1 Year, 4 Months ago Karma: 0
Solved it for me too!

My problem was different after upgrading though: Only voicemail, monitoring, and a few other specific pages would cause the white-screen error. Other ones worked fine!

The upgrade / update from PHP 5.1 to PHP 5.2 went flawless for me using the ATOMIC rpm.

I also got it to work (before installing php-process) by going into paloSantoConfig.class.php, line 57, and adding 'return 1;' on the very front. Not the smartest thing to do, but the only solution I had until running across your post.

Thanks!

-Suthern
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
suthern101
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez