Control Web Panel
WebPanel => PHP => Topic started by: cwp_user2018 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 ?
-
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
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
-
I have created info.php file ofc.