Current time: 11-26-2024, 12:20 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500
Author Message
freed1985 Offline
Junior Member
*

Posts: 17
Joined: Mar 2010
Reputation: 0
Post: #1
[SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500
Today,I reinstall my php with version 5.2.10(old php is 5.3.2)

Then I can visit the page in vhosts.
But now I can`t visit my panel ,it reports HTTP500 error.
Why?

Code:
123.191.58.175 - - [19/Mar/2010:05:36:29 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; QQPinyin 689)"
123.191.58.175 - - [19/Mar/2010:05:36:29 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; QQPinyin 689)"
116.3.187.222 - - [19/Mar/2010:05:41:18 -0700] "GET / HTTP/1.1" 500 - "-" "Opera/9.80 (Windows NT 6.1; U; zh-cn) Presto/2.2.15 Version/10.10"
116.3.187.222 - - [19/Mar/2010:05:41:18 -0700] "GET / HTTP/1.1" 500 - "-" "Opera/9.80 (Windows NT 6.1; U; zh-cn) Presto/2.2.15 Version/10.10"
116.3.187.222 - - [19/Mar/2010:05:41:24 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"
116.3.187.222 - - [19/Mar/2010:05:41:24 -0700] "GET / HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

I use ispCP1.0.4 on CentOS5.4
(This post was last modified: 03-26-2010 07:09 PM by freed1985.)
03-19-2010 03:56 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
This is the wrong Logfile.
Post the Error log oer the default.error

Greez BeNe
03-19-2010 04:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
freed1985 Offline
Junior Member
*

Posts: 17
Joined: Mar 2010
Reputation: 0
Post: #3
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
(03-19-2010 04:31 PM)BeNe Wrote:  This is the wrong Logfile.
Post the Error log oer the default.error

Greez BeNe

this is the default.error
Code:
[root@AT16-7148 users]# cat default-error.log
[Sun Mar 21 02:45:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Mar 21 02:45:04 2010] [notice] Digest: generating secret for digest authentication ...
[Sun Mar 21 02:45:04 2010] [notice] Digest: done
[Sun Mar 21 02:45:05 2010] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.2.10 mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/www/ispcp/gui/phptmp//sess_ucub304615r5kkn4o59btm0270, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 43
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  require_once(/var/www/ispcp/gui/include/ispcp-db-keys.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/ispcp/gui/include/ispcp-db-keys.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: open(/var/www/ispcp/gui/phptmp//sess_ucub304615r5kkn4o59btm0270, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 21 02:50:01 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp/) in Unknown on line 0
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/www/ispcp/gui/phptmp//sess_1ibp4f5fbpcmf6jdcd8qvvrdd6, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 43
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  require_once(/var/www/ispcp/gui/include/ispcp-db-keys.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/ispcp/gui/include/ispcp-db-keys.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: open(/var/www/ispcp/gui/phptmp//sess_1ibp4f5fbpcmf6jdcd8qvvrdd6, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 21 02:50:07 2010] [error] [client 116.3.184.243] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp/) in Unknown on line 0
03-21-2010 01:06 PM
Find all posts by this user Quote this message in a reply
Shin Offline
Development Team - Junior
*****
Dev Team

Posts: 162
Joined: Oct 2006
Reputation: 0
Post: #4
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
have you tried re-running set-gui-permission.sh ? Is in engine/setup folder
(This post was last modified: 03-21-2010 07:10 PM by Shin.)
03-21-2010 07:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
GioMac Offline
Junior Member
*****
Dev Team

Posts: 43
Joined: Mar 2008
Reputation: 0
Post: #5
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
FC12
php5.3.12->php5.2.10/php5.2.12
didn't get same problem
03-21-2010 07:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
foxb Offline
Junior Member
*

Posts: 37
Joined: Mar 2010
Reputation: 0
Post: #6
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
I did have the same problem.

CentOS 5.4

PHP5.3.1 -> 5.3.2 (ERROR500) -> Downgraded to 5.2.10 (Problem PERSISTED)

http://www.isp-control.net/forum/thread-9881.html
03-22-2010 01:21 AM
Find all posts by this user Quote this message in a reply
freed1985 Offline
Junior Member
*

Posts: 17
Joined: Mar 2010
Reputation: 0
Post: #7
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
I tried re-running set-gui-permission.sh .

But it`s also report http500 error.

At last,I delete all file and reinstall ispcp.
It`s running now.

Thanks to all friends upstairs.
03-22-2010 03:06 PM
Find all posts by this user Quote this message in a reply
treuben Offline


Posts: 3
Joined: Mar 2010
Reputation: 0
Post: #8
RE: Change php to 5.2.10,then panel can`t visit report HTTP500
I have php 5.2.10 and centos also. same issue. seems a permissions problem (perhaps) and the scrips don't help. chmod 444 /var/www/ispcp/gui/include/ispcp-db-keys.php and chmod -R 777 /var/www/ispcp/gui/phptmp and perhaps even chmod -R 0777 /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer
(don't quote me on that last one as I'm not sure it was necessary) seems to restore to working but these I think may compromise security.

If anyone else can share a better way to fix short of reinstall it would be nice! I imagine this may happen because of php upgrades or some such as I did use both 5.2.9 and 5.2.10 in the course of one ispcp install without reinstall.

Kind regards for great work! 8)


(03-22-2010 03:06 PM)freed1985 Wrote:  I tried re-running set-gui-permission.sh .

But it`s also report http500 error.

At last,I delete all file and reinstall ispcp.
It`s running now.

Thanks to all friends upstairs.
03-28-2010 11:36 PM
Find all posts by this user Quote this message in a reply
mkreder Offline
Newbie
*

Posts: 8
Joined: Jan 2011
Reputation: 0
Post: #9
RE: [SOLVED] Change php to 5.2.10,then panel can`t visit report HTTP500
Solved with:

chgrp apache /var/www/ispcp/gui/include/ispcp-db-keys.php
chmod g+r /var/www/ispcp/gui/include/ispcp-db-keys.php

apache, didn't have the permissions to read that php file, you may need to add that to set-gui-permissions.sh
02-02-2011 09:37 PM
Find all posts by this user Quote this message in a reply
#wilsontek[GXGXGGXGXGGA] Offline


Posts: 1
Joined: Oct 2011
Reputation: 0
Post: #10
Most excellently Tennis Rackets
If you are looking quest of Wilson Tennis as regards trading, divert detain reading this very vest-pocket article and you right-minded effect discover some dope that may be useful. Some people over that Wilson Tennis Online truly invented tennis, they receive been complex in the sport in search so long. Wretched to allege, that is not the case. There is a merest good reasoning that this obstinate has such an terrific reputation in tennis, which is they daily scheme and deliver some of the finest Wilson Tennis Rackets in the world. -http://www.wilsontennissale.com
10-15-2011 06:30 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)