hello,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</bon 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</bon 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 :) 4 1539
On 10 Nov 2006 09:06:13 -0800, "ya******@gmail.com" <ya******@gmail.comwrote:
>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
What about running "configure"?
<b>Warning</b>: Unable to load dynamic library '/usr/lib/php4/myext.PHP_SHLIB_SUFFIX' -
Looks to me like PHP_SHLIB_SUFFIX is one of the things that 'configure' would
have filled in.
Also, don't multipost - crosspost instead, if you want to get to multiple
relevant groups.
--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
en
i did configure
and it didnot fill the PHP_SHLIB_SUFFIX
about the multipost thing,i am sorry~~~~~
but how to crosspost-___-b
"Andy Hassall дµÀ£º
"
On 10 Nov 2006 09:06:13 -0800, "ya******@gmail.com" <ya******@gmail.comwrote:
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
What about running "configure"?
<b>Warning</b>: Unable to load dynamic library '/usr/lib/php4/myext.PHP_SHLIB_SUFFIX' -
Looks to me like PHP_SHLIB_SUFFIX is one of the things that 'configure' would
have filled in.
Also, don't multipost - crosspost instead, if you want to get to multiple
relevant groups.
--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
On 10 Nov 2006 10:09:36 -0800, "ya******@gmail.com" <ya******@gmail.comwrote:
>i did configure and it didnot fill the PHP_SHLIB_SUFFIX
Perhaps if you post all the steps you went through?
Before I sent my post I tried creating a skeleton extension and didn't have
any problems, although this was with PHP 5.2.0 and not the older version you're
running.
>about the multipost thing,i am sorry~~~~~ but how to crosspost-___-b
Post one message with several newsgroup names separated by commas in the
"Newsgroups" field in your newsgroup software.
--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
1.download the php-4.3.4.tar.gz
2.tar -zxvf php-4.3.4.tar.gz
3 cd php-4.3.4
4../configure --prefix=/usr/local/php
5 make;make install
6 cd ext
7 ./ext_skel --withname=myext
8.cd myext
9 vi config.m4
10 cp ../../script/phpize .
11 chmod +x phpize
12 ./phpize
13 ./configure
14 make
15 make install
16 php myext.php
and it reurns the error info
"Andy Hassall дµÀ£º
"
On 10 Nov 2006 10:09:36 -0800, "ya******@gmail.com" <ya******@gmail.comwrote:
i did configure
and it didnot fill the PHP_SHLIB_SUFFIX
Perhaps if you post all the steps you went through?
Before I sent my post I tried creating a skeleton extension and didn't have
any problems, although this was with PHP 5.2.0 and not the older version you're
running.
about the multipost thing,i am sorry~~~~~
but how to crosspost-___-b
Post one message with several newsgroup names separated by commas in the
"Newsgroups" field in your newsgroup software.
--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marco Bubke |
last post by:
Hi
I have read some mail on the dev mailing list about PEP 318 and find the new
Syntax really ugly.
def foo(x, y): pass
I call this foo(1, 2), this isn't really intuitive to me!
Also I...
|
by: fripper |
last post by:
I posted this problem a couple of days ago but felt I might have better luck
re-stating the problem.
Apparently I messed up IIS (v. 5) somehow because I am suddenly unable to
load web forms! A...
|
by: trexim |
last post by:
Hi,
I am trying to create a Web Reference for CSTA using the URL
http://www.ecma-international.org/standards/ecma-348/csta-wsdl/csta-wsdl-all-operations.wsdl
Visual .Net complains that:
"...
|
by: Anthony |
last post by:
All,
I have a web app that uses a Web Service from an external provider. The
app works while hosted on my local dev machine. I used the "Copy Project"
option from within the IDE to deploy to...
|
by: musosdev |
last post by:
Hi guys
I'm trying to migrate to VS2005... I've managed to do that, but realised I'd
opened my web projects as file projects, and I'm getting the error about
network BIOS command limit.
...
|
by: Anando |
last post by:
Hi,
I have a linear singly linked list of 100 elements. I would like to
prune it such that only user specified elements
(say only the elements 1, 13, 78 and 100 of the original list) survive...
|
by: Florian Demmer |
last post by:
Hi!
I am doing a from source installation of Python 2.5 on some old Debian
machine. As the target directoy I want /opt/somename so i added it to
the configure like so:
../configure...
|
by: Event Horizon |
last post by:
Hi,
I'm trying to add an simple upload applet to shopping cart script. My new
applet form sends all needed post fields ( quantity, product, etc... )
but the "file" post field is hardcoded in...
|
by: vedrandekovic |
last post by:
Hi,
I have already install Microsoft visual studio .NET 2003 and MinGw,
when I try to build a extension:
python my_extension_setup.py build ( or install ) , I get an error:
LINK : fatal...
|
by: Poggs |
last post by:
Hi everyone,
I used the pattern for Shell Extensions for Context menu from Dino
Esposito's article. However I implemented it in more than one application
and it seems that those two right click...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |