|
|||
|
How to install PHP pear/pecl ?
I'm currently try to install simplicity, that what I get:
pdo - for database access (!) Quote:
Quote:
Quote:
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? |
|
||||
|
Try just pear install PDO, if not then have a look at this link:
http://www.oracle.com/technology/pub...o_oracle5.html it describes various ways to grab and install PDO. |
|
|||
|
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 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/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 |
|
|||
|
Quote:
so it's impossible from the crontab? any other idea? ![]() 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....) |
|
|||
|
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.
__________________
------------------------------------------------------------------------------------------ Dedicated server System administration - Technical support issues Cheap Dedicated server ------------------------------------------------------------------------------------------ |
|
|||
|
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 |
|
|||
|
* problem solved * no, my host is a reseller so he couldn't install, he haven't the permissions.anyway, at the end I found those simple instructions describes how to install additional pear peckages thanks a millions, serversphere, you really helped me ![]() and also thanks to Billa! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|