Linux: apache2 do not load php...

mariogamer

Well-Known Member
OP
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
Sorry for all these time...

I redirected error in file this give me these file...
 

Attachments

  • error.zip
    7.6 KB · Views: 101

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Because I'm lazy, do this.
Code:
sudo -s
apt-get install git
cd /usr/local/src
git clone https://github.com/i-MSCP/imscp.git
cd imscp
./imscp-autoinstall

Just follow the steps. It'll setup a simple LAMP server with PhpMyAdmin, a web admin panel, webmail (this is optional), an FTPd, and so on.
 
  • Like
Reactions: Deleted User

mariogamer

Well-Known Member
OP
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
Thank!

I already have git.I'll install it...

--------------------- MERGED ---------------------------

This is why it's really big... XD But not so big than linux kernel :P (I waited multiple hour before downloading)
 

mariogamer

Well-Known Member
OP
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
Postfix config failed,I think (sorry,lot of world are in french):

(note: I know,there is a smiley in the spoiler,but it was in the original error)

Paramétrage de libwww-perl (6.15-1) ...
Paramétrage de liblwp-protocol-https-perl (6.06-2) ...
Paramétrage de libxml-parser-perl (2.44-1build1) ...
Traitement des actions différées (« triggers ») pour systemd (229-4ubuntu4) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-19) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu3) ...
Traitement des actions différées (« triggers ») pour ufw (0.35-0ubuntu2) ...
Traitement des actions différées (« triggers ») pour dovecot-core (1:2.2.22-1ubuntu2) ...
invoke-rc.d: policy-rc.d denied execution of restart.
Traitement des actions différées (« triggers ») pour dictionaries-common (1.26.3) ...
Traitement des actions différées (« triggers ») pour php7.0-fpm (7.0.4-7ubuntu2) ...
Des erreurs ont été rencontrées pendant l'exécution :
postfix
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)

autoinstaller::Functions::build: An error occurred while performing build steps
root@*-pc:/usr/local/src/imscp# ./imscp-autoinstall

autoinstaller::Adapter::DebianAdapter::installPreRequiredPackages: Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
binutils is already the newest version (2.26-8ubuntu2).
liblist-moreutils-perl is already the newest version (0.413-1build1).
libxml-simple-perl is already the newest version (2.22-1).
rsync is already the newest version (3.1.1-3ubuntu1).
wget is already the newest version (1.17.1-1ubuntu1).
debconf-utils is already the newest version (1.5.58ubuntu1).
dialog is already the newest version (1.3-20160209-1).
libbit-vector-perl is already the newest version (7.4-1build1).
libclass-insideout-perl is already the newest version (1.13-2).
libscalar-defer-perl is already the newest version (0.23-1).
libsort-versions-perl is already the newest version (1.62-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de postfix (3.1.0-3) ...

Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: *-pc..name
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: *-pc..name
dpkg: erreur de traitement du paquet postfix (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 75
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu3) ...
Des erreurs ont été rencontrées pendant l'exécution :
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

 
Last edited by mariogamer,

FaTaL_ErRoR

AKA ŦƕƎ ƠṀƐƝ
Member
Joined
Mar 9, 2014
Messages
491
Trophies
0
XP
443
Country
United States
Ok, stop listening to people and read for yourself. Most linux stuff rarely works out of the box. There are many places to read on what you are trying to accomplish. And from a linux perspective simply giving you the answers will not help you later on when things go wrong.
https://help.ubuntu.com/lts/serverguide/httpd.html
https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/
Honestly I think something went wrong with setting up apache. Just take a few minutes and read.
 
  • Like
Reactions: Deleted User

mariogamer

Well-Known Member
OP
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.

● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Sun 2016-05-08 16:30:33 EDT; 1h 13min ago
Docs: man:systemd-sysv-generator(8)
Process: 1414 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

May 08 16:30:33 *-pc apache2[1414]: *
May 08 16:30:33 *-pc apache2[1414]: * The apache2 configtest failed.
May 08 16:30:33 *-pc apache2[1414]: Output of config test was:
May 08 16:30:33 *-pc apache2[1414]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apaces/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open sharhe2/modules/libphp5.so: cannot open shared object file: No such file or directory
May 08 16:30:33 *-pc apache2[1414]: Action 'configtest' failed.
May 08 16:30:33 *-pc apache2[1414]: The Apache error log may have more information.
May 08 16:30:33 *-pc systemd[1]: apache2.service: Control process exited, code=exited status=1
May 08 16:30:33 *-pc systemd[1]: Failed to start LSB: Apache2 web server.
May 08 16:30:33 *-pc systemd[1]: apache2.service: Unit entered failed state.
May 08 16:30:33 *-pc systemd[1]: apache2.service: Failed with result 'exit-code'.
~
~
~
~
~

Second command is too big...
 
Last edited by mariogamer,

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
May 08 16:30:33 *-pc apache2[1414]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apaces/libphp5.so into server:/usr/lib/apache2/modules/libphp5.so: cannot open sharhe2/modules/libphp5.so: cannot open shared object file: No such file or directory
You either don't have PHP installed correctly, or your apache configuration file isn't correct seeing as the configtest spits out a syntax error.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro