Current time: 11-23-2024, 01:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
php version 5.3 to 5.2 cant login
Author Message
kingofkya Offline
Junior Member
*

Posts: 25
Joined: Dec 2009
Reputation: 0
Post: #1
php version 5.3 to 5.2 cant login
Ok for another piece of software i need a lower version of php5.2 before i had the remi php5.3 and now I have there archive package running. Now what could have changed that would prevent ispcp from allowing logins. Also other php programs can access the mysql db so i dont think its php-mysql.

centos 5
ispcp 1.0.3

Note i also installed the old versions of:
php-bcmath
php-dba
php-gd
php-ldap
php-mbstring
php-mcrypt
php-mysql
php-odbc
php-pdo
php-snmp
php-xml

Thanks
12-27-2009 05:08 PM
Find all posts by this user Quote this message in a reply
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #2
RE: php version 5.3 to 5.2 cant login
Possibly, it's related to PHP's crypt() function. Without knowing how it was built, it is possible that the build you are using only supports older DES hashing.

The RPMs for PHP 5.3 in Remi's repository support more hashing functions. (They support MD5 for sure, which is used in preference to DES - see the note in the above link about built-in support for PHP 5.3.) ispCP Omega will use the strongest method possible for the PHP version that is running.

The only real solution short of moving back to 5.3 is to reset all passwords, which will generate compatible hashes for the build of PHP you are using.
(This post was last modified: 12-27-2009 06:56 PM by motokochan.)
12-27-2009 06:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kingofkya Offline
Junior Member
*

Posts: 25
Joined: Dec 2009
Reputation: 0
Post: #3
RE: php version 5.3 to 5.2 cant login
ok thanks now how would i go reset the passwords correctly.

I don't see a mention of it on the forum search.

Also theres only like 4 password at this point so its no big deal.
12-28-2009 04:16 AM
Find all posts by this user Quote this message in a reply
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #4
RE: php version 5.3 to 5.2 cant login
For the ispCP login passwords, use the "forgot" link (it's under the image of the lock) to get a reset code. Once you log in, you can change any others.
12-28-2009 04:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kingofkya Offline
Junior Member
*

Posts: 25
Joined: Dec 2009
Reputation: 0
Post: #5
RE: php version 5.3 to 5.2 cant login
Thanks in the end I went back the debian just more used to it. Took 2 days on CentOS. Debian i had it up the first try in about 2 hours.
12-29-2009 02:33 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)