You are here: problem of php extensions « All PHP « IT news, forums, messages
problem of php extensions

Posted by yangsuli@gmail.com on 11/10/06 17:03

jello,everyone

i want to make my php extensions work.

first i run the ext_skel to create a new module named myext.
ok ,the i have the mycxt dir,
then i modifide the m4 file and ./phpize, make ,make install
it all works fine
but when i test the module by runining "php myext.php"
it returns this:

X-Powered-By: PHP/4.2.2
Content-type: text/html

<br />
<b>Warning</b>: Unable to load dynamic library
'/usr/lib/php4/myext.PHP_SHLIB_SUFFIX' -
/usr/lib/php4/myext.PHP_SHLIB_SUFFIX: cannot open shared object file:
No such file or directory in
<b>/home/backup/php-4.3.4/ext/myext/myext.php</b> on line <b>3</b><br
/>
PHP_SHLIB_SUFFIXFunctions available in the test extension:<br>
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in
<b>/home/backup/php-4.3.4/ext/myext/myext.php</b> on line <b>9</b><br
/>
<br>
Module myext is not compiled into PHP

all the other php code works fine.
any one can tlell me how to solve this ploblem?
any suggestion is appreciated.
thanks & kissssss :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация