cant create new website ispconfig3

Discussion in 'General' started by dejvic, Aug 11, 2021.

  1. dejvic

    dejvic Member

    Dear I have own ubuntu server maybe 8 years. This year i upgraded to version Ubuntu 20.04.
    And I have fully functional one domain with 2 subdomains.
    But today I can create new website on new domain but apache send me error, and i cant create it.
    Ispconfig write me, that website is created, but apache error log write me this:
    AHO1630 "client denied by server configuration: /var/www/html ..........

    Please help me, how can i repaired it. Thank you very much
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Follow the tutorial for Ubuntu 20.04 step by step from the very beginning. Some configs must be changed accordingly like default php which is php7.4 for Ubuntu 20.04. There are several threads dealing with such changes so google them up.

    If you are still facing problems follow the ISPConfig FAQ to trouble shoot and post the relevant logs for others to inspect and help.
  3. dejvic

    dejvic Member

    thanks, but my mistake, i have Ubuntu 18.04, install step-by-step.
    And many years it was ok, but now is this problem.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    The solution is the same. Retrace by following the tutorial for Ubuntu 18.04 again, step by step. If the problem persist follow ISPConfig FAQ to troubleshoot at the link posted by @till above.
  6. dejvic

    dejvic Member

    wau, now i cant where is problem, ispconfig3 tell me that my ubuntu version is
    Server: (Ubuntu 18.04.5 LTS (Bionic Beaver)) ISPConfig 3.1dev

    and from shell of ubuntu server is
    [email protected]:/var/www# cat /etc/issue
    Ubuntu 20.04.2 LTS \n \l

    Where is problem?

    And now i have default php version 7.4
    [email protected]:/var/www# php --version
    PHP 7.4.22 (cli) (built: Jul 30 2021 13:08:17) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.22, Copyright (c), by Zend Technologies

    but i can start script - its with this errors
    [email protected]:/var/www# wget -q -O htf-common-issues.php "" && php -q htf-common-issues.php
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /var/www/htf-common-issues.php:288
    Stack trace:
    #0 {main}
    thrown in /var/www/htf-common-issues.php on line 288
    Last edited: Aug 12, 2021
  7. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Did you or did you not upgrade your Ubuntu? You should knew that.
  8. dejvic

    dejvic Member

    yes I upgraded my server i think that this year January :)
  9. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    So you are running Ubuntu 20.04 - go through the perfect server guide for that OS and install all required packages, then run the ispconfig updater and reconfigure services.
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    And fix the wrong default PHP version as described in the link I that I posted twice already as this also causes the issue script to fail. I will not post it a third time, please start reading what's on that page and follow the instructions you found there to set the default PHP version from 8 back to 7.4, its in the panel not showing up section.

Share This Page