problem in open website after install suphp ! please help me

He3am

Verified User
Joined
Mar 7, 2013
Messages
95
hi
im install suphp on directadmin
after install my website this error :
extension_dir does not exist: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626

how fix this problem ?
thanks
 
How exactly did you install suphp?

Code:
cd /usr/local/directadmin/custombuild
./build update
./build rewrite_confs
 
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.
 
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.

now this error :
PHP script /home/eshopmelli/domains/eshopmelli.ir/public_html/system/library/sms.php is protected by SourceGuardian and requires the SourceGuardian loader ixed.5.3.lin. The SourceGuardian loader has not been installed, or is not installed correctly. Please find the required loader within SourceGuardian installation directory or visit the SourceGuardian php encoder site to download it.
 
Should 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

cd /usr/local/directadmin/custombuild/
./build clean
./build update
./build set php5_cgi yes
./build set php5_cli no
./build all d
./build rewrite_confs

./build roundcube
./build squirrelmail
./build phpmyadmin
 
Should 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.
@zEitEr
I think he couldn't understand what your said exactly. So, I translate that ;)
سلام حسام،
zEitEr
میگه نیاز داره تنظیمات
SourceGuardian
رو ببینه چون خودش از این استفاده نمیکنه.
حالا اگه میتونی کل تنظیمات رو ارسال کن حتی تنظیماتی که برای
SourceGuardian
انجام دادی.
منظورت هم از
'is not OK'
.خیلی واضح نیست. چی میخوای بگی؟
موفق باشی
 
Last edited:
hi
im back server to cli this problem okey !
and again install suphp again this error
I've installed this way Suphp

Hello,

Directadmin does not support SourceGuardian. If you are facing any issues with installing SourceGuardian loaders, you'd better refer your question to SourceGuardian support team. If you want to get help here, please show to us, how do you try to add support for SourceGuardian into php.ini. What exact lines and instructions do you have there?

If you don't know how to find the lines which add support for SourceGuardian and if you don't have enough time to solve the issue yourself, then you might need to hire a person, who would do the job for you. You can find one here on these forums, as well as outside these forums.
 
@zEitEr
I think he couldn't understand what your said exactly. So, I translate that ;)
سلام حسام،
zEitEr
میگه نیاز داره تنظیمات
SourceGuardian
رو ببینه چون خودش از این استفاده نمیکنه.
حالا اگه میتونی کل تنظیمات رو ارسال کن حتی تنظیماتی که برای
SourceGuardian
انجام دادی.
منظورت هم از
'is not OK'
.خیلی واضح نیست. چی میخوای بگی؟
موفق باشی
شما میتونید در این رابطه به بنده کمک کنید ؟
باتشکر
 
English please only.
@ Alex
He want's I help him to understanding that folk say, is it ok in this forum?
He speak Persian and I knew this language. I can do it for free if it's OK.
 
Back
Top