Current time: 05-18-2024, 09:15 AM Hello There, Guest! (LoginRegister)


Thread Closed 
PHP open_basedir Problem and Apache Problem
Author Message
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #11
RE: PHP open_basedir Problem and Apache Problem
no problem. here the suexec.log!
i also read threads about wrong userrights oder folderrights.

but it looks like that everything right.

regards


Attached File(s)
.txt  suexec-log.txt (Size: 1.99 KB / Downloads: 3)
(This post was last modified: 01-14-2011 05:18 AM by MFernandes.)
01-14-2011 05:12 AM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #12
RE: PHP open_basedir Problem and Apache Problem
Ok. Hmmm, what about the vhost config. I found some other users in google with the same problem. There are posts about wrong vhosts.
01-14-2011 05:28 AM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #13
RE: PHP open_basedir Problem and Apache Problem
where are the config file for the vhosts?
(This post was last modified: 01-14-2011 06:17 PM by MFernandes.)
01-14-2011 09:34 AM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #14
RE: PHP open_basedir Problem and Apache Problem
Hi,

got it.

I had solve the Problem. In the evening " German Time :-) " i will write a post how i fixed the Problem. After this Post you can close the thread.

First of all, thanks for every help.

Also i have to may a compliment, the answers for my questions i get it very fast. That´s very nice!


Regards,

Marc
01-14-2011 09:03 PM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #15
RE: PHP open_basedir Problem and Apache Problem
I'm looking forward to the solution Smile
It was too late for me today morning at 12.03 Wink You can make a Reputation Tongue

Best Regards
Fluser
01-14-2011 09:10 PM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #16
RE: PHP open_basedir Problem and Apache Problem
Hi everybody,

after this message you can close this thread as solved.

Here my way to solve my problem.


Problem No. 1:

All websites was shown with PHP-Errors nearly like this

"Warning ... function inclue ... open_basedir restriction in effect."!

Attempts of solving:

- Restart the apache server " srv# /etc/init.d/apache2 restart "


Problem No. 2:

- Restartsciptfile " srv# /etc/init.d/apache2 restart " didn´t work.
- Reason: File was empty

Attempts of solving:

- Tried to refill the file with scrpitcode copied by an internetsite from a post of a forum.
( Didn´t worked nice because of diffrent versions and i got " fail " messages after trying to restart )

- Reinstalled the packages " apache2.2-common ". ( Works )
- Way to reinstall:
- srv# apt-get purge apache2.2-common
- srv# apt-get install apache2.2-common

After that the restart for the apache server worked nice.

Problem No. 3:

All internet sites of any domain on my server was shown standard ... " It Works!! " ... site of apache webserver.

Attempts of solving:

- Tryied to reconfigure the ISPCP Conifg. ( Works, but not fully )
- Way to reinstall:
- srv# cd /var/www/ispcp/engine/setup
- srv# perl ispcp-update (just for ispcp versions after 1.0.3)

Problem No. 4:

It seems to be that the ispcp config right, apart from one thing " All internet sites of any domain where they works with PHP shown this message " Internal Error 500 ".

Attempts of solving:

- checked every process of apche server and php, but all was running.(Didn´t works!!!)
- Restart apache webserver in way like Attemps of No. 1. (Didn´t works!!!)

Problem was not solved as yet!!!

Problem No. 5:

After trying to restart the apache webserver i got this message " Warning: SuexecUserGroup directive requires SUEXEC wrapper. ".

Attempts of solving:

- Watching on other forum after searching over google.

- Found an site that shown a way to solve this problem. ( Way: Install the package " apache2-suexec " )
- Way to install:
- srv# apt-get install apache2-suexec

I can´t imagen why this package " apache2-suexec " was deleted!

After installing this package everything works fine. All Problems was solved.

- The PHP-Errors was also solved, i can´t say in which way, sorry!
- Apache Restart works normally.
- All internet sites of every domains was shown like always.
- Internal Error 500 wasn´t still shown

Thats it. Also sorry for this long long post! :-)

I hope this post will help other guys in future.

So everybody, have fun, be healthy, life long and enjoy our server!!!

And thanks for every help here.

Best regards,
MFernandes
Quote: " Think Positive!!! "
(This post was last modified: 01-15-2011 09:13 AM by MFernandes.)
01-15-2011 09:00 AM
Find all posts by this user
Thread Closed 


Forum Jump:


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