I set up suexec directive on NO in default template and php is maybe func but i have bunch of chinese symbols look http://test.clanteam.cz
Hmm, that site doesn’t work for me unfortunately – would it be possible to post a screenshot? Thanks!
-Eric
I’m a little rusty on my Chinese…lol
I think you should set SUexec to yes from a security point of view…
So php started to work after disabling suexec? but only in chinese language, yes?
That’s correct if i for example type simple echo “test” the result is 4 or 5 chinese symbols
Hrm, it’s probably unicode, but can you show us a screenshot of this phenomenon?
That is, I’d like to see what exactly is showing up on the screen when you type “echo test”.
Also, what distribution and version are you using?
Thanks!
-Eric
I use Debian Lenny (5.0)
BTW Now i log in into FTP and type echo test and save the file on ftp and voila work like a charm problem is solved I love you all
Really big thanks for all
EDIT: And i always USE total commander and binary mode it’s strange.
the solution was to turn of suexec and recreate a php file? is that correct?
if so I think suexec is not pointing to home and should be recompiled, so you can use it.
Yes that is correct.
And i have one question how can i restrict FTP users only for folder public_html no thers like cgi-bin awstats etc.
I want it because i want only simple subdomain hosting not with mysql and ftp no more
To restrict an FTP user to just public_html, first make sure that you set things up in Limits and Validation -> FTP Directory Restrictions.
Then, if you create an FTP user by going into Edit Mail and FTP user -> Add a website FTP access user, they’ll be locked in whatever directory you set as their home directory.
-Eric