Zwracam się znów do Was z prośbą bo już nie mam po prostu ani siły ani pomysłu żeby to pokonać. Siedzę nad apache od wczoraj i ani kroku nie ruszyłem. Problem polega na tym, że namieszałem nieco w apache i chciałem go zreinstalować na moim Ubuntu 14.04. Wszystko poszło fajnie, po reinstalacji po wejściu na localhost/mojastrona pokazał mi się kod php. Zatem zainstalowałem :
Kod
sudo apt-get install libapache2-mod-php5
I od tej pory zaczęły się schody. Apache nie wstanie i koniec. Miałem problem z ustawieniem ServerName na localhost i nazwę mojego kompa - po wielu godzinach w końcu się udało, błąd nie wyskakuje. Ale apache dalej nie ruszy. Chcę odpalić go
Kod
sudo service apache2 start
i tak w koło Macieju - mija 20 sekund, apache się nie odezwie, wyrzuca błąd :
Kod
* Starting web server apache2
*
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
*
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
mój error.log plik wygląda tak
Kod
[Sun Nov 08 14:26:21.034899 2015] [mpm_event:notice] [pid 31490:tid 140162427312000] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:26:21.035022 2015] [core:notice] [pid 31490:tid 140162427312000] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:28:56.111874 2015] [mpm_event:notice] [pid 31490:tid 140162427312000] AH00491: caught SIGTERM, shutting down
[Sun Nov 08 14:28:57.188752 2015] [mpm_event:notice] [pid 6066:tid 140177483171712] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:28:57.188861 2015] [core:notice] [pid 6066:tid 140177483171712] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:30:25.612088 2015] [mpm_event:notice] [pid 6066:tid 140177483171712] AH00491: caught SIGTERM, shutting down
[Sun Nov 08 14:30:26.713257 2015] [mpm_event:notice] [pid 9958:tid 139966135859072] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:30:26.713385 2015] [core:notice] [pid 9958:tid 139966135859072] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:30:59.018105 2015] [mpm_event:notice] [pid 9958:tid 139966135859072] AH00491: caught SIGTERM, shutting down
[Sun Nov 08 14:31:00.092657 2015] [mpm_prefork:notice] [pid 12101] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:31:00.092777 2015] [core:notice] [pid 12101] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:31:01.441796 2015] [mpm_prefork:notice] [pid 12101] AH00169: caught SIGTERM, shutting down
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
[Sun Nov 08 14:26:21.035022 2015] [core:notice] [pid 31490:tid 140162427312000] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:28:56.111874 2015] [mpm_event:notice] [pid 31490:tid 140162427312000] AH00491: caught SIGTERM, shutting down
[Sun Nov 08 14:28:57.188752 2015] [mpm_event:notice] [pid 6066:tid 140177483171712] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:28:57.188861 2015] [core:notice] [pid 6066:tid 140177483171712] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:30:25.612088 2015] [mpm_event:notice] [pid 6066:tid 140177483171712] AH00491: caught SIGTERM, shutting down
[Sun Nov 08 14:30:26.713257 2015] [mpm_event:notice] [pid 9958:tid 139966135859072] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:30:26.713385 2015] [core:notice] [pid 9958:tid 139966135859072] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:30:59.018105 2015] [mpm_event:notice] [pid 9958:tid 139966135859072] AH00491: caught SIGTERM, shutting down
[Sun Nov 08 14:31:00.092657 2015] [mpm_prefork:notice] [pid 12101] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Nov 08 14:31:00.092777 2015] [core:notice] [pid 12101] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 08 14:31:01.441796 2015] [mpm_prefork:notice] [pid 12101] AH00169: caught SIGTERM, shutting down
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
nie wiem co może być nie tak, nie wiem jak naprawić ten błąd. Nic nie pomaga. Bardzo proszę o pomoc.