You are not logged in.

#1 2004-07-18 03:46:24

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

apache + php 5

dp wrote:

..... i wondered why apache do not load in the udev-installation, but (!!!) it was not udev, but php that was updated to 5.0

/usr/sbin/apachectl start 
Syntax error on line 262 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: cannot open shared object file: No such file or directory

apache is waiting for the php4 to load, but only php5 is available -> http://bugs.archlinux.org/index.php?do=details&id=1141

I can also not start apache with "apachectl start" but works fine with "/etc/rc.d/httpd start".
For testing, add this code in a php file (/home/httpd/html/test.php) and run: http://localhost/test.php

<?
phpinfo()
?>

Markku

Offline

#2 2004-07-18 18:58:02

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: apache + php 5

for the redundancy of infos:

in /etc/httpd/conf/httpd.conf i changed


LoadModule php4_module lib/apache/libphp4.so

to


LoadModule php5_module lib/apache/libphp5.so

and apache is working again


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB