Greetings! I just wanted to set up my first PHP & apache env. on RH7.0. I downloaded PHP 4.2.2 (source) and apache 1.3.26 (source) and followed the INSTALL file in both distributions. I decided to make use of the DSO variant. Compiling and installing of both went well. But httpd doesnt start. Here is what I get:
# /usr/local/apache/bin/apachectl start Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined symbol: core_globals /usr/local/apache/bin/apachectl start: httpd could not be started # Here is what I did: # cd src/apache_1.3.26 # ./configure --prefix=/usr/local/apache --enable-module=so # make # make install # emacs /usr/local/apache/conf/httpd.conf (changed user to apache and group to apache (both exist)) # cd src/php4.2.2 # ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql (mysql was installed prior) # make # make install # cp php.ini-dist /usr/local/lib/php.ini # cp php.ini-dist /usr/local/lib/php/php.ini (I couldn't decide) (added AddType application/x-httpd-php .php into httpd.conf (after that line for the x-tar thing)) # /usr/local/apache/bin/apachectl start (with the above result) Line 205 in httpd.conf is: LoadModule php4_module libexec/libphp4.so What am I doing wrong? I am using Red Hat 7.0 (Respin) kernel 2.2.16-22 (the one that shipped with RH7) Do you need more detailed information? I am at the end of what I can do! (b.t.h. I tried the static variant, but there was an error during compilation of apache.) Maybe my glibc or whatever? Frank -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php