« Cisco PIX Shun | Home | Backtrack CD and KVPN »
PHP Extensions
By klard | July 5, 2006
I had a problem installing wordpress on another box and I wanted to describe what the problem was how I diagnosed it and what I did to fix it. The setup….FreeBSD, PHP 5.1.2, Apache. I moved wordpress to the box and setup the config file but every time I went to do the install I got a blank page. So after a bit of fussing around I checked the httpd-error.log on the box to see if I could understand what the problem was. In the error log I found Unable to load dynamic library ‘/usr/local/lib/php/xxx/pcre.so’. I did a pkg_info on the box and noticed that the PHP pcre extension did not show up. I decided to try and reinstall the php-extensions from ports and see if that would fix it, with no joy. I then tried to uninstall PHP 5 as well as the extensions, because I noticed that doing a phpinfo() showed I had PHP 5.1.1 installed and pkg_info showed I had 5.1.4…..not good. Well that did not fix the problem either. So as a last resort I copied the pcre.so file from another box and copied it up to the right folder. A restart of Apache and now the file loads and wordpress was able to be installed…….what a mess. I will post back when I go through the proper steps to actually fix it the right way.
Topics: PHP |

