> 
> 
> 

Scott Wagner wrote:
> To: php 
> Sent: Thursday, March 01, 2001 11:55 PM
> Subject: can't start apache
> 
> 
> Hi
> I just installed mysql, apache and php4 on Linux Mandrake 7.0 from a cd I got with 
>the book "PHP Fast and Easy"
> After installing apache it seemed ok and started normally.  But after installing 
>PHP4 I get the following error message
> when I try to start apache:
> 
> Syntax error on line 207 of httpd. config: cannot load 
>/usr/apache_1.3.12/libexec/libphp4.so into server:
> /usr/loca/apache_1.3.12/libexec/libphp4.so: undefined symbol: mysql_init
> 
>  I used the following command to build php4:
> /configure --with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/ 
>--with-apxs=/usr/local/apache_1.3.12/bin/apxs
> 
> Including ./configure --activate-module=src/modules/modules/p in installation fails, 
>saying directories do not exist.
> Looking at previous output it appears that the modules have already been activated.
> 
> Any hints in a newbie-friendly format would be greatly appreciated.
> Thanks,
> SW

I tried installing the files of the CD too, and tied myself up in knots,
although I like the general style of the book. In the end, I adopted the
path of least resistance and simply installed the SuSE rpms (although I
wouldn't recommend this on RedHat or Mandy!) and everything worked out
of the crate. 

I'd advise you delete what you've installed and just grab the relevant
rpms from Mandrake or RedHat's site (or off the CD). The important thing
is not that they match the version numbers in the book correctly, but
that they are appropriate to your version of Mandrake. Be aware that the
RedHat rpm for MySQL was faulty (maybe they've fixed it now): you need
to either compile that with no dependencies (see man rpm for details) or
grab the rpm from the MySQL site.

Let us know how you get on.

-- 
******************************************************************************
Marx: "Why do Anarchists only drink herbal tea?"
Proudhon: "Because all proper tea is theft."
******************************************************************************

-- 
PHP General 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]

Reply via email to