Author Topic: PHP-FPM does not work ? Strange  (Read 2625 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP-FPM does not work ? Strange
« on: December 24, 2018, 08:34:57 PM »
Hello

I have build all PHP-FPM version.
All version runs as service.

I set up one domain to use PHP-FPM
Apache -> php-fpm
Set up to use 7.2 php version.
Rebuild conf on save.
I have checked and see that at vhost - it should use php-fpm
restarted apache
check info php and see CGI/FastCGI and PHP Version 5.6.37
Looks like it use default php from version switcher not php-fpm
WHy ?

Offline
**
Re: PHP-FPM does not work ? Strange
« Reply #1 on: December 26, 2018, 05:02:18 PM »
Where did you check phpinfo? If in the CW panel it's showing what version the CW Panel is using. Create a phpinfo.php and copy to the domains public_html and then call it yourdomain.com/phpinfo.php

Code: [Select]
To create a phpinfo file, open a plain text file, add the following lines, and save:
Filename: phpinfo.php


<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>



To change the CWP default version use PHP>Version Switcher

Offline
*
Re: PHP-FPM does not work ? Strange
« Reply #2 on: December 29, 2018, 05:51:18 PM »
I have created info.php file ofc.