Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Originally Posted By: Rick
Well considering we still have quite a few potential customers that are on hosts that are still running something earlier than PHP 4.3, it will be awhile before we make the leap to having PHP5 as a requirement.
Phew
But i can Turn Safe mode off
I don't think Direct Admin (My Server control panel) supports php5 yet officially. And i haven't a clue how to upgrade to it. along with mysql its a nightmare Gizmo can do with out lol
_________________________ Version v7.5.6 < Threads satisfaction status People who inspire me RickGizmo Ian David jgeoff ntdoc Oooo i hear 8 is coming? just after 7 my friend.
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#183789 - 05/03/0709:05 PMRe: Safe mode sucks....
[Re: Mark S]
Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
It would be easier, but with a lot of hosts it's not an option or possibility, and people don't want to have to switch hosts just to run a script; especially when they're comfortable with situations at that host...
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Yeah, it would definitely be easier to do that Ian But we have a lot of customers that are somewhat stuck on, or just don't want to move from, their current host that has safe_mode enabled.
So this will at least give them an option to have gallery forums, but it won't be as scalable as it would be on a host that doesn't have safe_mode enabled.
Will have to allow it to run under both methods, but when safe mode is on it's not going to be as scalable since we can't create new directories. We'll have to just stuff everything into one directory on that condition.
It is not really a safe mode problem but a permission issue with mod_php. Basically, Apache's PHP module is creating the directories under the owner/user of the Apache webserver instead of the owner/user of the script. With enabled safe mode the script and directory must have the same owner.
A fix for this problem is using PHP with suexec. Some hosting control panel such as the pretty popular cPanel have suexec support.
On another note, it is also possible to store files in the MySQL database. This is sometimes even faster then files on the file system.
It could be added as optional feature so the users can choose whatever they want.
I must admit that I was longtime myself not a big fan of MySQL based attachments or templates. However, this changed with the caching abilities of MySQL 4.1+
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
We may add MySQL storage as an option at some point. We'll start with flat file storage for the initial release. When I started I had to make the decision to go with one way or the other. The downside to MySQL storage is many of our customers have limited MySQL storage space but a lot of actual hard drive space. The second factor is that if the image is stored in MySQL it can't be cached by the browser, as far as I know, which leads to more bandwidth.