Search code examples
ubuntuinternal-server-errorphp-5.5

Ubuntu 14.04.4 LTS php 5.5 very common internal server error


if a function has been called like

if ($this->_wordWrap(&$section)) { return; //word wrap has already taken care of calling addText }

and function defination is like private function _wordWrap($section) {

just change it like this

if ($this->_wordWrap($section)) { return; //word wrap has already taken care of calling addText }

and function defination is like private function _wordWrap(&$section) {

This will solve most of error related to internal server error


Solution

  • Ubuntu 14.04.4 LTS php 5.5 very common internal server error

    if a function has been called like

    if ($this->_wordWrap(&$section)) { return; //word wrap has already taken care of calling addText }

    and function defination is like private function _wordWrap($section) {

    just change it like this

    if ($this->_wordWrap($section)) { return; //word wrap has already taken care of calling addText }

    and function defination is like private function _wordWrap(&$section) {

    This will solve most of error related to internal server error