(cpanel, safe mode, open base dir, php 4.3.10) X Ezpublish 3.5

Author Message

Andre Felipe Machado

Friday 28 January 2005 9:02:42 am

Hello,
This weekend the shared hosting upgraded php and cpanel, some apache modules and configs and my site went broke.
Then, it backstepd a bit to php 4.3.9.
Ezpublish returned, but almost paralyzed and pages incompleted and or corrupted.
Unfortunately, the clear cache page did not work. My shell was also cancelled. The cpanel filemanager was the only able to remove some cache files.
Then, I edited site.ini.append.php to activate debug and to not use cache (but templates cache are still being asked for by ezpublish). Some admin pages are incomplete (windows.tpl and windows.....tpl are not being read).

The most recent message of the hosting crew is:
"Dear sir
The phpSuExec was removed at all servers, because demonstrated some dangerous possibilities to the servers stability, and now the php do not runs with user UID anymore but as an apache module.
All directories and files created through php will be created with apache's user and group id.
Also, safe mode and php open base dir avoids user to handle apaches owned files because they are owned by another user.
So you have to make all your files to become apache owned. Then your script will work.
Regards.
Support team"

But some experiments and debug output showed that php scripts run as my user id. Files and directories created by php functions are now owned by apache uid and gid and ezpub cannot write or read after creation!
directories created by hand can be written by ezpub.
directories created automagically by ezpub are not writeable anymore...

What can I do without shell access now?
ftp clients and cpanel filemanager do not change owner and group, as far i know.
Do you have some hint?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

szczym cakcak

Friday 28 January 2005 9:38:20 am

... change hosting company ...

look for new one at http://webhostingtalk.com/

cio cio

Ɓukasz Serwatka

Friday 28 January 2005 10:28:16 am

Hi,

You can ask administrator to disable safe_mode for dir where you have instaled eZ publish. Enabled Open base dir and php 4.3.10 shouldn`t make any problems.

I ve use hosting where I have cpanel, open base dir enabled and disabled safe mode for eZ root dir and everythings works fine.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Andre Felipe Machado

Monday 31 January 2005 7:40:44 am

Hello,
Thanks for your suggestions.
The hosting provider is irredutible against changing any configuration.
It is time to move on, despite the pain of a hosting migration.
I am contacting firebright already.
Thanks.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.