Author Topic: PHP Extension Installation  (Read 25230 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP Extension Installation
« on: January 31, 2015, 04:37:38 PM »
Hi,
I've just come across an issue which perhaps someone may have already solved - I need to install the php-imap exention, so, I ran the comman via a root terminal session: yum install php-imap
Installation completed successfully, and httpd was restarted.

However, when I access the service and try to use the application which requires the php module, it's still not available.

On checking the php.info via root, it doesn't show the extension enabled.

Any ideas or pointers will be appreciated.

Offline
*
Re: PHP Extension Installation
« Reply #1 on: January 31, 2015, 09:50:50 PM »
Try to do via your admin panel, php version switcher which you will found when you are loggin with root and from there try to do compilation include --with-your-module-which-you-need

Offline
*
Re: PHP Extension Installation
« Reply #2 on: January 31, 2015, 09:51:53 PM »
Like here

http://forum.centos-webpanel.com/php/php-version-switcher/

There is a line
"- In PHP compiler you can add or remove modules you want (please use only: one per line)."

Cheers

Offline
*
Re: PHP Extension Installation
« Reply #3 on: February 02, 2015, 02:01:24 PM »
Thanks for your reply vladi - unfortunately, it didn't work (I had tried it before) ... unfortunately, as I was unable to find any documentation on manually compiling php to work with this control panel - I kind of gave up on it .... 
I tried the PHP switcher, and rebuilding from the "admin" panel - tailed the process via an ssh session and it compiles successfully, however, if you refresh the admin panel, restart the httpd process or reboot the server, the PHP version remains the same. :(

Offline
*
Re: PHP Extension Installation
« Reply #4 on: February 02, 2015, 02:24:11 PM »
Vladi - I actually even tried it on the demo site on here, and PHP won't switch .... :(

Offline
*
Re: PHP Extension Installation
« Reply #5 on: February 04, 2015, 01:40:18 AM »
php-imap requires some custom packages, this comes with the new version.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: PHP Extension Installation
« Reply #6 on: March 02, 2015, 05:43:12 PM »
Hello friends,
i am new CWP, i need to use php-cli,
i install php-cli this command in terminal:
Code: [Select]
yum instal php-cliafter return message:
Code: [Select]
Package php-cli-5.3.3-40.el6_6.i686 already installed and latest versionand after try:
Code: [Select]
which php-cliretun mesage:
Code: [Select]
/usr/bin/which: no php-cli in (/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
where is wrong?

Wants $10 bonus for FREE on VPS DigitalOcean

https://www.digitalocean.com/?refcode=4f7603c80195
-----------------------------------------------

Offline
*
Re: PHP Extension Installation
« Reply #7 on: March 10, 2015, 11:16:52 PM »
why do you need it and why are you using yum for installing since CWP has a custom apache & PHP compiled ?
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: PHP Extension Installation
« Reply #8 on: December 20, 2020, 02:39:29 AM »
why do you need it and why are you using yum for installing since CWP has a custom apache & PHP compiled ?

anyone now how to config and enable php-imap on PHP-FPM? already check the ipap on custom option. but nothing happened.

Offline
*
Re: PHP Extension Installation
« Reply #9 on: December 22, 2020, 05:49:31 AM »
as usal when something is not working on the server you need to check the logs, all log locations are specified on the cwp wiki...additionally when you click on start build PHP version button you get the log location filename where you can read if something has gone wrong
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*****
Re: PHP Extension Installation
« Reply #10 on: December 22, 2020, 11:27:46 AM »
imap is in the php options.