[ILUG] PHP and Suse Professional...

Robert Sweetnam robert.sweetnam at gmail.com
Tue Oct 5 18:48:10 IST 2004


Hi

The installation for SuSE 9.1 gives you an option as to which version
of Apache you want to use. 1.3xx or 2.0.xx but its not obvious.  (To
me it wasnt anyway!)

Are you compiling from source or using the RPMS? If you using the
RPM's you can run YaST 2 and change the Apache version from there.

I had a similar situation in that I ran a custom install and selected
Apache and it installed the 1.3 installation and I presumed that it
was the 2 version. I'm not at home now so I cant check exactly the
versions. But from what I can remember, in YaST I enabled the
auto-dependency option on the bottom and removed the existing Apache
installation. I also removed the various modules PHP etc that depended
on Apache. Once YaST went through its routines I went back and
selected the Worker version of Apache 2 available in the list and then
the PHP 4 module for Apache 2, again it gave me a list of various
dependencies. Once YaST had gone through its routine once more I quit
it ran apachectl start and in the webserver root made a simple test
PHP page using the following:

<?PHP
phpinfo();
?>

saved it as info.php

Opened it on via a windows machine and all was well and good.

Hope this helps.

Cheers
Robert 

On Tue, 05 Oct 2004 15:43:15 +0100, Braun Brelin <bbrelin at openapp.biz> wrote:
> Hi folks,
> 
> I'm trying to build a LAMP site using Apache 1.3.x and PHP 4.3.4.
> I'm trying to run this on Suse Professional Edition 9.1.
> 
> I'm getting the following error:
> 
> /usr/sbin/apachectl start
> > Syntax error on line 8 of /etc/httpd/suse_loadmodule.conf:
> > Cannot load /usr/lib/apache/libphp4.so into server:
> > /usr/lib/apache/libphp4.so: undefined symbol: sprint_value
> > /usr/sbin/apachectl start: httpd could not be started
> 
> Googling for this shows that this particular problem manifested itself
> with PHP 4.2 and below, specifically on RedHat 8 systems. however, I'm
> running php 4.3.4.



More information about the ILUG mailing list