Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No success on RedHat 8.0 apache 2


boydo

Recommended Posts

Installed successfully on IIS, but tried several times (manual and script install) on Redhat 8.0 with apache 2.

 

Just get blank screen, with no error messages/logs anywhere.

 

PHP works fine. Checked with phpinfo();

Mysql works fine. Can log on with root/no password.

Able to create catalog database with mysqladmin no problem

 

Page displays blank!

 

Is there a problem with apache configuration?

 

What are the typical settings in php.ini that should work with oscommerce?

 

Thanks very much.

Link to comment
Share on other sites

1.) install the php-mysql package from redhat if

/usr/lib/php4/mysql.so file is not present

 

2.) ensure that the following line in /etc/php.ini (line #498 or thereabouts) is NOT commented:

extension=mysql.so

 

the default was for it to be:

;extension=mysql.so // i.e., commented out

 

I was then able to do a:

mysql_connect("localhost", ...)

successfully; "localhost" is set to 127.0.0.1 in /etc/hosts in the usual way

 

Note that you do need to stop and retart the httpd service after making any changes to php.ini, since the PHP module in Apache appears to read that .ini file one time at start-up.

 

Your installation will then just work fine.

 

good luck

 

Axel Zimmermann

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...