Jumat, 07 September 2018

How to fix AH01574: module php5_module is already loaded, skipping

  Tidak ada komentar
Running command for install epel release repo
[root@pelaut-cloud modules]# sudo service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Sat Sep 08 12:31:36.956413 2018] [so:warn] [pid 31232] AH01574: module php5_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
                                                           [  OK  ]
[root@pelaut-cloud modules]# 
Running the command install xinetd


Running command for install epel release repo
[root@pelaut-cloud conf.modules.d]# pwd
/etc/httpd/conf.modules.d
[root@pelaut-cloud conf.modules.d]#
[root@pelaut-cloud conf.modules.d]# ls
00-base.conf  00-lua.conf  00-proxy.conf        01-cgi.conf  10-rh-php56-php.conf
00-dav.conf   00-mpm.conf  00-systemd.conf_bak  10-php.conf
[root@pelaut-cloud conf.modules.d]#
[root@pelaut-cloud conf.modules.d]# vi 10-php.conf

Running the command install xinetd

Running command for install epel release repo
[root@pelaut-cloud conf.modules.d]# cat 10-php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
<IfModule prefork.c>
LoadModule php5_module modules/libphp5.so
</IfModule>

<IfModule !prefork.c>
  LoadModule php5_module modules/libphp5-zts.so
</IfModule>

[root@pelaut-cloud conf.modules.d]#
Running the command install xinetd


Running command for install epel release repo
[root@pelaut-cloud conf.modules.d]# cat 10-php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
<IfModule prefork.c>
# It Have declare on httpd.conf so i down load again
#  LoadModule php5_module modules/libphp5.so
</IfModule>

<IfModule !prefork.c>
  LoadModule php5_module modules/libphp5-zts.so
</IfModule>

[root@pelaut-cloud conf.modules.d]#
Running the command install xinetd


Running command for install epel release repo

[root@pelaut-cloud conf.modules.d]#
[root@pelaut-cloud conf.modules.d]# sudo service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
                                                           [  OK  ]
[root@pelaut-cloud conf.modules.d]#
[root@pelaut-cloud conf.modules.d]#
Running the command install xinetd

Tidak ada komentar :

Posting Komentar