7.4 We install the php service directadmin, it starts but the pages do not open

huzuristan

New member
Joined
Dec 12, 2022
Messages
4
7.4 We install the php service directadmin, it starts but the pages do not open

7.4 We install the php service directadmin, it starts but the pages do not open we can't use it meaninglessly Doesn't it support custombuild 2.0? We couldn't understand php 7.4 php-fpm74 starts but when I select php 7.4 from domains, pages do not open
 
7.4 We install the php service directadmin, it starts but the pages do not open

Hello,

Not enough information to identify the root cause of the issue. It might the FPM service is down, or your script does not support the specific PHP versions. Check error logs for a domain, it should give some clues.
 
please check it with empty script like

Code:
<?php
echo 1;

this can tell you, that it incomparitive script or it service php-fpm fail.
 
service phpfpm74 start command works fine, php service looks fine from the service monitor section of the directadmin panel, it seems to be working, but when I select php 7.4 from the domain definitions, the page does not open, php 7.4 does not appear there although we use the rewriteconfig command
 
Try what @jamgames2 said.

Check the domain you are testing for .htaccess file contents or user.ini file contents.

Check the /var/log/httpd/domains logfile and especially see what it says there if you try to open the website page.
 
Try what @jamgames2 said.

Check the domain you are testing for .htaccess file contents or user.ini file contents.

Check the /var/log/httpd/domains logfile and especially see what it says there if you try to open the website page.

we did this but php is opening blank page
 
we did this but php is opening blank page
We can't help you if we don't see any output or error notices, or .htaccess and user.ini content.
Just stating that it's displaying a blank page does not tell us anything. Most likely an error 500 which can be anything.

You might try to enable error messages for PHP to be displayed publicly, sometimes that will help to find the issue.

If you have htscanner installed (so .htaccess files will work) then you could try to put something like this in the .htaccess file in the public_html folder:
Code:
php_flag display_errors on
php_flag html_errors on
 php_flag  log_errors on
 php_value error_log /home/account/domains/domain.com/public_html/PHPERROR.log

Replace the account and domain.com values with your own.
 
we did this but php is opening blank page

That means your script drops a critical error, and nobody here would ever guess why is it so. Nobody here knows what PHP scripts you run and what is your setup in details. Probably your PHP 7.4 is missing an extension which is required for the script to work. Or your script uses a function which was removed from PHP 7.4 by developers. Or you use default limits for the version, and you need to allow more RAM. There might be other reasons. Do you want that we guess and try them all? The only way to find out the reason on why scripts fail is to do a debug (like Richard already suggested), and read logs. If you find it too difficult to do it yourself, then you might hire somebody for this.
 
Back
Top