The following is my code for sending mail with PHP (within the context of a custom Email class). If I change the first parameter of Mail::factory() to 'mail', Exim will add the Message-ID and Date headers, but as 'smtp' it does not. I don't want to use the 'mail' setting because it causes X-PHP...
This is for a MultiPHP server with PHP 5.6 set as default.
Also have 7.1, 7.2 installed.
Need to install the following extensions for PHP version 7.2:
When attempting this via
WHM > Software > Module Installers > PHP...
If have successfully installed php extension 'php libpuzzle' on centos6 server and enabled extension /usr/local/lib/php.ini file . "php -m" shows the extension in list . Using php command line on server it shows that extension is loading. But can't get it to work on website files. Rebuilding...
a few days ago, I attempted to install an pear package via SSH shell. later did not work and is removed. But did not realize that the cpanel pear module is changed pointing to the different channel.
I did edit the pear.conf via the shell command
#pear config-set default_channel pear.php.net...
CENTOS 6.5 i686
WHM 11.42.1 (build 16)
Neither of these options list any packages:
PHP Extensions and Applications Package
This is a brand new server image set up a few days ago at Knownhost. I want to install SOAP via PEAR (don't really want to do Easy Apache).
I installed and rebuild apache with PEar, I installed Pager 2.4.8, I tried with this first test and work
but with Pager not found error ...
require_once '/Pager.php'; ( I also tried Pager/Pager.php path )...
For some reason, I can't install any pear modules via cPanel:
downloading OLE-1.0.0RC2.tgz ...
Starting to download OLE-1.0.0RC2.tgz (13,981 bytes)
.....done: 13,981 bytes
Could not get contents of package "/root/tmp/pear/cache/OLE-1.0.0RC2.tgz". Invalid tgz file.
Download of "pear/OLE"...
Recently I update to PHP 5.3 versión, but the PDO_pgsql was disabled and now it's not possible to install again from PEAR repositories.
It show this error message:
# pecl install pdo_pgsql
WARNING: "pecl/PDO" is deprecated in favor of...
It seems my server won't install PHP PEAR even though it is configured to do so through EasyApache.
phpinfo() mentions no PEAR
The binary is not found in /usr/local/bin and /usr/bin
/usr/lib/php mentions no PEAR anywhere
Am I overlooking something?
I have been following numerous links around the forums and web on how to install memcached on a centos 5 cpanel server and come to grief in a couple of places now and decided to stop before I got too deep and broke stuff...
I attempted to follow a process where an...
I have had my first cPanel server running for several months. I've recently installed a second server with Centos 5.4 and WHM 11.25. I just moved an account from my first server to the new server. This account has been active for several months and has been using phpList without issue. When my...
Have a little problem with a new centOs 5.4 installation, there is no pear on board ...
Made a "EasyApache"-Installation two times with pdo and pear on it, but after that there is no pear again
A look in the /usr/bin and /usr/local/bin results nothing. There is no pear and...
Hello. I'm trying to install soap with pear. When I try, I get the following error:
Package "soap" Version "0.12.0" does not have REST xml available
I am able to use pear to install other packages.
My pear version:
PEAR Version: 1.8.1
PHP Version: 4.4.7
Zend Engine Version: 1.3.0...
I don't understand why I can't use PEAR with safe_mode = 1
I try to change include_path, open_basedir in the user's php.ini with safe_mode = 1 , but I have the same problem.
Have you got any solution please to use PEAR with safe_mode activated ?
What is the best solution ? use...
I'm not sure if its a permission's issue for php, but either running ping or even with PEAR Net_Ping it doesn't return any data other than errors!
[mode] => 1
[level] => 1024
[code] => 1
[message] => unknown host...
How do I make a script take the php pear modules?
I have tried installing both on the server side or the client side but installation of egroupware stills says pears are missing.
It seems it doesnt find them. Whats the difference anyway between installing them as a server wide or client...
I have rebuilt apache twice with PEAR install selected - and still no "with pear" in a php-info request.
Anyone know what this could be?
thjis is from the install log..
checking whether to install PEAR... yes