<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Expedition installation failed - apache2/php7 not installed in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236119#M5273</link>
    <description>&lt;P&gt;an alternative method that worked for me was to install Ubuntu 22.04 and follow these instructions:&amp;nbsp;&lt;A href="https://github.com/utahman3431/pan-expedition-installer" target="_blank"&gt;https://github.com/utahman3431/pan-expedition-installer&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Aug 2025 17:14:17 GMT</pubDate>
    <dc:creator>J.Cheung871077</dc:creator>
    <dc:date>2025-08-17T17:14:17Z</dc:date>
    <item>
      <title>Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1235767#M5265</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;to migrate from Fortinet to Palo Alto, I would like to use the Expedition Tool. I have completed the expedition installation on a virtual machine according to the installation guide, but the tool does not work. The GUI is not available. After analyzing the CLI output from the installation, I could see lots of warnings and errors, and that there are some parts not installed correctly. At least php7 and/or apache2 will not be installed. The installation was done on a clean Ubuntu 20.04.6 LTS server, according to the admin guide. VM was set up with 40G drive, 8G RAM and 4 cores and functional internet connection.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Any ideas, how to fix this problem?&lt;/P&gt;
&lt;P&gt;Below are some snippets from the CLI output after executing the installation script&amp;nbsp;"sudo ./initSetup*.sh"&lt;/P&gt;
&lt;P&gt;Appended you find the whole log. Errors, Warning, not found, etc are marked in red.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you in advance&lt;/P&gt;
&lt;P&gt;kind regards&lt;BR /&gt;Hakan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[...]
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
sed: can't read /etc/php/7.0/cli/php.ini: No such file or directory
sed: can't read /etc/php/7.0/cli/php.ini: No such file or directory
sed: can't read /etc/php/7.0/cli/php.ini: No such file or directory
Failed to restart apache2.service: Unit apache2.service not found.

[...]

E: Unable to locate package php7.0-radius
E: Couldn't find any package by glob 'php7.0-radius'
E: Couldn't find any package by regex 'php7.0-radius'
E: Unable to locate package php7.0-bcmath

[...]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 11:00:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1235767#M5265</guid>
      <dc:creator>ha.kan</dc:creator>
      <dc:date>2025-08-11T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236105#M5270</link>
      <description>&lt;P&gt;I'm having the same issue, can't install php 7.0.&amp;nbsp; If you do a "php -v" what output do you get?&amp;nbsp; I think expedition ONLY supports php 7.0.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 11:51:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236105#M5270</guid>
      <dc:creator>J.Cheung871077</dc:creator>
      <dc:date>2025-08-16T11:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236109#M5271</link>
      <description>&lt;P&gt;Ok for giggles, I updated my ubuntu LTS VM to 22.04 and I ran the script and lo and behold, apache2/php7.0 worked fine. &amp;nbsp;I was able to get to the login screen but due to some php/sql issue I was not able to login. &amp;nbsp;I think we are doomed because I think Ondrej recently stopped supporting 20.04 for his php repository. &amp;nbsp;you can probably try to build it from scratch but you would need to build all the php extensions from scratch too. &amp;nbsp;I attempted it but failed miserably. &amp;nbsp;this is the end for expedition in 2025. &amp;nbsp;RIP.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 17:53:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236109#M5271</guid>
      <dc:creator>J.Cheung871077</dc:creator>
      <dc:date>2025-08-16T17:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236117#M5272</link>
      <description>&lt;P&gt;This is what worked for me ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install Ubuntu 20.04 following the instruction guide.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Login to the "expedition" account" ( Password: paloalto ).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Download and copy "initSetup_v2.0.sh" to "/home/expedition/tmp".&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Update Ubuntu.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt update
