php-mcrypt hosed?
php-mcrypt hosed?
Yum-update'ed php and php-mcrypt ... but phpinfo doesn't show it.
Any idea what's wrong?
# rpm -qa | grep ^php
php-mcrypt-4.4.0-3.rhel3.art
php-mbstring-4.4.0-3.rhel3.art
php-mysql-4.4.0-3.rhel3.art
php-pear-4.4.0-3.rhel3.art
php-4.4.0-3.rhel3.art
Restarted httpd, anything else needed doin for mcrypt to turn up as module?
Any idea what's wrong?
# rpm -qa | grep ^php
php-mcrypt-4.4.0-3.rhel3.art
php-mbstring-4.4.0-3.rhel3.art
php-mysql-4.4.0-3.rhel3.art
php-pear-4.4.0-3.rhel3.art
php-4.4.0-3.rhel3.art
Restarted httpd, anything else needed doin for mcrypt to turn up as module?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
I just installed 4.4.0-3 from art and noticed that MySQL was not working with PHP. I noticed the php.ini from art's rpm has
while my old copy had:extension_dir = "./"
I put that last path in and everything is working again.extension_dir = "/usr/lib/php4"
Last edited by breun on Fri Sep 30, 2005 7:30 am, edited 1 time in total.
Hm, that was not the only problem in this php.ini. Next error was unable to connect to mysql. By copying a php.ini from an older installation, I got over that just to get a new problem:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in.... Mysql is tested and works fine from the CLI so I think this is probably yet another PHP problem.
I think I'd like to install the previuos version of php and modules instead - is there a way to do that with yum? How?
Also, may I suggest only tested software goes into the production repositories? It seems this particular php version belongs in "beta" ...
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in.... Mysql is tested and works fine from the CLI so I think this is probably yet another PHP problem.
I think I'd like to install the previuos version of php and modules instead - is there a way to do that with yum? How?
Also, may I suggest only tested software goes into the production repositories? It seems this particular php version belongs in "beta" ...

I made a phpinfo() script and it says, under mysql:
Client API version 3.23.58
The mysql version we have installed is 4.1 - how come it still says clietn API is 3.23 ?
# rpm -qa | grep -i mysql
mysql-server-4.1.12-1.rhel3.art
mysql-4.1.12-1.rhel3.art
perl-DBD-MySQL-2.1021-3
php-mysql-4.4.0-3.rhel3.art
mysql-compat-4.1.12-1.rhel3.art
Client API version 3.23.58
The mysql version we have installed is 4.1 - how come it still says clietn API is 3.23 ?
# rpm -qa | grep -i mysql
mysql-server-4.1.12-1.rhel3.art
mysql-4.1.12-1.rhel3.art
perl-DBD-MySQL-2.1021-3
php-mysql-4.4.0-3.rhel3.art
mysql-compat-4.1.12-1.rhel3.art