Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread: CentOS2Alma discussion
Hi
Followng Following https://support.plesk.com/hc/en-us/articles/12377508651415 and with the help on Resolved - Unable to start service: Unable to manage service by phpinimng I was able to add and run PHP 7.1 (FPM) on a Plesk Obsidian 18.0.52 update3 (Debian 11.7).
However in the Plesk...
maybe the solution was to compile the PHP 7.1 with the extensions as I could understand it on https://support.plesk.com/hc/en-us/articles/12377508651415
(§ 1.4)
but then what is the right syntax to add mysqli please?
thanks
Hi
I'm struggling with the php.ini of this 7.1 version since I can't have the website (using this handler) have mysqli working
phpinfo shows me that even if I put the following lines in the php.ini there is yet no mysqli working
extension=msql.dll
extension=msql.so
extension=mysqli...
HI Peter
As I wrote, the site actually works with 7.1 now but the extensions tab in /cp/php/extensions/id/7132-phpfpm is empty. I guess I can activate / deactivate extensions from the php.ini file, can't I ?
thanks
CORRECTION : the 7.1 site does work BUT if you go to /cp/php/extensions/id/7132-phpfpm (change the version if needed) do you have the extensions displayed ? My EXTENSIONS tab is empty. The PHP.ini tab is correctly set though
thanks
cyril
Thanks Peter for getting deeper in the issue.
With your help I was able to start the service but
1- if you try to run the domain on this php 7.1 does it really work ? I mean I created a dummy myphp71.com domain, assigned PHP 7.1.32 FPM to it and try to load http://myphp71.com in a browser (of...
and FYI I redid the whole process with the 7.1.32 as you did :
cd ~
wget https://www.php.net/distributions/php-7.1.32.tar.bz2
tar -xvf php-7.1.32.tar.bz2
cd php-7.1.32
./configure --prefix /usr/local/php-7.1.32 --enable-fpm --with-fpm-group=www-data
make
make install
cp php.ini-development...
yes naturally but it just doesn't work
your screenshots don't show it is working either.
Can you please answer these 3 questions ?
1- in /admin/services/list is the service started ?
2- if you try to run the domain on this php 7.1 does it really work ?
2- and if you go to...
and of course when in try to start the php FPM 7.1.4 service from /admin/services/list I still get the error:
Unable to start service: Unable to manage service by phpinimng ('start', 'php71fpm'): Failed to start php71fpm.service: Unit php71fpm.service not found. Failed to start php71fpm service
yes on /admin/php-handler/list/ I too can see PHP FPM 7.1.24 BUT :
1- in /admin/services/list does the service started ?
2- if you try to run the domain on this php 7.1 does it work ?
2- and if you go to /cp/php/extensions/id/7.1.24-phpfpm (change the version) do you have the extensions...
In /usr/local/php-7.1.24/bin if I run ./php -v I get :
PHP 7.1.24 (cli) (built: May 18 2023 14:07:44) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
and there is the php-config file in /usr/local/php-7.1.24/bin but no php.ini...
Thanks for this confirmation.
The problem is that when I followed the first stage of https://support.plesk.com/hc/en-us/articles/12377508651415 I got no error, no warning !!
/usr/local/php-7.1.24 contains the right files
so I don't know where to look at and what could possibly went wrong :(
As a matter of fact the php71fpm service hasn't been created with the "plesk bin php_handler --add" command.
Does it mean I should use an EXISTING service, but in this case which one please?
thanks
I thought I simply created this service when I ran
plesk bin php_handler --add -displayname 7.1.24 -path /usr/local/php-7.1.24/sbin/php-fpm -phpini /usr/local/lib/php.ini -type fpm -id 7.1.24-phpfpm -clipath /usr/local/php-7.1.24/bin/php -service php71fpm -poold /usr/local/php-7.1.24/etc/php-fpm.d
HI
Following https://support.plesk.com/hc/en-us/articles/12377508651415 I'm trying to add PHP 7.1 on a Plesk Obsidian 18.0.52 update3 (Debian 11.7)
I downloaded https://www.php.net/distributions/php-7.1.24.tar.bz2 and passed the first stage of...