Am using XAMPP web server, CakePHP and PHP 5.3.1 in Macbook Pro device. Whenever am trying to run console feature of cakePHP through bash cli, I get a PHP warning message which is located at the end of this question. To overcome this, I did some research on Google and ended up with reinstalling CakePHP and XAMPP and yet the same PHP warning appears.
Lastly, I was told that I have an incompatibility issue as some files are x86 and others are x64! The suggestion to that was that I need to recompile some file which I sat wrongly and make them compatible. As far as my knowledge goes as beginner developer, applying the suggested solution in order to determine whether it is the right solution seems quite unclear ; particularly, in terms of the exact steps I should follow.
Therefore, I would kindly seek advices and guidance on whether the last diagnoses of the issue is the right or not? if it is right, It would be appreciated to state the step in accomplishing this.If it is not, I would be grateful to be know the actual problem and how to overcome it
the error message that appears in bash is as follow:
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/ming.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/ming.so, 9): no suitable image found.
Did find:/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/ming.so:
no matching architecture in universal wrapper in Unknown on line 0
this error message is repeated 24 times, each with the same message stated above, but with a different name of the php extensions, which are:
- ming.so
- bz2.so
- curl.so
- exif.so
- gd.so
- imap.so
- ldap.so
- mbstring.so
- mysql.so
- mysqli.so
- pdo_mysql.so
- pdo_pgsql.so
- sqlite3.so
- pdo_sqlite.so
- pgsql.so
- shmop.so
- snmp.so
- soap.so
- sockets.so
- sqlite.so
- xmlrpc.so
- xsl.so
- zip.so
- zlib.so