View Single Post
Old 08-01-2017, 05:27 PM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Quote:
Originally Posted by porn-update View Post
But where?

I have this: sudo nano /etc/apache2/sites-available/alternativegirlshardpics.com.conf
and this: sudo nano /etc/apache2/mods-enabled/dir.conf
/etc/apache2/sites-available/alternativegirlshardpics.com.conf
$cd /etc/apache2/sites-available
$ls -1
[see what is there]
$cp alternativegirlshardpics.com.conf alternativegirlshardpics.com.conf~
[back up your file that works]
nano /etc/apache2/sites-available/alternativegirlshardpics.com.conf
[make your edits] ^X 'y'

$a2ensite alternativegirlshardpics.com.conf
$ /etc/init.d/apache2 restart
or;
service apache2 restart

php is always starts 5 and 7 (4 was <? as I recall)
<?php '{......}'
?>

in php 7 you actually don't need the closing tag -- try it LOL works ...

check your return on this
Code:
barry@paragon-DS-7:~$ apt search apache2|grep 'php'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libapache2-mod-php/xenial,xenial 1:7.0+35ubuntu6 all
libapache2-mod-php7.0/xenial-updates 7.0.18-0ubuntu0.16.04.1 amd64
php7.0-fpm/xenial-updates,now 7.0.18-0ubuntu0.16.04.1 amd64 [installed,automatic]
barry@paragon-DS-7:~$
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote