[Bug 152410] Re: Installing PHP doesn't restart Apache2 by default, needs manual restart

hggdh hggdh2 at gmail.com
Thu Jul 17 04:54:43 BST 2008


Marking as triaged, per Soren's comments. Seems to affect Fesity,
Gustsy, and Hardy, at least. Might also affect Intrepid (not tested)

** Changed in: php5 (Ubuntu)
       Status: Incomplete => Triaged

** Description changed:

  Binary package hint: php5
  
  After installing the LAMP package, and I tried to test any php pages, my
  browser prompted me to download the php file rather than display it
  because the php module is not enabled. I think it should be enabled by
  default.
  
  This requires apache2 to restart itself after installing libapache-mod-
  php5 (installed as a dependency for php5). As this is not done
  automatically, the module is not loaded by default and hence PHP scripts
  can be executed.
+ 
+ WORKAROUND:
+ 
+ on a terminal, issue "sudo invoke-rc.d apache2 restart #if using Apache
+ V2.x)

** Description changed:

  Binary package hint: php5
  
  After installing the LAMP package, and I tried to test any php pages, my
  browser prompted me to download the php file rather than display it
  because the php module is not enabled. I think it should be enabled by
  default.
  
  This requires apache2 to restart itself after installing libapache-mod-
  php5 (installed as a dependency for php5). As this is not done
  automatically, the module is not loaded by default and hence PHP scripts
  can be executed.
  
  WORKAROUND:
  
- on a terminal, issue "sudo invoke-rc.d apache2 restart #if using Apache
+ on a terminal, issue "sudo invoke-rc.d apache2 restart" #if using Apache
  V2.x)

-- 
Installing PHP doesn't restart Apache2 by default, needs manual restart
https://bugs.launchpad.net/bugs/152410
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list