Thanks for all the help. I finally (after about a week of trying) got php
and apache to play together nicely. If anyone is interested here is what I
did:
gunzip -cd php-4.0.4pl1.tar.gz | tar xvf -
cd php-4.0.4pl1
./configure --with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=../apache_1.3.19 \
--enable-track-vars
make
make install
cp php.ini-dist /usr/local/lib/php.ini
gzip -cd apache_1.3.19 | tar xvf -
cd apache_1.3.19
./configure \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=php4 \
> --prefix=/usr/local/apache \
make
make install
[root@linux bin]# ./httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_php4.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
./apachectl start
./apachectl start: httpd started
I was finally able to get a php script to run. Will suexec being disabled
cause any problems?
Best Regards,
Chad Oblak
-----Original Message-----
From: Myke Carter [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] MySQL, PHP4 & Apache on RH6.2
Chad Oblak wrote:
>
> Hello,
>
> I got MySQL up and running ok. I cannot seem to get php and apache to get
> along.
>
> Can anyone recommend a good installation/configuration tutorial for PHP
> running on apache writing to MySQL.
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
Myke
--
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]
--
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]