I get the same exact problem, I was tearing my hair out over
it all day yesterday. I'm looking back over the previous posts
here and see people experiencing this even last year but I
haven't seen any solutions posted...
Martin Stephenson wrote:
>
> Hi All,
>
> I'm running Suse Linux 7.1, Kernet 2.4
>
> I have downloaded and installed the latest version of Apache and it's up
> and running OK
>
> It is installed in :
>
> /usr/local/apache
>
> To Install PHP, i have downloaded the Source and put it in:
>
> /usr/local/src/php-4.0.6
>
> To Install PHP I have done this ( ihave specified the location of apxs
> as Suse Installed an Apache server also, but I want the one I've
> installed to /usr/local/apache):
>
> ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
>
> Then I type:
>
> make
>
> make install
>
> Then I edit /usr/local/apache/conf/httpd.conf
>
> The required lines ARE there, ie.
>
> LoadModule php4_module libexec/libphp4.so
> AddModule mod_php4.c
>
> AddType application/x-httpd-php .php
>
> I have also copied /usr/local/src/php-4.0.6/php.ini-dist to
> /usr/local/lib/php.ini
>
> Now the problem :
> I then go to start my Server as follows:
>
> cd /usr/local/apache/bin
> ./httpd
>
> BUT Then I get this:
>
> "Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
> API module structure `php4_module' in file
> /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an
> Apache module DSO? "
>
> Line 236 of /usr/local/apache/conf/httpd.conf is :
>
> LoadModule php4_module libexec/libphp4.so
>
> And If I check the file type of libphp4.so as follows:
> cd /usr/local/apache/libexec/
> file libphp4.so
>
> I get :
> "libphp4.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not
> stripped "
>
> So....Can anybody Help ???
>
> I don't have MySQL installed yet - do I need to have that first ???
>
> Thanks,
>
> Martin Stephenson.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]