I have a problem trying to get apache to work with php on red hat linux 6.2.... i have compiled apache 1.3.19 and php 4.... and i have also compiled mysql 3.23.26....this is exactly what i did to compile everything....
MYSQL --->
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
shell> chown -R root /usr/local/mysql/bin/
shell> bin/safe_mysqld --user=mysql &
=mysql worked and compiled correctly....
APACHE--->
$ ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-module=so
$ make
$ make install
$ /usr/local/apache/bin/apachectl start
= apache worked fine.... i could see test page and everything...
PHP 4 --->
$ ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
$ make
$ make install
after this, i stopped apache and tried to restart it...and i get this error...
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncom
press
./bin/apachectl start: httpd could not be started
SOMEBODY HELP !!! this is the fifth time i'm trying to get mysql, apache and php4 to work ...any help would be geratly appreciated..Thank you.
MYSQL --->
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
shell> chown -R root /usr/local/mysql/bin/
shell> bin/safe_mysqld --user=mysql &
=mysql worked and compiled correctly....
APACHE--->
$ ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-module=so
$ make
$ make install
$ /usr/local/apache/bin/apachectl start
= apache worked fine.... i could see test page and everything...
PHP 4 --->
$ ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
$ make
$ make install
after this, i stopped apache and tried to restart it...and i get this error...
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncom
press
./bin/apachectl start: httpd could not be started
SOMEBODY HELP !!! this is the fifth time i'm trying to get mysql, apache and php4 to work ...any help would be geratly appreciated..Thank you.