I’m using XAMPP (latest version) on OS 10.6.2, that’s bundled with PHP 5.3.0
I installed the XAMPP development package for the PHP source/header files and ran the following command from Terminal-
sudo ./pecl install uploadprogress
Everything appeared to work fine. My php.ini file (yup – I checked it’s the same one being loaded in phpinfo()) has the extension=uploadprogress.so in there fine, and I restarted apache via:
sudo ./apachectl restart
… under my xamppfiles/bin directory.
The issue is, the uploadprogress extension is not shown on phpinfo().
I can’t think what I’m missing. I didn’t get an Apache/PHP restart errors stating the extension couldn’t be loaded, or is incompatible or anything.
Am I missing something obvious? Thanks in advance.
UPDATE–
I fixed the problem. It was the Snow Leopard 64bit compile flags that needed adding to the configure line!
For the information of anyone who finds themselves in this scenario, these are the exact steps performed-
Then edit /Applications/XAMPP/xamppfiles/etc/php.ini and make sure the following is added somewhere:
Restart Apache and voila, it worked. Yay.