You are not logged in.

#1 2016-02-18 15:22:09

piling21
Member
Registered: 2016-01-18
Posts: 26

[SOLVED] Cannot load modules/libphp5.so into server

i was going through this  tutorial and after when i completed to configuring php section, got this output:

● httpd.service - Apache Web Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2016-02-18 17:14:15 EET; 3min 11s ago
  Process: 5662 ExecStop=/usr/bin/httpd -k graceful-stop (code=exited, status=1/FAILURE)
  Process: 5660 ExecStart=/usr/bin/httpd -k start -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 5660 (code=exited, status=1/FAILURE)

Feb 18 17:14:15 piling systemd[1]: Started Apache Web Server.
Feb 18 17:14:15 piling httpd[5660]: httpd: Syntax error on line 189 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
Feb 18 17:14:15 piling systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Feb 18 17:14:15 piling httpd[5662]: httpd: Syntax error on line 189 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
Feb 18 17:14:15 piling systemd[1]: httpd.service: Control process exited, code=exited status=1
Feb 18 17:14:15 piling systemd[1]: httpd.service: Unit entered failed state.
Feb 18 17:14:15 piling systemd[1]: httpd.service: Failed with result 'exit-code'.

hmm

Last edited by piling21 (2016-02-19 19:38:31)

Offline

#2 2016-02-18 15:28:01

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: [SOLVED] Cannot load modules/libphp5.so into server

Why use some potentially outdated/wrong, third-party tutorial rather than the fine Wiki?

(PHP 5 has recently been moved to the AUR, and that article there is from 2014)


pkgshackscfgblag

Offline

#3 2016-02-18 15:43:07

piling21
Member
Registered: 2016-01-18
Posts: 26

Re: [SOLVED] Cannot load modules/libphp5.so into server

yay, u'r right. thanks.

ayekat wrote:

Why use some potentially outdated/wrong, third-party tutorial rather than the fine Wiki?

(PHP 5 has recently been moved to the AUR, and that article there is from 2014)

Offline

#4 2016-02-18 15:55:27

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: [SOLVED] Cannot load modules/libphp5.so into server

piling21 wrote:

yay, u'r right. thanks.

You're welcome. So does it work? If yes, please don't forget to mark your thread as solved by editing your first post and prepending [SOLVED] to its title.


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB