unable to restart Apache2Problem restarting Apache2 serviceApache suddenly not workingJob for apache2.service failed because the control process exited with error code.Apache2 HTTP Ubuntu Won't RestartUbuntu 18.04 Error with apache2

Should all required user story assets be available before sizing a story or starting the sprint?

Why is こんばんみ used as a response to こんばんは?

Charges from Dollar General have never shown up on my debit card. How can I resolve this?

Multiple holes in exterior wall studs for electrical wiring

Why is Mars cold?

Is it poor workplace etiquette to display signs of relative "wealth" at work when others are struggling financially?

Is it possible for a country to develop the equivalent of a Second Industrial Revolution while under a war of attrition?

Can elves trance in armor without any downsides?

Why is my paper "under review" if it contains no results?

What actually is "unallocated space"?

Did the US push the Kurds to lower their defences against Turkey in the months preceding the latest Turkish military operation against them?

How do I get my boyfriend to remove pictures of his ex girlfriend hanging in his apartment?

I wanna get a result of i/j . Like 1/3, 1/5, 1/7, 3/5, 3, 5/3... Something like that. But none of my code works

How to find the sum of digits of a number whose prime factorisation is given

Labeling lines that are not within polygons using field calculator

Why do some audio amps use AC while others use DC

What fantasy book has twins (except one's blue) and a cloaked ice bear on the cover?

What is the "5th Edition Adventures" book series?

If I did not sign promotion bonus document, my career would be over. Is this duress?

Car as a good investment

How can the mourner remarry within one month, if he has to wait two regalim?

Is it really better for the environment if I take the stairs as opposed to a lift?

How can I seal 8 inch round holes in my siding?

In this day and age should the definition / categorisation of erotica be revised?



unable to restart Apache2


Problem restarting Apache2 serviceApache suddenly not workingJob for apache2.service failed because the control process exited with error code.Apache2 HTTP Ubuntu Won't RestartUbuntu 18.04 Error with apache2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I've been trying to start/restart Apache2 and been getting the same error over and over. Already look up in many questions or problems, but no one was able to solve my problem. Using Ubuntu 18.04 with Apache2 and php7.0.



So, the problem is that when I execute the comand:



/etc/init.d/apache2 restart
I get this error:



Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!



Executing systemctl status --no-pager --full apache2 returns:



May 19 18:32:25 lnxcp.cp016.net systemd[1]: Starting The Apache HTTP Server...
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: AH00526: Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf:
May 19 18:32:25 cp016.net apachectl[13384]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: Action 'start' failed.
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: The Apache error log may have more information.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Control process exited, code=exited status=1
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Failed with result 'exit-code'.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: Failed to start The Apache HTTP Server.


I'm a newbie in Linux/Ubuntu, so someone can help me? thank you!










share|improve this question























  • 3





    You have Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf Do you have PHP installed in your system? Have you enabled PHP module, e.g. a2enmod php7.2

    – FedonKadifeli
    May 19 at 16:57












  • yes, php is installed and enabled

    – igor
    May 19 at 17:27











  • You should check if the the libapache2-mod-php7.0 package is installed on your system.

    – RoseHosting
    May 20 at 16:25

















0

















I've been trying to start/restart Apache2 and been getting the same error over and over. Already look up in many questions or problems, but no one was able to solve my problem. Using Ubuntu 18.04 with Apache2 and php7.0.



So, the problem is that when I execute the comand:



/etc/init.d/apache2 restart
I get this error:



Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!



Executing systemctl status --no-pager --full apache2 returns:



May 19 18:32:25 lnxcp.cp016.net systemd[1]: Starting The Apache HTTP Server...
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: AH00526: Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf:
May 19 18:32:25 cp016.net apachectl[13384]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: Action 'start' failed.
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: The Apache error log may have more information.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Control process exited, code=exited status=1
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Failed with result 'exit-code'.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: Failed to start The Apache HTTP Server.


I'm a newbie in Linux/Ubuntu, so someone can help me? thank you!










share|improve this question























  • 3





    You have Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf Do you have PHP installed in your system? Have you enabled PHP module, e.g. a2enmod php7.2

    – FedonKadifeli
    May 19 at 16:57












  • yes, php is installed and enabled

    – igor
    May 19 at 17:27











  • You should check if the the libapache2-mod-php7.0 package is installed on your system.

    – RoseHosting
    May 20 at 16:25













0












0








0








I've been trying to start/restart Apache2 and been getting the same error over and over. Already look up in many questions or problems, but no one was able to solve my problem. Using Ubuntu 18.04 with Apache2 and php7.0.



So, the problem is that when I execute the comand:



/etc/init.d/apache2 restart
I get this error:



Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!



Executing systemctl status --no-pager --full apache2 returns:



May 19 18:32:25 lnxcp.cp016.net systemd[1]: Starting The Apache HTTP Server...
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: AH00526: Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf:
May 19 18:32:25 cp016.net apachectl[13384]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: Action 'start' failed.
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: The Apache error log may have more information.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Control process exited, code=exited status=1
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Failed with result 'exit-code'.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: Failed to start The Apache HTTP Server.


I'm a newbie in Linux/Ubuntu, so someone can help me? thank you!










share|improve this question

















I've been trying to start/restart Apache2 and been getting the same error over and over. Already look up in many questions or problems, but no one was able to solve my problem. Using Ubuntu 18.04 with Apache2 and php7.0.



So, the problem is that when I execute the comand:



/etc/init.d/apache2 restart
I get this error:



Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!



Executing systemctl status --no-pager --full apache2 returns:



May 19 18:32:25 lnxcp.cp016.net systemd[1]: Starting The Apache HTTP Server...
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: AH00526: Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf:
May 19 18:32:25 cp016.net apachectl[13384]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: Action 'start' failed.
May 19 18:32:25 lnxcp.cp016.net apachectl[13384]: The Apache error log may have more information.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Control process exited, code=exited status=1
May 19 18:32:25 lnxcp.cp016.net systemd[1]: apache2.service: Failed with result 'exit-code'.
May 19 18:32:25 lnxcp.cp016.net systemd[1]: Failed to start The Apache HTTP Server.


I'm a newbie in Linux/Ubuntu, so someone can help me? thank you!







server apache2 php






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited May 20 at 8:34









pa4080

17.7k7 gold badges38 silver badges83 bronze badges




17.7k7 gold badges38 silver badges83 bronze badges










asked May 19 at 16:39









igorigor

1




1










  • 3





    You have Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf Do you have PHP installed in your system? Have you enabled PHP module, e.g. a2enmod php7.2

    – FedonKadifeli
    May 19 at 16:57












  • yes, php is installed and enabled

    – igor
    May 19 at 17:27











  • You should check if the the libapache2-mod-php7.0 package is installed on your system.

    – RoseHosting
    May 20 at 16:25












  • 3





    You have Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf Do you have PHP installed in your system? Have you enabled PHP module, e.g. a2enmod php7.2

    – FedonKadifeli
    May 19 at 16:57












  • yes, php is installed and enabled

    – igor
    May 19 at 17:27











  • You should check if the the libapache2-mod-php7.0 package is installed on your system.

    – RoseHosting
    May 20 at 16:25







3




3





You have Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf Do you have PHP installed in your system? Have you enabled PHP module, e.g. a2enmod php7.2

– FedonKadifeli
May 19 at 16:57






You have Syntax error on line 17 of /home/admin/conf/web/essed.it.apache2.conf Do you have PHP installed in your system? Have you enabled PHP module, e.g. a2enmod php7.2

– FedonKadifeli
May 19 at 16:57














yes, php is installed and enabled

– igor
May 19 at 17:27





yes, php is installed and enabled

– igor
May 19 at 17:27













You should check if the the libapache2-mod-php7.0 package is installed on your system.

– RoseHosting
May 20 at 16:25





You should check if the the libapache2-mod-php7.0 package is installed on your system.

– RoseHosting
May 20 at 16:25










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1144544%2funable-to-restart-apache2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1144544%2funable-to-restart-apache2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?