I have a nice preinstalled apache on redhat 7.0 with PHP enabled and working smoothly. The MySQL modules are installed as well, and I assumed working, until I actually tested it.

phpinfo reveals that the binary is running with --without-mysql for some unknown reason.

now, since I don't have the source, I'm stuck with this rpm. I also don't have the source for apache. it's all running so well, I hate to scrap it and start over.

These are the rpms I have:
php-4.0.4pl1-3
php-mysql4.01pl2-9
(hope that's not trouble)

Please tell me there's a way to fiddle with rpm to just run php with mysql support!

if there is no way to configure rpm installs, i will just scrap the rpm.

    i haven't played around with the php rpms, but i know you can install the 4 mysql rpms, the apache-devel rpm, then compile php.

    download the src from www.php.net. then:

    "gunzip .gz;tar -xvf .tar;cd php-4.0.4pl1;./configure --with-mysql --with-gd --with-imagick --with-jpeg-dir --with-png-dir;make;make install;"

      Write a Reply...