Hello, I wanted to share my success with the list as it has provided all the clues to getting php4 to work with mysql and apache.
Mark Rolen responded to my email who posted this same problem some time ago on the list. His suggestion was to add --with-zlib Here's what I did: cd php4.1.0 ./configure --with-mysql=<path to mysql source> --with-apxs --with-zlib make make install service httpd start Syntax error line 914 of /etc/httpd/conf/httpd.conf Cannot load /etc/httpd/lib/apache/libphp4.so into server /etc/httpd/lib/apache/libphp4.so: cannot open shared object file: no such file or directory find / -name libphp4.so /usr/lib/apache/libphp4.so vi httpd.conf 914G LoadModule php4_module lib/apache/libphp4.so changed to match FIND location: LoadModule php4_module /usr/lib/apache/libphp4.so service httpd start ok. After restarting server for good measure, everything started ok. Created test script in INSTALL file and phpinfo.php is displayed in my browser. Thanks to Mark, :)) Andrew Schoenherr ======================original post to php.install===================== Hello, After reading alot of the information in this newsgroup and finding another person with exactly the same problem, and trying several of the fixes recommended, I am at a loss on how to correct my problem. So far: Apache 1.3.12-25 installed by rpm MySQL-Max-3.23.46 installed by rpm Built PHP4 with ./configure --with-mysql=/opt/bin/mysql-max-3.23.46 --with-apxs and verifying that httpd.conf has the AddType application.... line, and when I start the server I get: [andrew@fremont local]# httpd start Syntax error on line 912 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp4.so into server: undefined symbol: uncompress Line 912 from httpd.conf file: LoadModule php4_module /usr/lib/apache/libphp4.so - the path to the module is correct. Following recommendation in some other posting, I ran: [andrew@fremont bin]$ ldd -r /usr/lib/apache/libphp4.so libdl.so.2 => /lib/libdl.so.2 (0x4013b000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x4013e000) libresolv.so.2 => /lib/libresolv.so.2 (0x4016b000) libpam.so.0 => /lib/libpam.so.0 (0x4017d000) libm.so.6 => /lib/libm.so.6 (0x40185000) libnsl.so.1 => /lib/libnsl.so.1 (0x401a4000) libc.so.6 => /lib/libc.so.6 (0x401bc000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) undefined symbol: uncompress (/usr/lib/apache/libphp4.so) undefined symbol: compress (/usr/lib/apache/libphp4.so) undefined symbol: ap_block_alarms (/usr/lib/apache/libphp4.so) undefined symbol: ap_unblock_alarms (/usr/lib/apache/libphp4.so) undefined symbol: ap_user_id (/usr/lib/apache/libphp4.so) undefined symbol: ap_server_root (/usr/lib/apache/libphp4.so) undefined symbol: ap_group_id (/usr/lib/apache/libphp4.so) undefined symbol: ap_user_name (/usr/lib/apache/libphp4.so) undefined symbol: top_module (/usr/lib/apache/libphp4.so) undefined symbol: ap_max_requests_per_child (/usr/lib/apache/libphp4.so) undefined symbol: ap_table_get (/usr/lib/apache/libphp4.so) undefined symbol: ap_update_mtime (/usr/lib/apache/libphp4.so) undefined symbol: ap_kill_timeout (/usr/lib/apache/libphp4.so) undefined symbol: ap_uudecode (/usr/lib/apache/libphp4.so) undefined symbol: ap_setup_client_block (/usr/lib/apache/libphp4.so) undefined symbol: ap_add_cgi_vars (/usr/lib/apache/libphp4.so) undefined symbol: ap_getword (/usr/lib/apache/libphp4.so) undefined symbol: ap_getword_nulls_nc (/usr/lib/apache/libphp4.so) undefined symbol: ap_destroy_sub_req (/usr/lib/apache/libphp4.so) undefined symbol: ap_pstrdup (/usr/lib/apache/libphp4.so) undefined symbol: ap_log_error (/usr/lib/apache/libphp4.so) undefined symbol: ap_table_add (/usr/lib/apache/libphp4.so) undefined symbol: ap_sub_req_lookup_uri (/usr/lib/apache/libphp4.so) undefined symbol: ap_run_sub_req (/usr/lib/apache/libphp4.so) undefined symbol: ap_register_cleanup (/usr/lib/apache/libphp4.so) undefined symbol: ap_signal (/usr/lib/apache/libphp4.so) undefined symbol: ap_send_http_header (/usr/lib/apache/libphp4.so) undefined symbol: ap_block_alarms (/usr/lib/apache/libphp4.so) undefined symbol: ap_child_terminate (/usr/lib/apache/libphp4.so) undefined symbol: ap_set_etag (/usr/lib/apache/libphp4.so) undefined symbol: ap_rwrite (/usr/lib/apache/libphp4.so) undefined symbol: ap_table_set (/usr/lib/apache/libphp4.so) undefined symbol: ap_get_client_block (/usr/lib/apache/libphp4.so) undefined symbol: ap_add_version_component (/usr/lib/apache/libphp4.so) undefined symbol: ap_hard_timeout (/usr/lib/apache/libphp4.so) undefined symbol: ap_rflush (/usr/lib/apache/libphp4.so) undefined symbol: ap_set_last_modified (/usr/lib/apache/libphp4.so) undefined symbol: ap_reset_timeout (/usr/lib/apache/libphp4.so) undefined symbol: ap_unblock_alarms (/usr/lib/apache/libphp4.so) undefined symbol: ap_add_common_vars (/usr/lib/apache/libphp4.so) So what is the problem, as it has been indicated that it is related to MySQL, and what is my next step to fix the problem? Any assistance is appreciated. Andrew Schoenherr -- 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]