Re: Garbled libphp4.so - what?
| From: | Rasmus Lerdorf | Date: | Sun, 11 Aug 2002 17:07:34 +0000 |
| Subject: | Re: Garbled libphp4.so - what? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8069@lists.php.net to get a copy of this message | ||
Try a make distclean in the PHP directory and start over.
On Sun, 11 Aug 2002, Ville Mattila wrote:
> Hello folks,
>
> I was installing Apache 1.3.9 and PHP 4.2.2 to my brand new RedHat 7.3 box,
> but unfortunately without good results. I compiled and installed Apache
> precisely like in the Apache documentation and Apache is now up and running
> without PHP. Then I downloaded the newest version of PHP and compiled and
> installed it with instructions at PHP website. I added following lines to
> httpd.conf:
>
> LoadModule php4_module /usr/lib/apache/libphp4.so
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> AddType application/x-httpd-php .php4
>
> Then it was time to try running Apache with PHP. Well, I got following error
> message:
>
> [root@pilotmedia php-4.2.2]# /etc/httpd/bin/apachectl start
> Syntax error on line 665 of /etc/httpd/conf/httpd.conf:
> API module structure `php4_module' in file /usr/lib/apache/libphp4.so is
> garbled - perhaps this is not an Apache module DSO?
> /etc/httpd/bin/apachectl start: httpd could not be started
>
> What could I do?
>
> Thanks,
> Ville Mattila
> Ikaalinen, Finland
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>