Thread: Help with PHP extension compilation

  1. #1
    Registered User
    Join Date
    Oct 2005

    Help with PHP extension compilation

    Good Day all,
    I need some help. Im trying to compile a .dll for php based on pdflib-lite source.

    Basically I put the pdflib-lit source into php4.4.0's source tree. Then I compile the dll. I get an error indicating that MSVC cant find 'php5ts.lib'.
    I think somthing fishey is happening here as It is my understanding that php5ts.lib is a library associated with php5.x.x. Why would MSVC be looking for this library? Any suggestions?


  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Probably because your DLL requires PHP 5.

    Try linking to the librar(y|ies) that MSVC can't find.

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell

    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PHP installation
    By ssharish2005 in forum Tech Board
    Replies: 8
    Last Post: 11-23-2007, 09:42 PM
  2. opening php files in IE6
    By Micko in forum Tech Board
    Replies: 7
    Last Post: 03-06-2006, 01:16 PM
  3. PHP on my Computer!
    By xxxrugby in forum Tech Board
    Replies: 4
    Last Post: 03-15-2005, 09:34 AM
  4. PHP 4.3.0 released
    By codingmaster in forum A Brief History of
    Replies: 5
    Last Post: 12-30-2002, 07:40 AM
  5. get file extension
    By Nada in forum C Programming
    Replies: 3
    Last Post: 12-22-2001, 09:12 AM