Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-07-2011, 01:46 PM   #1
LQ Newbie
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
how to write c libs to php

I need to use a lib developed by me in c in my php app
but i don't now how. I will use it in Linux.
Old 03-07-2011, 03:11 PM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
Can you please elaborate more what you mean by this?

Old 03-07-2011, 05:11 PM   #3
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Maybe you will be interested with PECL extensions If not, you can write wrapper to your library function as executable file and execute it from PHP by "system()" or other command.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a php extension? sneakyimp Programming 2 07-22-2010 10:17 PM
How to write a shopping cart in PHP resetreset Programming 4 02-02-2010 03:08 AM
link-time libs need to be run0time libs says curl's make install UniquelyAm Linux - Software 0 06-09-2007 01:40 AM
How can I write this sing (') in my php script? ice99 Programming 5 12-04-2006 06:43 AM
php won't write in mysql database!! Boby Programming 5 04-26-2004 04:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration