GCasper Posted July 5, 2003 Posted July 5, 2003 Hi! I'm trying to set up osCommerce, following the documentation, and I've run into the following error message when I attempt to start apache: [root@localhost root]# /usr/local/apache/bin/apachectl startssl 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: mysql_drop_db /usr/local/apache/bin/apachectl startssl: httpd could not be started I'm on a RedHat 9.0 machine, running 2.4.20-8 of the Linux Kernel, and I'm using the following versions of things, which is as close as I could get to the versions listed in the documentation: apache_1.3.19 mod_ssl-2.8.1-1.3.19 mysql-standard-4.0.13-pc-linux-i686 openssl-0.9.6i oscommerce-2.2ms1 perl-5.8.0 php-4.0.4pl1 ZendOptimizer-1.0.0-PHP_4.0.4-Linux_glibc21-i386 zlib-1.1.3 Initially, I was getting the same error I am getting now (undefined symbol:), but instead of referring to mysql_drop_db, it referred to compress. I googled a bit, and managed to elminate that by installing zlib-1.1.3 and running the configure for php using "--with-zlib". I initially tried setting up OS commerce with newer versions of apache and such, but it proved a disaster... Any thoughts?
Guest Posted July 5, 2003 Posted July 5, 2003 I personally did NOT set yp my site, but I'm customizing it for my needs, which is enough work, There are hosting servers with oscommerce already set up, if you need one , pm me
Daemonj Posted July 5, 2003 Posted July 5, 2003 GCasper, Your server environment is very old and should be updated. For example: Apache should be at least 1.3.27 if not v2.x PHP should be at least 4.3.0 if not the latest. MySQL should be at least 3.23.56 if not the latest. Perl does not matter Not sure about the rest. Get your sever updated and then let me know what is happening. ;) "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
GCasper Posted July 5, 2003 Author Posted July 5, 2003 Thanks, Daemonj! It seems to be working now, or at the very least, we're at the /configure/install/index.php page. :) For the record, the versions of programs we ended up using are: apache_1.3.27 mod_ssl-2.8.14-1.3.27 mysql-standard-4.0.13-pc-linux-i686 openssl-0.9.6i oscommerce-2.2ms1 php-4.3.2 ZendOptimizer-1.0.0-PHP_4.0.4-Linux_glibc21-i386 Thanks again!
Daemonj Posted July 6, 2003 Posted July 6, 2003 I am glad to have been of help and happy to hear that you have it working. I suggest upgrading your MySQL when you get a chance. There were a lot of bugs fixed and performance was significantly improved. ;) "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
GCasper Posted July 6, 2003 Author Posted July 6, 2003 Hmm, looking at MySQL's site it looks like 4.0.13, which is what we use, is the current production version. Granted this is still a test setup for us, but do you really think we should switch to 4.1.0, which is still in alpha?
Daemonj Posted July 6, 2003 Posted July 6, 2003 Hmm, looking at MySQL's site it looks like 4.0.13, which is what we use, is the current production version. Granted this is still a test setup for us, but do you really think we should switch to 4.1.0, which is still in alpha? Please do not mind me. I must have been cross-eyed when reading your post because I thought it said 3.0.13 was your version. :shock: Sorry about the misread. :oops: "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.