Re: Apache Module DSO garbled??
| From: | Rasmus Lerdorf | Date: | Thu, 14 Dec 2000 00:36:29 +0000 |
| Subject: | Re: Apache Module DSO garbled?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30217@lists.php.net to get a copy of this message | ||
Should have worked. Try a 'make clean' in the PHP directory and
recompile.
-Rasmus
On Thu, 14 Dec 2000, Russell Anam wrote:
> I am getting a error message when starting apache:
>
> API module structure 'php4_module' in file
> /usr/local/apache/libexec/libphp4.so is garbled- perhaps this is not an
> Apache module DSO??
>
> I just installed apache, php and MySQ: the following way:
>
> Apache:
> # gunzip -dc apache_x.x.xx.tar.gz | tar xv
> # cd apache_x.x.xx
> # ./configure --prefix=/usr/local/apache --enable-module=so
> # make
> # make install
> # /usr/local/apache/bin/apachectl start (works)
>
> Then MySQL:
> # gunzip -dc mysql-x.xx.xx.tar.gz | tar xvf -
> # cd mysql-x.x.xx
> # configure --prefix=/usr/local/mysql
> # make
> # make install
> # scripts/mysql_install_db
> # /usr/local/bin/safe_mysqld &
>
> Then PHP
> #
> ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/
> apxs
> # make
> # make install
> # cp php.ini-dist /usr/local/apache/conf/php.ini
>
> When I restart apache I get that error. What did I do wrong??
>
> Thanks.
>
>
> ____________________________________________________
> Imagine a world without Gates.......Imagine Linux
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>