Fabien Schiettecatte
Forum Replies Created
-
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'I set a domain to FastCGI and it works! Now I’m not sure I should keep it this way, since this is not something you mentioned I could do? I read it increases memory usage, I guess if that is the only downside, I’ll have to wait to see if my memory can handle it or not. Plus, they say it is more secure?
Well, I’m eternally grateful, this has been one long help session, I’ll bookmark your blog and try to visit from time to time! If you even need anything, just tell me.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'Allright,
I was always looking in the “WHM” section of Parallels (don’t even know what it is really called) but it is in de customer control panel.
For your future reference it is ;
customer control panel -> websites & domains -> <yourdomain.ext> -> PHP support run as <dropdown> – 1: Apache Module, 2: FastCGI Application, 3: CGI Application</dropdown>, PHP ‘safe_mode’ on <tickbox>off</tickbox>
It is running as an Apache Module and safe mode is off. The only other options are to run it as FastCGI or CGI.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'Allright,
I ran a
<?php phpinfo(); ?>(you can see the results here : http://awebhaus.be/phpinfo.php/foobar/?foo=bar – I’ll keep it up for today)And the thread here : http://forums.iis.net/t/1155738.aspx
Leads me to believe that as the return on ‘_SERVER[“REQUEST_URI”]’ is ‘/phpinfo.php/foobar/?foo=bar’ I run FastCGI.
It (the external thread) doesn’t cover the DSO or suPHP but talks about ISAPI instead, not sure that my answer is indeed 100% correct.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'In Parallels Plesk Panel 10.3.1 it says;
Under Components Management
php 5.3.3-7+squeeze3I’m really not sure if this is what you mean.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'PS: a bit of explanation : in the sentence where I say ‘Setting the user to both root or awebhaus doesn’t help. …’ by “I’m wondering if the WP installation is actually using awebhaus as a user” I’m doubting the fact that it is.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'Ok,
Uploads are not working anywhere (not on my ‘main site’ –which is basically a dummy– not on my ‘sub-sites’, but upgrades to plugins and wordpress are working (because I declare an FTP account in wp-config.php).
So I opened the etc/passwd file and it says this;
root:*:0:0:Root:/:/bin/false
awebhaus:x:10000:1005::/:/bin/bashno nobody there.
Setting user to both root or awebhaus doesn’t help. I’m wondering if the WP installation is actually using awebhaus as a user, since if I assign wp-config a 600 (advice gained from http://codex.wordpress.org/Changing_File_Permissions), everything stops working.
I must be very dumb not to know how and why a WP uses a user from the server to acces the files on the server, but I do not know. is it by declaring an FTP account in wp-config? No; because then wp-config would have to be 655, right?
Very confused. The main problem is I do not have sufficient basic knowlegde on how a server works, at the moment I am only familiar with the higher languages (php, js, …).
I am really at a loss. But I tried to do my own research.
If you have any other pointers to push me in the right direction, I would very much appreciate it.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'owner is ‘awebhaus’ (10000) group is ‘psacln’ (1005)
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'Ipstenu,
I read through it all, and I changed the wp-config.php of my multisite-multidomain install to include;
define(‘FS_CHMOD_DIR’, (0755 & ~ umask()));
define(‘FS_CHMOD_FILE’, (0644 & ~ umask()));But I still get the error, which means I’m doing it wrong. Perhaps horribly wrong.
Owner is 10000 and group is 1005. I totally have no idea what that even means. And rights are set to flcdmpe(0755) for folders and adfrw(0755) for files (filezilla). I feel like back in the day where I didn’t understand DNS and googling didn’t really help at all.
If you don’t know to answer out of the top of your head (hat) then I’ll try to keep looking.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'PS:
***Might be offtopic, but it is still related to my original problem;
I tried the media uploader, and this happens;
“Unable to create directory /var/www/vhosts/awebhaus.eu/httpdocs/awebhaus/wp-content/blogs.dir/2/files/2012/04. Is its parent directory writable by the server?”
Checked everything, and it is all 755 from the blogs.dir down, I remember a few months back when I wanted to use the media uploader this happened aswell, the only way I could fix it was to set all to 777, which is a little crazy.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'About the DB;
I actually, succesfully, migrated old single-install websites to my network by doing a str replace wp_ with wp_ID_ where ID was the ID of the website I assigned (or the network assigned) to it.
About the Media uploader;
Well the Media uploader is fun and nice & all that jazz, but it just doesn’t do it for me, if I need to upload .html for a mail backup (click here to watch this mail online) or do some other old fashioned stuff, I like to do it with ftp. Also I feel it is easyer to upload big video/audio files this way.
Perhaps it is my need to control the mapping and keep it tidy. When I use the GUI media uploader, it gets all chaotic. But that might also be my imagination.
Anyway, perhaps with this new 2 – 3 – 4 – 5 setup it might start to become easyer to just use the media uploader, except for .html files, that wouldn’t work.
Forum: Networking WordPress
In reply to: How to 'change blogs.dir subdirectories name'Allright,
So is there a way to change the blog ID? I know how to change the DB so it is wp_domain_ instead of wp_2_, and the blogs.dir subfolder would have to be blogs.dir/domain instead of blogs.dir/2.
Anything else that is tied to the ID?
I’m thinking it *is* quite a hassle, if even possible, but I am used to using FTP to upload files to my client’s websites, and now it its 2 – 3 – 4 – 5 – 6 – 7 – 8 … which can get quite confusing.
Forum: Fixing WordPress
In reply to: Slow loading with WP on all one.com hosted sitesWell,
Changing webhost is a tedious task, I would like to explore all of my current options. What steps should I take before I contact one.com with a more stern tone? To make sure the problem isn’t on my side?
Fresh WP install on all?
Funny thing is that I don’t even have traffic on these sites.
Argh.