Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Purelaise

Pages: 1 [2]
16
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: October 04, 2025, 03:55:40 PM »
Well the plot thickens. I rebooted the server (not ideal as its prod) and viola everything is working, i know see all my php-fpm installs. Really odd as to why it just randomly broke. Anyway - unknown crisis has been resolved. Thanks all

17
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: October 03, 2025, 10:52:46 AM »
What is your base PHP?

You can see this by running this CLI command:
Code: [Select]
php -v

php -v
PHP 8.3.19 (cli) (built: Mar 14 2025 13:16:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.19, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v14.4.1, Copyright (c) 2002-2025, by ionCube Ltd.

18
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: October 03, 2025, 08:21:18 AM »
Log file should be in: /var/log

Filename should be: php-rebuild.log



This is what i see. Its not a compile issue - its the gui no longer finding what should be there...

19
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: October 02, 2025, 08:16:54 PM »
Thats the issue, i dont see any logs. I just get this across the screen when i go the php-fpm selector menu:

Warning: parse_ini_file(/usr/local/cwpsrv/htdocs/resources/conf/el/php-fpm_selector/versions.ini): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/modules/phpfpm_selector/traits/PHPFPMVersionsHandler.php on line 0

Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/include/modules/phpfpm_selector/traits/PHPFPMVersionsHandler.php on line 0

I dont see anything in the error or messages log related.

20
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: October 02, 2025, 08:04:36 PM »
Sigh... Alma 8. I am not an Ai nor is my account new, if i was i would probaby be able to code and solve the issue myself however i cant. I have an active business support ticket open but sometimes its quicker to find an answer here from the hive mind. So i assume from what you are saying I am not the only one with the isssue? Is there some obvious places i can dig?

Thanks

Yes, sometimes the forums are faster that a paid support ticket. (sad)

You can look at:
https://forum.centos-webpanel.com/php-selector/unable-to-compile-any-version-with-php-switcher-and-selector-fpm-selector/msg52287/?topicseen#msg52287

With CentOS 7 and AlmaLinux 8, @overseer , @cyberspace , are great resources.
We've moved onto AlmaLinux 9, so if you have those questions, I'm better to ask.

But I never had any problems with PHP-FPM on AL8 or AL9.
PHP-CGI, yes, but then there are simple fixes.

THe CWP staff are on here as well sometimes.

Gahhh thanks. Not sure how to send a screen shot of what i am getting.

21
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: October 02, 2025, 07:47:32 PM »
Sigh... Alma 8. I am not an Ai nor is my account new, if i was i would probaby be able to code and solve the issue myself however i cant. I have an active business support ticket open but sometimes its quicker to find an answer here from the hive mind. So i assume from what you are saying I am not the only one with the isssue? Is there some obvious places i can dig?

Would this be of any use in this scenario without breaking the site? All the Php-fpms are running though so i know its the gui.

sh /scripts/update_cwp
sh /scripts/rebuild_php_selector (or similar - not sure if these exist anymore in the current build)



Thanks

22
CentOS-WebPanel GUI / Re: PHP_FPM Selector completely broken
« on: September 30, 2025, 10:47:30 AM »
Yup no such file is there. I have opened a ticket. l'll let you know what they say

Thanks

23
CentOS-WebPanel GUI / PHP_FPM Selector completely broken
« on: September 30, 2025, 09:32:57 AM »
We use php-fpm exclusively on our Alma 8 Server. Today i went to the seclector and i am seeing the following:

Warning: parse_ini_file(/usr/local/cwpsrv/htdocs/resources/conf/el/php-fpm_selector/versions.ini): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/modules/phpfpm_selector/traits/PHPFPMVersionsHandler.php on line 0

Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/include/modules/phpfpm_selector/traits/PHPFPMVersionsHandler.php on line 0


It says "None php version installed". This is crazy - i have 7.4 -> 8.3 installed. I cant do anything at the moment. Ideas welcome

24
If only someone posted (several times) a guide for AL8/9 that had all this...   ::)

Where is the guide please? Just ran a new install today and the Firewall is still disabled. Everything else is fine

25
Backup / Re: Empty MYSQL remote backups
« on: May 22, 2020, 04:09:00 PM »
Hi there

Do you have a script that backs up all users SQL daily? I dont require any file backups just SQL

Thank you

26
Installation / Re: WHMCS new module - 404
« on: January 23, 2019, 11:37:29 AM »
@lexz, When i do a curl of the https://myip:2304/v1/packages for instance i get:

<html><head><title>404 Page Not Found</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}s
trong{display:inline-block;width:65px;}</style></head><body><h1>404 Page Not Found</h1><p>The page you are looking for could not be found. Check the address bar to ensure your URL is spelled cor
rectly. If all else fails, you can visit our home page at the link below.</p><a href="/v1/">Visit the Home Page</a></body></html>You have new mail in /var/spool/mail/root

If i follow the link i get the same page.

27
PHP / API Call
« on: January 23, 2019, 10:30:27 AM »
Hi All, does anyone know how to successfully do an API from a simple HTML site to create a new user? We do not want to use WHCMS which appears to be the only available documentation. Does anyone have any working examples i could work with? Thank you in advance.

28
Apache / Shared IP Resolving to first Virtual Host
« on: July 04, 2018, 12:16:24 PM »
Hi All,

I have an issue that i cant seem to solve. When i visit our web servers shared IP rather than a domain it automatically resolves to the first Virtual Host rather than connecting showing the index file for the IP itself. Going to the intended domain works. The same issue appears for my redirects. When a user attempts to go to https://domain2 which will redirect to https://domain3 they get a cert warning from https://domain1 (first virtual host). Clicking past the warning then does what is intended and it resolves to https://domain3. Any Ideas on a fix here? I would be grateful

Thank you kindly

Pages: 1 [2]