Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

[PHP] Virtual webhosting using Apache (1.3.12)/PHP (4.0.1pl2)/iodbc (3.0.50) doesn't seem to work From: Alex Buell (alex.buell <email protected>)
Date: 07/11/00

First a little background.

Currently we have a server that hosts a number of virtual web sites on
it, all using the same static IP, using Apache 1.3.12, on Redhat 6.2.

We recently decided to use PHP4 with iodbc 3.0.50 driver with our web
sites to enable us to get data from our NT based MS SQL server onto
our virtual web sites.

I built a small demonstration web site using Apache/PHP4/iodbc, all
works very well, no problems, we can easily get at our data.

When the time came to put it on the virtual webhosting server, we
installed PHP4/iodbc on it. We tested the database stuff, that works
fine, no problems.

However, when we tried to start up Apache, it would not even come up
at all! I did some checking and found that

A) With a single website, the whole thing works just fine.
B) Commenting out all but two websites, the whole thing works fine.
C) Recompiling PHP4 without the iodbc stuff and installing it,
everything came up OK but we couldn't do any database stuff.

I thought it might be a resource problem - I increased the file
descriptors to 16,384. Did not make any difference!

Anyone know any better? If you need more details, I'd be happy to
supply if required. We're desperate to get this up and running! :o(

Cheers,
Alex.

-- 
No personal experience.

http://www.tahallah.clara.co.uk

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>