Title: Problem after Upgrading PHP
Last modified: August 18, 2016

---

# Problem after Upgrading PHP

 *  [riddler](https://wordpress.org/support/users/riddler/)
 * (@riddler)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/problem-after-upgrading-php/)
 * This (presumably) isn’t really a WordPress problem, but I thought I might get
   a better/quicker response here than elsewhere. I had WP up and working fine with
   apache_mod_php4 (4.3.6, I believe it was) and mysql 3.23, but then got the bright
   idea to upgrade mod_php4 to the latest version (4.3.10.21). After doing so and
   restarting apache, I now get a message from WordPress stating that my php installation
   appears to be missing the mysql required to run it. I restarted the mysql server,
   and nothing. I upgraded it to the very latest 3.23, and nothing. Where did I 
   screw up? This is all being done under FreeBSD v4.9, using the ports collection.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [mattme](https://wordpress.org/support/users/mattme/)
 * (@mattme)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/problem-after-upgrading-php/#post-149590)
 * Did you keep your old php.ini and was MySQL installed to same dir?
 * You need to uncomment the following line in php.ini
    extension=php_mysql.dll 
   and that file (comes with your MySQL installation in /php/ext/
 * check you have enabled mysql and not msql or mysqll or anything.
 *  [adsworth](https://wordpress.org/support/users/adsworth/)
 * (@adsworth)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/problem-after-upgrading-php/#post-149601)
 * Hi Riddler,
 * as far as I know under FreeBSD the php.ini is in /usr/local/etc somewhere and
   the extension is extension=php_mysql.so.
 * Regards
    adsworth
 *  Thread Starter [riddler](https://wordpress.org/support/users/riddler/)
 * (@riddler)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/problem-after-upgrading-php/#post-149639)
 * I got it sorted out. It turns out there had been some changes in the way the 
   php4 port was installed, and extensions now have to be installed separately, 
   from another port. If I had been paying any attention at all at the time, I probably
   would’ve figured this out, but I wasn’t and I didn’t. I appreciate the tips.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem after Upgrading PHP’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 3 replies
 * 3 participants
 * Last reply from: [riddler](https://wordpress.org/support/users/riddler/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/problem-after-upgrading-php/#post-149639)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
