diff --git a/doc/install-phpip-ubuntu.sh b/doc/install-phpip-ubuntu.sh
index e8618e33..23a37502 100755
--- a/doc/install-phpip-ubuntu.sh
+++ b/doc/install-phpip-ubuntu.sh
@@ -3,7 +3,7 @@ echo "
********************************
Updating Ubuntu
********************************"
-# Uncomment below for Ubuntu 20.04
+# Uncomment below for Ubuntu 22.04 and before to get the latest PHP version
#add-apt-repository ppa:ondrej/php -y
apt update
apt -y upgrade
@@ -31,14 +31,15 @@ echo "
********************************
Getting phpIP from GitHub
********************************"
-cd /var/www/html
+cd /var/www
git clone https://github.com/jjdejong/phpip.git phpip
cd phpip
composer install
cp .env.example .env
php artisan key:generate
php artisan config:clear
-cp doc/phpip.conf /etc/apache2/sites-enabled/
+cp doc/phpip.conf /etc/apache2/sites-available/
+a2ensite phpip
chmod -R g+rw storage
chmod -R g+rw bootstrap/cache
chgrp -R www-data storage
diff --git a/doc/phpip.conf b/doc/phpip.conf
index 4ea2d239..8ad8ca59 100644
--- a/doc/phpip.conf
+++ b/doc/phpip.conf
@@ -1,11 +1,10 @@
ServerName phpip.local
DocumentRoot /var/www/phpip/public
- SetEnv APPLICATION_ENV "live"
ErrorLog /var/log/apache2/phpip-error.log
CustomLog /var/log/apache2/phpip-access.log combined
-
+
AllowOverride All
diff --git a/resources/scripts/aqs.ini.example b/resources/scripts/aqs.ini.example
index 6c696312..6d3196b7 100644
--- a/resources/scripts/aqs.ini.example
+++ b/resources/scripts/aqs.ini.example
@@ -1,4 +1,4 @@
-url = https://qa.anaquaservices.com/ws/me/patents/
+url = https://api.anaquaservices.com/ws/me/patents/
jwt_header_encoded = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
jwt_secret =
aqs_fee = 10