dber

Member
Feb 10, 2008
7
0
51
I'm currently try to install simplicity, that what I get:

pdo - for database access (!)

You currently do not have the PDO extension installed, this is required for accesing RDBMS databases such as MySQL or SQLite. See http://php.net/pdo for more information.
xcache or apc - for opcode cache and shared mem caching support (!)

You currently do not have an opcode cache installed, Simplicity makes extensive use of caching and installing either of the supported opcode caches (APC or XCache) will give great performance improvements. See http://php.net/apc for APC or http://xcache.lighttpd.net/ for more details on XCache.
xdebug - Code profiling and extended debugging (!)

XDebug allows extended debugging, code coverage, tracing and profiling. Simplicity integrates these features, although this is currently quite basic there are plans to extend this in the future. See http://xdebug.org/ for more information.
when I'm using cPanel PHP Extensions and Applications Package Installer I'm get:

Installing "pdo" PHP Extensions and Applications Package

No releases available for package "pear.php.net/pdo" - package pecl/pdo can be installed with "pecl install pdo"
Cannot initialize 'channel://pear.php.net/pdo', invalid or missing package file
Package "channel://pear.php.net/pdo" is not valid
install failed
/usr/bin:/bin:/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin


Installing "pecl install pdo" PHP Extensions and Applications Package

No releases available for package "pear.php.net/peclinstallpdo"
Cannot initialize 'channel://pear.php.net/peclinstallpdo', invalid or missing package file
Package "channel://pear.php.net/peclinstallpdo" is not valid
install failed
/usr/bin:/bin:/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin


but the PDO peckage it IS at pear.php.net/pdo

ani idea how can I install that?
 

dber

Member
Feb 10, 2008
7
0
51
Hi and thanks for the help,
but I haven't root access nor SSH, so I tested it with cronjob,
I've typed this command:
Code:
pecl install pdo
and receive that output:
Code:
downloading PDO-1.0.3.tgz ...
Starting to download PDO-1.0.3.tgz (52,613 bytes)
.............done: 52,613 bytes
12 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
building in /var/tmp/pear-build-xun/PDO-1.0.3
running: /home/xun/tmp/pear/PDO/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/home/xun/tmp/pear/PDO/configure' failed
in the folder '/home/xun/tmp/' the only folder that related is 'pear'.
in the folder '/home/xun/tmp/pear/' there is only one folder called 'cache', and inside 'cache' there are a lot of pairs (of files) like:
Code:
ffda9d1eda5d9c9cfb035e387f3cc06arest.cachefile
ffda9d1eda5d9c9cfb035e387f3cc06arest.cacheid
What can I do? I didn't understand what was the problem?
 

mctDarren

Well-Known Member
Jan 6, 2004
665
8
168
New Jersey
cPanel Access Level
Root Administrator
Are you trying to install it via jailed shell? You should contact your host and ask them to see that it's installed properly (if they allow it). You're most likely (hopefully) not going to be able to compile it from tmp...
 

dber

Member
Feb 10, 2008
7
0
51
Are you trying to install it via jailed shell? You should contact your host and ask them to see that it's installed properly (if they allow it). You're most likely (hopefully) not going to be able to compile it from tmp...
what do you mean by 'jailed shell'?
so it's impossible from the crontab?

any other idea? :confused:
because my reseller don't have permission to do that and he can't contact the support (they require at least VPS to receive support....)
 

Billa

Member
May 2, 2007
19
0
151
Seems you are installing that without having root access. You will need root access to get that module installed. Ask your admin of the server to get that done for you.
 

mctDarren

Well-Known Member
Jan 6, 2004
665
8
168
New Jersey
cPanel Access Level
Root Administrator
Where are you typing these commands if you don't have root access or SSH (jailed)? I'm confused.. "Jailed Shell" is SSH access provided to people so that they can use the command line on their local space only. You won't be able to install things server-wide, since you are essentially "jailed" to your own home directory.
 

dber

Member
Feb 10, 2008
7
0
51
as I said, I've typed into the crontab and set it to work one time - right after I typed it.

well, thanks for anyone that tried to help :)

I think I'll contact the admin....
 

dber

Member
Feb 10, 2008
7
0
51
a friends of mine redirect me to that page:
http://pear.php.net/manual/en/installation.shared.php

I can understand the instructions but since I'm not the most technical guy, it'll take me a lot of time I want that one of you will just take a look at this and say me if that will help me.

just a clarification:
that page describe how to install the PEAR itself, I don't know if I have to do that, isn't it the same as the 'PHP Extensions and Applications Package Installer' of cPanel?
but maybe I can use the instructions and do the same with other extensions?

of course, I know anyone of you doesn't owes me anything nor take responsibility for his advices, I'm just asking your help and I'm grateful even for the previous replies themselves.

thanking you in advance,
dber