You are not logged in.

#1 2015-10-05 18:09:30

racerider94
Member
Registered: 2015-10-05
Posts: 9

PHP don't work

Dear all
first thing I'm sorry for my horrible english, I would to install PHP on my desktop PC, I've followed the Arch guide but it don't work.
Apache and mysql are configurated and works properly but when I try to install PHP terminal give me this error:

[pietro@arch modules]$ sudo systemctl restart httpd
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

if I try to check the status it gives me this:

[pietro@arch modules]$ sudo systemctl status httpd
● httpd.service - Apache Web Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since lun 2015-10-05 14:17:34 CEST; 22s ago
  Process: 3645 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=1/FAILURE)
  Process: 3652 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 683 (code=exited, status=0/SUCCESS)

ott 05 14:17:34 arch systemd[1]: Starting Apache Web Server...
ott 05 14:17:34 arch apachectl[3652]: [Mon Oct 05 14:17:34.824395 2015] [so...ng
ott 05 14:17:34 arch apachectl[3652]: [Mon Oct 05 14:17:34.831070 2015] [:c...P.
ott 05 14:17:34 arch apachectl[3652]: AH00013: Pre-configuration failed
ott 05 14:17:34 arch systemd[1]: httpd.service: Control process exited, cod...=1
ott 05 14:17:34 arch systemd[1]: Failed to start Apache Web Server.
ott 05 14:17:34 arch systemd[1]: httpd.service: Unit entered failed state.
ott 05 14:17:34 arch systemd[1]: httpd.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.

Offline

#2 2015-10-05 18:12:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: PHP don't work

Read the hint at the bottom of the status message...

And use the PIDS to interrogate the journal for more detailed errors (the the systemd page on the wiki for more info).


Moving to Newbie Corner.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-10-05 18:22:45

racerider94
Member
Registered: 2015-10-05
Posts: 9

Re: PHP don't work

Error founded with systemctl status httpd -l.
Thank you jasonwryan smile

Offline

#4 2015-10-05 19:44:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: PHP don't work

Please include some details about the error and solution: https://wiki.archlinux.org/index.php/Fo … way_street


And remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB