phpinfo() showing blank page on ubuntu18.04Apache Timeout (Problem loading page) on localhostsetresuid...

How should I handle players who ignore the session zero agreement?

Is using an 'empty' metaphor considered bad style?

"We can't save the customer" error after Migration - Magento 2.3

How to not let the Identify spell spoil everything?

What is the difference between "...", '...', $'...', and $"..." quotes?

A Missing Symbol for This Logo

What to look for when criticizing poetry?

Why are all my replica super soldiers young adults or old teenagers?

Can I announce prefix 161.117.25.0/24 even though I don't have all of /24 IPs?

Boss asked me to sign a resignation paper without a date on it along with my new contract

Can you tell from a blurry photo if focus was too close or too far?

Does Skippy chunky peanut butter contain trans fat?

Hilchos Shabbos English Sefer

Am I a Rude Number?

Question about integral of an odd function

How would an AI self awareness kill switch work?

How do you voice extended chords?

Do authors have to be politically correct in article-writing?

How do I draw the dashed lines as shown in this figure

Eww, those bytes are gross

Why does magnet wire need to be insulated?

Issues resetting the ledger HWM

Citing paywalled articles accessed via illegal web sharing

What makes papers publishable in top-tier journals?



phpinfo() showing blank page on ubuntu18.04


Apache Timeout (Problem loading page) on localhostsetresuid operation not permitted when calling via phpProblem in Apache Error Log?Apache can't start on UbuntuUbuntu 16.04 phpinfo shows blank PageApache 500 after Upgrade to PHP 5.6 on Ubuntu 14.04Apache can't write pid after 2.4 upgradeApache2 & PHP showing blank pageservices failing to start - control process exited with error codeApache2 HTTP Ubuntu Won't Restart













1















I installed phppgadmin using this tutorial. How to Install PostgreSQL and phpPgAdmin on Ubuntu 18.04



The index.html file is showing fine that comes already installed.



But when I made a php file to display phpinfo();, it shows blank page.



This is the output of root@pan0xxx:/# tail -f /var/log/apache2/error.log



root@pan0138:/# tail -f /var/log/apache2/error.log
[Mon Oct 08 00:08:14.178971 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) con figured -- resuming normal operations
[Mon Oct 08 00:08:14.178994 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache 2'


EDIT



Output of /# tail -f /var/log/apache2/error.log after installing php separately.



root@panxxx:/# tail -f /var/log/apache2/error.log
[Tue Oct 09 00:06:22.406750 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) configu red -- resuming normal operations
[Tue Oct 09 00:06:22.406777 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 09 12:05:47.122881 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00491: caught SIGTERM, shutting down
[Tue Oct 09 12:05:47.188994 2018] [mpm_event:notice] [pid 4685:tid 140256460741568] AH00489: Apache/2.4.29 (Ubuntu) configur ed -- resuming normal operations
[Tue Oct 09 12:05:47.189114 2018] [core:notice] [pid 4685:tid 140256460741568] AH00094: Command line: '/usr/sbin/apache2'









share|improve this question




















  • 1





    Is your php file just <?php phpinfo(); or does it contains other commands?

    – Mr Shunz
    Oct 8 '18 at 12:11













  • yes only <?php phpinfo(); ?>

    – XCeptable
    Oct 8 '18 at 12:14











  • try to remove your index with type sudo rm -f /var/www/html/*and restart your pgadmin, and did you check your email sir?

    – abu-ahmed al-khatiri
    Oct 10 '18 at 9:25











  • @abu-ahmedal-khatiri: I will check sir. Just give me little time. Thank you for prompt !

    – XCeptable
    Oct 10 '18 at 11:17











  • @abu-ahmedal-khatiri: it's not pgadmin, phppgadmin. I tried install using this tutorial: howtoforge.com/tutorial/ubuntu-postgresql-installation

    – XCeptable
    Oct 12 '18 at 8:35
















1















I installed phppgadmin using this tutorial. How to Install PostgreSQL and phpPgAdmin on Ubuntu 18.04



The index.html file is showing fine that comes already installed.



But when I made a php file to display phpinfo();, it shows blank page.



This is the output of root@pan0xxx:/# tail -f /var/log/apache2/error.log



root@pan0138:/# tail -f /var/log/apache2/error.log
[Mon Oct 08 00:08:14.178971 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) con figured -- resuming normal operations
[Mon Oct 08 00:08:14.178994 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache 2'


EDIT



Output of /# tail -f /var/log/apache2/error.log after installing php separately.



root@panxxx:/# tail -f /var/log/apache2/error.log
[Tue Oct 09 00:06:22.406750 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) configu red -- resuming normal operations
[Tue Oct 09 00:06:22.406777 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 09 12:05:47.122881 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00491: caught SIGTERM, shutting down
[Tue Oct 09 12:05:47.188994 2018] [mpm_event:notice] [pid 4685:tid 140256460741568] AH00489: Apache/2.4.29 (Ubuntu) configur ed -- resuming normal operations
[Tue Oct 09 12:05:47.189114 2018] [core:notice] [pid 4685:tid 140256460741568] AH00094: Command line: '/usr/sbin/apache2'









share|improve this question




















  • 1





    Is your php file just <?php phpinfo(); or does it contains other commands?

    – Mr Shunz
    Oct 8 '18 at 12:11













  • yes only <?php phpinfo(); ?>

    – XCeptable
    Oct 8 '18 at 12:14











  • try to remove your index with type sudo rm -f /var/www/html/*and restart your pgadmin, and did you check your email sir?

    – abu-ahmed al-khatiri
    Oct 10 '18 at 9:25











  • @abu-ahmedal-khatiri: I will check sir. Just give me little time. Thank you for prompt !

    – XCeptable
    Oct 10 '18 at 11:17











  • @abu-ahmedal-khatiri: it's not pgadmin, phppgadmin. I tried install using this tutorial: howtoforge.com/tutorial/ubuntu-postgresql-installation

    – XCeptable
    Oct 12 '18 at 8:35














1












1








1








I installed phppgadmin using this tutorial. How to Install PostgreSQL and phpPgAdmin on Ubuntu 18.04



The index.html file is showing fine that comes already installed.



But when I made a php file to display phpinfo();, it shows blank page.



This is the output of root@pan0xxx:/# tail -f /var/log/apache2/error.log



root@pan0138:/# tail -f /var/log/apache2/error.log
[Mon Oct 08 00:08:14.178971 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) con figured -- resuming normal operations
[Mon Oct 08 00:08:14.178994 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache 2'


EDIT



Output of /# tail -f /var/log/apache2/error.log after installing php separately.



root@panxxx:/# tail -f /var/log/apache2/error.log
[Tue Oct 09 00:06:22.406750 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) configu red -- resuming normal operations
[Tue Oct 09 00:06:22.406777 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 09 12:05:47.122881 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00491: caught SIGTERM, shutting down
[Tue Oct 09 12:05:47.188994 2018] [mpm_event:notice] [pid 4685:tid 140256460741568] AH00489: Apache/2.4.29 (Ubuntu) configur ed -- resuming normal operations
[Tue Oct 09 12:05:47.189114 2018] [core:notice] [pid 4685:tid 140256460741568] AH00094: Command line: '/usr/sbin/apache2'









share|improve this question
















I installed phppgadmin using this tutorial. How to Install PostgreSQL and phpPgAdmin on Ubuntu 18.04



The index.html file is showing fine that comes already installed.



But when I made a php file to display phpinfo();, it shows blank page.



This is the output of root@pan0xxx:/# tail -f /var/log/apache2/error.log



root@pan0138:/# tail -f /var/log/apache2/error.log
[Mon Oct 08 00:08:14.178971 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) con figured -- resuming normal operations
[Mon Oct 08 00:08:14.178994 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache 2'


EDIT



Output of /# tail -f /var/log/apache2/error.log after installing php separately.



root@panxxx:/# tail -f /var/log/apache2/error.log
[Tue Oct 09 00:06:22.406750 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00489: Apache/2.4.29 (Ubuntu) configu red -- resuming normal operations
[Tue Oct 09 00:06:22.406777 2018] [core:notice] [pid 31651:tid 140420410256320] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 09 12:05:47.122881 2018] [mpm_event:notice] [pid 31651:tid 140420410256320] AH00491: caught SIGTERM, shutting down
[Tue Oct 09 12:05:47.188994 2018] [mpm_event:notice] [pid 4685:tid 140256460741568] AH00489: Apache/2.4.29 (Ubuntu) configur ed -- resuming normal operations
[Tue Oct 09 12:05:47.189114 2018] [core:notice] [pid 4685:tid 140256460741568] AH00094: Command line: '/usr/sbin/apache2'






apache2 php phppgadmin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 9 '18 at 9:11







XCeptable

















asked Oct 8 '18 at 12:09









XCeptableXCeptable

1186




1186








  • 1





    Is your php file just <?php phpinfo(); or does it contains other commands?

    – Mr Shunz
    Oct 8 '18 at 12:11













  • yes only <?php phpinfo(); ?>

    – XCeptable
    Oct 8 '18 at 12:14











  • try to remove your index with type sudo rm -f /var/www/html/*and restart your pgadmin, and did you check your email sir?

    – abu-ahmed al-khatiri
    Oct 10 '18 at 9:25











  • @abu-ahmedal-khatiri: I will check sir. Just give me little time. Thank you for prompt !

    – XCeptable
    Oct 10 '18 at 11:17











  • @abu-ahmedal-khatiri: it's not pgadmin, phppgadmin. I tried install using this tutorial: howtoforge.com/tutorial/ubuntu-postgresql-installation

    – XCeptable
    Oct 12 '18 at 8:35














  • 1





    Is your php file just <?php phpinfo(); or does it contains other commands?

    – Mr Shunz
    Oct 8 '18 at 12:11













  • yes only <?php phpinfo(); ?>

    – XCeptable
    Oct 8 '18 at 12:14











  • try to remove your index with type sudo rm -f /var/www/html/*and restart your pgadmin, and did you check your email sir?

    – abu-ahmed al-khatiri
    Oct 10 '18 at 9:25











  • @abu-ahmedal-khatiri: I will check sir. Just give me little time. Thank you for prompt !

    – XCeptable
    Oct 10 '18 at 11:17











  • @abu-ahmedal-khatiri: it's not pgadmin, phppgadmin. I tried install using this tutorial: howtoforge.com/tutorial/ubuntu-postgresql-installation

    – XCeptable
    Oct 12 '18 at 8:35








1




1





Is your php file just <?php phpinfo(); or does it contains other commands?

– Mr Shunz
Oct 8 '18 at 12:11







Is your php file just <?php phpinfo(); or does it contains other commands?

– Mr Shunz
Oct 8 '18 at 12:11















yes only <?php phpinfo(); ?>

– XCeptable
Oct 8 '18 at 12:14





yes only <?php phpinfo(); ?>

– XCeptable
Oct 8 '18 at 12:14













try to remove your index with type sudo rm -f /var/www/html/*and restart your pgadmin, and did you check your email sir?

– abu-ahmed al-khatiri
Oct 10 '18 at 9:25





try to remove your index with type sudo rm -f /var/www/html/*and restart your pgadmin, and did you check your email sir?

– abu-ahmed al-khatiri
Oct 10 '18 at 9:25













@abu-ahmedal-khatiri: I will check sir. Just give me little time. Thank you for prompt !

– XCeptable
Oct 10 '18 at 11:17





@abu-ahmedal-khatiri: I will check sir. Just give me little time. Thank you for prompt !

– XCeptable
Oct 10 '18 at 11:17













@abu-ahmedal-khatiri: it's not pgadmin, phppgadmin. I tried install using this tutorial: howtoforge.com/tutorial/ubuntu-postgresql-installation

– XCeptable
Oct 12 '18 at 8:35





@abu-ahmedal-khatiri: it's not pgadmin, phppgadmin. I tried install using this tutorial: howtoforge.com/tutorial/ubuntu-postgresql-installation

– XCeptable
Oct 12 '18 at 8:35










2 Answers
2






active

oldest

votes


















0














Hello U might be not installed php You judt install apache2 server.
In this case apache2 supports html pages but for php you need to install php
For this you may run below command...
$sudo apt-get update
$sudo apt-get install php7.0*






share|improve this answer
























  • From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

    – XCeptable
    Oct 8 '18 at 14:50






  • 1





    No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

    – Mayur Bhandare
    Oct 9 '18 at 5:03











  • you need to install php seperatly

    – Mayur Bhandare
    Oct 9 '18 at 5:04











  • I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

    – XCeptable
    Oct 9 '18 at 9:09



















0














What I did is something like this:



sudo a2enmod php7.2


If you get error message showing conflicts, such as in my case I had: mpm_event error, you do this:



sudo a2dismod mpm_event  


you'll get messages like "apache2 crashed!" or something. Don't worry. Do the same a2dismod for all errors. Once done, execute:



systemctl restart apache2
sudo a2enmod php7.2
systemctl restart apache2


And that should do the trick! (This worked for me.) Good luck! :)





share








New contributor




Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081956%2fphpinfo-showing-blank-page-on-ubuntu18-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Hello U might be not installed php You judt install apache2 server.
    In this case apache2 supports html pages but for php you need to install php
    For this you may run below command...
    $sudo apt-get update
    $sudo apt-get install php7.0*






    share|improve this answer
























    • From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

      – XCeptable
      Oct 8 '18 at 14:50






    • 1





      No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

      – Mayur Bhandare
      Oct 9 '18 at 5:03











    • you need to install php seperatly

      – Mayur Bhandare
      Oct 9 '18 at 5:04











    • I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

      – XCeptable
      Oct 9 '18 at 9:09
















    0














    Hello U might be not installed php You judt install apache2 server.
    In this case apache2 supports html pages but for php you need to install php
    For this you may run below command...
    $sudo apt-get update
    $sudo apt-get install php7.0*






    share|improve this answer
























    • From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

      – XCeptable
      Oct 8 '18 at 14:50






    • 1





      No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

      – Mayur Bhandare
      Oct 9 '18 at 5:03











    • you need to install php seperatly

      – Mayur Bhandare
      Oct 9 '18 at 5:04











    • I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

      – XCeptable
      Oct 9 '18 at 9:09














    0












    0








    0







    Hello U might be not installed php You judt install apache2 server.
    In this case apache2 supports html pages but for php you need to install php
    For this you may run below command...
    $sudo apt-get update
    $sudo apt-get install php7.0*






    share|improve this answer













    Hello U might be not installed php You judt install apache2 server.
    In this case apache2 supports html pages but for php you need to install php
    For this you may run below command...
    $sudo apt-get update
    $sudo apt-get install php7.0*







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Oct 8 '18 at 13:03









    Mayur BhandareMayur Bhandare

    47128




    47128













    • From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

      – XCeptable
      Oct 8 '18 at 14:50






    • 1





      No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

      – Mayur Bhandare
      Oct 9 '18 at 5:03











    • you need to install php seperatly

      – Mayur Bhandare
      Oct 9 '18 at 5:04











    • I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

      – XCeptable
      Oct 9 '18 at 9:09



















    • From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

      – XCeptable
      Oct 8 '18 at 14:50






    • 1





      No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

      – Mayur Bhandare
      Oct 9 '18 at 5:03











    • you need to install php seperatly

      – Mayur Bhandare
      Oct 9 '18 at 5:04











    • I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

      – XCeptable
      Oct 9 '18 at 9:09

















    From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

    – XCeptable
    Oct 8 '18 at 14:50





    From the tutorial I followed, link above, I used this command: sudo apt -y install postgresql postgresql-contrib phppgadmin Do you think it will not have installed php ?

    – XCeptable
    Oct 8 '18 at 14:50




    1




    1





    No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

    – Mayur Bhandare
    Oct 9 '18 at 5:03





    No it will only install following additional packages will be installed: postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat

    – Mayur Bhandare
    Oct 9 '18 at 5:03













    you need to install php seperatly

    – Mayur Bhandare
    Oct 9 '18 at 5:04





    you need to install php seperatly

    – Mayur Bhandare
    Oct 9 '18 at 5:04













    I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

    – XCeptable
    Oct 9 '18 at 9:09





    I installed and restart the apache but it still shows blank page. The output of # tail -f /var/log/apache2/error.log now I added to OP.

    – XCeptable
    Oct 9 '18 at 9:09













    0














    What I did is something like this:



    sudo a2enmod php7.2


    If you get error message showing conflicts, such as in my case I had: mpm_event error, you do this:



    sudo a2dismod mpm_event  


    you'll get messages like "apache2 crashed!" or something. Don't worry. Do the same a2dismod for all errors. Once done, execute:



    systemctl restart apache2
    sudo a2enmod php7.2
    systemctl restart apache2


    And that should do the trick! (This worked for me.) Good luck! :)





    share








    New contributor




    Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      What I did is something like this:



      sudo a2enmod php7.2


      If you get error message showing conflicts, such as in my case I had: mpm_event error, you do this:



      sudo a2dismod mpm_event  


      you'll get messages like "apache2 crashed!" or something. Don't worry. Do the same a2dismod for all errors. Once done, execute:



      systemctl restart apache2
      sudo a2enmod php7.2
      systemctl restart apache2


      And that should do the trick! (This worked for me.) Good luck! :)





      share








      New contributor




      Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        What I did is something like this:



        sudo a2enmod php7.2


        If you get error message showing conflicts, such as in my case I had: mpm_event error, you do this:



        sudo a2dismod mpm_event  


        you'll get messages like "apache2 crashed!" or something. Don't worry. Do the same a2dismod for all errors. Once done, execute:



        systemctl restart apache2
        sudo a2enmod php7.2
        systemctl restart apache2


        And that should do the trick! (This worked for me.) Good luck! :)





        share








        New contributor




        Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        What I did is something like this:



        sudo a2enmod php7.2


        If you get error message showing conflicts, such as in my case I had: mpm_event error, you do this:



        sudo a2dismod mpm_event  


        you'll get messages like "apache2 crashed!" or something. Don't worry. Do the same a2dismod for all errors. Once done, execute:



        systemctl restart apache2
        sudo a2enmod php7.2
        systemctl restart apache2


        And that should do the trick! (This worked for me.) Good luck! :)






        share








        New contributor




        Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 8 mins ago









        Qazi Fahim FarhanQazi Fahim Farhan

        1




        1




        New contributor




        Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Qazi Fahim Farhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081956%2fphpinfo-showing-blank-page-on-ubuntu18-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...