From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Description of problem: PHP doesn't understand the mysql functions Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Install Skipjack 2. load up a phpinfo() 3.no mysql support Actual Results: Here is a list of the php rpms i have installed. php-4.1.2-3 php-mysql-4.1.2-3 asp2php-0.76.2-1 asp2php-gtk-0.76.2-1 php-ldap-4.1.2-3 php-imap-4.1.2-3 php-devel-4.1.2-3 Expected Results: mysql functionality Additional info:
Ok I narrowed it down to the /etc/php.ini not having the extension=mysql.so line. I added that line and restarted the webserver, now it has mysql support.
Humm From the spec file... %post mysql if %{__grep} -q "extension=mysql.so" %{_sysconfdir}/php.ini; then %{__perl} -pi -e "s|^;extension=mysql.so|extension=mysql.so|" %{ _sysconfdir}/php.ini else %{__perl} -pi -e "s|^;extension=php_mysql.dll|;extension=php_mysql .dll\nextension=mysql.so|" %{_sysconfdir}/php.ini fi I know this works so I can only conclude that your initial php.ini file never had an extension entry for mysql in it in the first place. The supplied php.ini file DOES have it but it's policy NOT to overwrite the existing php.ini. check php.ini.rpmnew Closing. Phil =--=