Ok - so I'm setting up Linux Apache Mysql and php. I've done it on IIS a fewtimes but this is my first Linux version - redhat 7.2.
rpm -qa shows the appropriate packages all installed:
mysql 3.23.41-1
mysql-server 3.23.41-1
php 4.1.2-7.2.6
php_mysql 4.1.2-7.2.6
apache 1.3.27-3.7.2
Anyway - so php isn't recognizing mysql.
see link - test.php
So I vi the php.ini
- added extension=php_mysql.so
- checked the extension_dir = /usr/lib/php4
saved and then verfied that php_mysql.so was actually in the /usr/lib/php4 directory - (it was)
verified that php.ini was in the proper directory /etc and that the changes I made were saved.
then stopped and restarted Apache - still no joy ?
restarted mysql - no joy
stopped apache - restarted mysql - started apache - no joy
rebooted machine - no joy
ran mysql admin and created a test db from a command line just for fun - that works fine - restarted apache again - still no joy
I'm stuck - stumped - beffuddled and confused.
help help help!