Installing ssh2 PHP module
I am trying to install the ssh2 PHP module, on my PHP 5.3.3 system / CentOS 6.2 but not having any luck.
I installed php-devel which includes the phpize program, however that did not fix the problem. I then tried copying /usr/lib/php/build/shtool into /var/tmp/ssh2/build/ (after making the directory) which also did'nt work. Code:
# pecl install ssh2 Code:
# pecl install "channel://pecl.php.net/ssh2-0.11.3" Code:
ERROR: `phpize' failed |
I fixed the issue above. /var/tmp had the noexec option enabled.
I created the following 3 symbolic links after downloading a kernel and it all worked, the module compiled and installed. # Btw has the link location changed with the 2.6 kernels. Code:
ln -s /usr/src/linux/include/linux /usr/include/linux |
All times are GMT -5. The time now is 06:02 AM. |