Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems setting up osCommerce


GCasper

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...