sudo apt upgrade&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install Apache2, PHP ( Version&amp;nbsp;7.4.3-4ubuntu2.29 ), and the PHP modules.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt install apache2
sudo apt install php libapache2-mod-php
sudo apt install php-bcmath php-mbstring php-gd php-soap php-zip php-xml php-opcache php-curl php-bz2 php-mcrypt php-ldap php-radius php-mysql
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install Expedition.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cd /tmp
sudo ./initSetup_v2.0.sh&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Stop and disable the firewall service.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo systemctl stop firewalld
sudo systemctl disable firewalld&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Aug 2025 16:59:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236117#M5272</guid>
      <dc:creator>Jeff-HSC</dc:creator>
      <dc:date>2025-08-17T16:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236119#M5273</link>
      <description>&lt;P&gt;an alternative method that worked for me was to install Ubuntu 22.04 and follow these instructions:&amp;nbsp;&lt;A href="https://github.com/utahman3431/pan-expedition-installer" target="_blank"&gt;https://github.com/utahman3431/pan-expedition-installer&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Aug 2025 17:14:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236119#M5273</guid>
      <dc:creator>J.Cheung871077</dc:creator>
      <dc:date>2025-08-17T17:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236634#M5274</link>
      <description>&lt;P&gt;Hello all, thank you for your replies &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;.&amp;nbsp;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;I will examine the suggestions and will give you feedback in the next days, as soon as I got the results.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 13:29:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1236634#M5274</guid>
      <dc:creator>ha.kan</dc:creator>
      <dc:date>2025-08-25T13:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition installation failed - apache2/php7 not installed</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1238782#M5287</link>
      <description>&lt;P&gt;Thank you. This solution &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/834152855"&gt;@Jeff-HSC&lt;/a&gt; has worked also for me.&lt;/P&gt;
&lt;P&gt;Now I am able to open the GUI, but I am&lt;STRONG&gt; not able to log in&lt;/STRONG&gt; there.&lt;/P&gt;
&lt;P&gt;I tried the default credentials admin/paloalto but also expedition/paloalto. Both do not work.&lt;/P&gt;
&lt;P&gt;I found corresponding posts in the forum, according to which full drives can be the cause.&lt;/P&gt;
&lt;P&gt;I can see multiple "/dev/loop#/" drives, which have 100% use. I also found out, that these drives are snap packets, but I have no experiences with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can this be a problem and any ideas how to fix this / how to log in?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;expedition@expedition1:~$ df -k
Filesystem                        1K-blocks    Used Available Use% Mounted on
udev                                4002840       0   4002840   0% /dev
tmpfs                                810428    1628    808800   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  19430032 9247460   9170248  51% /
tmpfs                               4052124       0   4052124   0% /dev/shm
tmpfs                                  5120       0      5120   0% /run/lock
tmpfs                               4052124       0   4052124   0% /sys/fs/cgroup
/dev/loop3                            94080   94080         0 100% /snap/lxd/24061
/dev/loop0                            64896   64896         0 100% /snap/core20/1828
/dev/loop1                            65408   65408         0 100% /snap/core20/2599
/dev/loop4                            50560   50560         0 100% /snap/snapd/24792
/dev/loop5                            52096   52096         0 100% /snap/snapd/25202
/dev/loop2                            94208   94208         0 100% /snap/lxd/32662
/dev/sda2                           1992552  116340   1754972   7% /boot
tmpfs                                810424       0    810424   0% /run/user/1000
expedition@expedition1:~$ ^C

expedition@expedition1:~$ snap list --all
Name    Version         Rev    Tracking       Publisher   Notes
core20  20230207        1828   latest/stable  canonical✓  base,disabled
core20  20250526        2599   latest/stable  canonical✓  base
lxd     4.0.9-a29c6f1   24061  4.0/stable/…   canonical✓  disabled
lxd     4.0.10-d342340  32662  4.0/stable/…   canonical✓  -
snapd   2.70            24792  latest/stable  canonical✓  snapd,disabled
snapd   2.71            25202  latest/stable  canonical✓  snapd
expedition@expedition1:~$&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 12:02:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-installation-failed-apache2-php7-not-installed/m-p/1238782#M5287</guid>
      <dc:creator>ha.kan</dc:creator>
      <dc:date>2025-09-25T12:02:26Z</dc:date>
    </item>
  </channel>
</rss>

