logo       

Compiling Php on Windows: msg#00447

Subject: Compiling Php on Windows
Hello,
    
 I want to compile php on windows 95 using Microsoft Visual C++ 6.0 because 
many extensions like ldap and imap are not available in the download. I 
followed the instructions provided in the manual which are inadequate and 
doesn't provide detailed instructions.

 First of all it asks to download cgywin but I was able to compile php4ts.dll 
in D:\php-4.2.0\win32\php4ts.dsw after selecting php4dllts.dll - Win32 Release 
Dll without using cygwin. Only thing needed to compile this was windows 
specific download http://www.php.net/extra/win32build.zip (which included bison 
and flex) and http://www.php.net/extra/bindlib_w32.zip. So when and why cygwin 
is needed to be downloaded.

 Firstly when compiling exe version bison expects bison.simple to be present in 
c:\usr\local\lib, I don't know why. I was able to proceed with compilation only 
after creating this directory and copying bison.simple form windows specific 
download win32build/bin directory. Is there any way to correct this?

 Secondly many of the extension libraries and header files and other files in 
win32build download are very old. So, it won't provide new functionality 
provided by new versions of many software libraries like mysql, gd, freetype, 
ldap and db etc. So how can I link php extensions against new libraries of 
these software which I have compiled myself. Because php also needs some other 
files from this win32build directory but I don't know which files. So when I 
include win32build/lib and win32build/include directories to VC++ include and 
lib directories all files are added, including gd, ldap libraries etc.

 So I want to know which files are needed by core php from win32build (windows 
specific download) so that I can remove other includes and libs from this 
directory which are needed by extensions only. Or Can I include new libraries 
and includes of gd, ldap, mysql etc to this win32build/lib and 
win32build/include directory and overwrite old libraries and includes?

 Also so many different workspaces and projects are provided but I don't know 
which one is needed to be selected and complied to get php binaries which are 
available on php.net and included in windows binary download. For example in 
D:\php-4.2.0\win32 4 there are many projects and 4 workspaces. These are 
php_modules.dsw, php4.dsw, php4dll.dsw and php4ts.dsw. Each one of these 
include many projects. So which I should use and set as active configuration to 
compile php Release Version. What is the difference between phpdllts.dll and 
phpdllnts.dll What _Ts in project name mean.
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe