How exactly did you install suphp?
Code:cd /usr/local/directadmin/custombuild ./build update ./build rewrite_confs
# php --ini
Configuration File (php.ini) Path: /usr/local/etc/php5/cgi
Loaded Configuration File: /usr/local/etc/php5/cgi/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
# grep ^extension_dir /usr/local/etc/php5/cgi/php.ini
extension_dir = "/usr/local/php5/lib/php/extensions/"
mkdir -p /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626
Hello,
Find out, what php.ini is used:
Code:# php --ini Configuration File (php.ini) Path: /usr/local/etc/php5/cgi Loaded Configuration File: /usr/local/etc/php5/cgi/php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none)
This suphp (CB1.x) that should be /usr/local/etc/php5/cgi/php.ini
With CB 2.x that differs.
Code:# grep ^extension_dir /usr/local/etc/php5/cgi/php.ini extension_dir = "/usr/local/php5/lib/php/extensions/"
In your case it should be /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626 as you've got an error on it.
So you should either change extension_dir in php.ini, or create the directory and move your extension into there:
Code:mkdir -p /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626
Note, I'd not suggest creating the directory and moving php extensions there. Thought it will do the work and the error should disappear, it wouldn't that logic (at least for me) to place the extensions in such a directory. You'd really switch to /usr/local/php5/lib/php/extensions/ or similar without no-debug-non-zts- part in a name.
So you might need to place SourceGuardian loader into the extension dir defined in php.ini, I guess.
@zEitErShould I guess what exactly is not OK? I don't know what exact settings you have there for SourceGuardian (I don't use SourceGuardian). So if you need further help you need to post all of them here.
hi
im back server to cli this problem okey !
and again install suphp again this error
I've installed this way Suphp
شما میتونید در این رابطه به بنده کمک کنید ؟@zEitEr
I think he couldn't understand what your said exactly. So, I translate that
سلام حسام،
zEitEr
میگه نیاز داره تنظیمات
SourceGuardian
رو ببینه چون خودش از این استفاده نمیکنه.
حالا اگه میتونی کل تنظیمات رو ارسال کن حتی تنظیماتی که برای
SourceGuardian
انجام دادی.
منظورت هم از
'is not OK'
.خیلی واضح نیست. چی میخوای بگی؟
موفق باشی
@ AlexEnglish please only.