• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PHP Sockets in Plesk 9.5

C

ChloëC

Guest
Dear,

My server is currently running on openSUSE 11 and Plesk 9.5. Works fine, but there is a problem which my hoster could'nt solve.

For some parts of websites running on my server are some PHP functions needed which are not configured. These include the sockets. The sockets are not configured and that's a very important part which still does not work.

The question is whether it is possible to reinstall the entire PHP through Plesk. A second/new full version of PHP install is possible, but then my server will contain two different PHP's which is not so handy and probably not smart.

Is this possible? Or has anyone an other solution to get all the PHP functions I need?


This is what I really need:
./configure --prefix=/usr --datadir=/usr/share/php5 --mandir=/usr/share/man --bindir=/usr/bin --with-libdir=lib --includedir=/usr/include --sysconfdir=/etc/php5/apache2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/conf.d --enable-libxml --enable-session --with-mm --with-pcre-regex=/usr --enable-xml --enable-simplexml --enable-spl --enable-filter --disable-debug --enable-inline-optimization --disable-rpath --disable-static --enable-shared --program-suffix=5 --with-pic --with-gnu-ld --with-system-tzdata=/usr/share/zoneinfo --with-apxs2=/usr/sbin/apxs2 --disable-all --disable-cli --enable-sockets


Note: I've been looking at php.ini and apache conf, but I couldn't find anything for the sockets. I've already tried to configure it again but by that some commands (like --restart for apache2) weren't available anymore. The sockets did work after that but not anymore now 'cause of a reinstall for the whole server. (Beginning at the first point again ... :()
 
Last edited by a moderator:
I am not a opensuse fan but on Centos php-sockets come with php-common :

# yum whatprovides php-sockets
Searching Packages:
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
atomic 100% |=========================| 1.9 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
update : ################################################## 1117/1117
base : ################################################## 1598/1598
atomic : ################################################## 596/596
extras : ################################################## 146/146


php-common.i386 5.2.14-2.el4.art atomic
Matched from:
php-sockets


Maybe if you install the php-common rpm and restart apache, sockets will work again.
 
Back
Top