Compile Oracle Support On Linux For Windows
I'm trying to help a local non-profit organization tie in their online
credit card donations to their existing vendor software, which uses
Oracle 8i (8.1.7) on windows. Does anyone have any pointers on 1) how
to compile oracle support into PHP, not having a linux version of
Oracle, and 2) creating remote connections to Oracle.
View Complete Forum Thread with Replies
Related Forum Messages:
Compile PHP5 With Oracle Support
I am trying to compile PHP5 with Oracle Support on to a Redhat Enterprise server. I have downloaded the source code for PHP 5.0.5 from the php.net website. What I'd like to know is what options do I need to add to the compile command to enable the oracle support in PHP5? Would I need to install any other programs or libraries such as an Oracle client to get the PHP5 install to support Oracle? The oracle database that I want to connect to from PHP5 is on a remote server and not on the same server as my PHP install.
View Replies !
How To Compile PHP With GD Support?
I am tryin to compile PHP with GD support: # cd php-4.3.11 # ./configure --with-gd=/usr/local/src/gd-2.0.33/ --with-png-dir=/usr/local/src/libpng-1.2.8/ --with-zlib-dir=/usr/local/src/zlib/ --with-jpeg-dir=/usr/local/src/jpeg-6b/ .... checking for GD support... yes checking for the location of libpng... /usr/local/src/libpng-1.2.8/ If configure fails try --with-jpeg-dir=<DIR> configure: error: libpng.(a|so) not found. why libpng.(a|so) not found ? # ls -l /usr/local/src/libpng-1.2.8/libpng.a -rw-r--r-- 1 root wheel 160448 May 31 12:48 /usr/local/src/libpng-1.2.8/libpng.a What is my mistake? Where to read about correct way for installing php + gd + libjpeg + libpng ?
View Replies !
Compile Php With Java Support
Does anybody have experience with compiling php with java support on Mac OS X? I called './configure --with-java' and then 'sudo make install'. Problem is, compiling stops with an error message, because it can't find some files necessary for java. I know that you can call configure with the option --with-java='jdk_install_directory'. Maybe I gave it the wrong directory can anybody tell me, which one to use for Mac OS X? However, it seems to me (I don't have much experience) that the directory structure of the JDK on Mac OS X is different from other platforms (different from how the Makefile expects it to be).
View Replies !
Compile Php With Curl SSL Support
I already installed php source, win32build and bindlib_32 on my computer. I tested all with MV C++. It worked. +--C:work | | | +--bindlib_w32 | | | | | +--arpa | | | | | +--conf | | | | | +--... | | | +--php-5.x.x | | | | | +--build | | | | | +--... | | | | | +--win32 | | | | | +--... | | | +--win32build | | | | | +--bin | | | | | +--include | | | | | +--lib I downloaded curl zip file from curl site. I got this instruction from php site about how to compile php with curl. here "To use PHP's CURL support you must also compile PHP --with-curl[=DIR] where DIR is the location of the directory containing the lib and include directories. In the "include" directory there should be a folder named "curl" which should contain the easy.h and curl.h files. There should be a file named libcurl.a located in the "lib" directory. Beginning with PHP 4.3.0 you can configure PHP to use CURL for URL streams --with-curlwrappers. "
View Replies !
PHP And Oracle Support
I need to access an Oracle DB from some PHP pages, so I need to compile my PHP with Oracle support. So, the point is: Do I have to download the whole 1.7GB stuff? Is there anything containing only headers ald libs needed to compile? Any other solution? Or am I just on the wrong path?
View Replies !
Built-in Oracle Support
I was just confused whether PHP has built in support for Oracle. If my database server is a windows 2000 server with oracle 8 installed, How can i access it from a different webserver running solaris and apache. How I will have to configure PHP on solaris to connect to database on win2000.
View Replies !
Cannot Compile Php 5.1.6 Under Windows XP Using Cygwin
I'm trying to compile PHP v5.1.6 under Windows XP using cygwin. I get the following error when I run ./configure. Can anyone help please? $ ./configure loading cache ./config.cache checking for Cygwin environment... yes checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /usr/bin/sed checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking whether ln -s works... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for re2c... no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP pa rsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none). checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: line 3246: lex: command not found configure: error: cannot find output from lex; giving up /cygdrive/c/php-5.1.6 $
View Replies !
How To Compile PHP For Windows. '--with-openssl' ?
according to this website: http://www.php.net/manual/en/ref.openssl.php "To use PHP's OpenSSL support you must also compile PHP --with-openssl[=DIR]." What does that mean? On Windows how do I compile PHP '--with-openssl[=DIR]' and what goes in where it says '[=DIR]?'
View Replies !
Compiling With Oracle Support For External Db Server?
I'm trying to compile PHP as an Apache module with Oracle-oci8 support.. and at the moment I'm not having much luck because 'configure' needs Oracle to be installed on the same machine. Unfortunately, there isn't a local copy of Oracle, and the databases I want to interact with are on another server. Are there any workarounds for this or does Oracle need to be installed on the machine I'm compiling PHP on?
View Replies !
Getting Dbx Support Working (php 4.3.11 / Linux)
I've just built 4.3.11 under linux: ./configure --with-axps --enable-dbx --with-mysql make make install ... edited apache's httpd.conf as necessary, restarted apache. Apache and php are working fine, but attempting to use any dbx functions give errors such as: "Fatal error: Call to undefined function: dbx_connect() in ..." Am I missing something else at the configure stage, or is there something in terms of include statements that I need in order to use the dbx functions? (the online manual doesn't mention that there is, however, so I'm assuming not).
View Replies !
T1lib Support On Windows
I don't normally do PHP development work on Windows but I need to port an image creation tool to Windows. So I have loaded the php_gd2.dll module for image creation support but it doesn't include the t1lib functions and the code relies on the imagepsbbox(), imagepstext() and imagepsloadfont() functions. The result from gd_info() is: array(11) { ["GD Version"]=> string(27) "bundled (2.0.28 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) } Anyone have any idea where I can get a php_gd2.dll which includes the t1lib? I can always recode the functions to use TTF fonts instead but only want to do that as a last resort.
View Replies !
IMAP Support For PHP On Windows
I have a computer I've set up as a testing server at home and I'm having a problem trying to locate the pre-compiled IMAP libraries for PHP on Windows. According to the book "PHP & MySQL Web Development by Luke Welling and Laura Thomson", I can get the Windows build of the imap libraries from http://www.php4win.de. But in going to the website, the title bar says "php4win suspended" with an empty page. The creators of IMAP, http://www.cac.washington.edu only seems to distribute the source and you have to compile it yourself, which I don't have a compiler. Anyone know where I can find it (or an older and possibly compatible build)?
View Replies !
Type Support On Windows
I want to get PHP running with GD capability that allows me to use true type fonts, preferably to generate GIFs (the US patent has expired, but GIF support isn't due back until mid-2004 due to global patents). Has anybody got experience of running this combination on a windows box (using apache).
View Replies !
Linux Or Windows
i am an experienced php programmer with almost a dozen sites to my credit, of late i've gotten onto 'c' programming on Linux and also a little bit of GUI coding using GTK+... as we all know, microsoft is in the process of releasing its .NET software, having a look at these white papers will make even the most hardcore linux enthusiast sit up and take notice..man....they are coming out with good products..... Combine this with the ease with which one may generate apps in VB..god will microsoft win finally ?? I mean that whats the scope left for Linux programmers if Microsoft is the next big thing in internet computinfg ??? also are there any Linux companies that will be able to combat this juggernaut ?? Please giv me valuable comments...is it an unwise thing to get into Linux programming when VB and VC++ would be a better option ?? Lets all not be gung-hoin our love for linux...but lets ask ourselves whats the better option ??? Well...i luv linux too but if Windows could earn me bucket loads of money...why not switch to that ??
View Replies !
Windows PHP VS LINUX PHP ?
My code works fine on linux, but if i switched to windows, it messes up. I see some error messages, all msgs have something to do with undefined constant. I use Apace 1.3.14, php 4.0.6 loaded as module, and I think my mysql is 3.22.21, I'm not quiet sure. Running WindowsME.
View Replies !
Windows Or Linux
I'm getting a host soon, and I'm wondering if it makes a huge difference, if at all, to develop on one OS or the other. Right now I'm using Windows XP but my computer is partitioned and I can use Linux.
View Replies !
Windows To Linux
I developed my php codes in windows based wamp, and now I was told to move to linux server. I think php by itself should not be a problem, but what about handling files is it the same as for windows. Like c:parentlablaimage.jpg.
View Replies !
Does MyAdmin Support Windows Integrated Authentication
I have installed PHP 4.x and PHPMyAdmin and all works. But I cannot get PHPMyAdmin to work with IIS and Windows Integrated Authentication. Does PhpMyAdmin work with IIS Windows Integrated Authentication or only Anonymous Access. I have searched but cannot find an answer. It is using auth_type http in the config.inc.php file.
View Replies !
Difference Between PHP On Windows And Linux
I just got promoted at work from sales to web developer. We have a ton of projects planned including a new CRM from which a lot of our internal tools will be based. My boss despises Microsoft and we primarily use Corel Office products including Paradox for our current CRM. He's been developing in it for years and can make it dance. However, it is straining under the current load and it is clear that its life expectancy is quickly coming to an end. We will be phasing that out as we build web-based tools but it will be around for a while in some capacity as our migration away from it will be a gradual one. For a while I'm sure the two will be used in tandom as we continue to develop our infrastructure and transfer functionality from it to a new CRM. I will be developing in PHP/MySQL. I also will be using some Perl for cron jobs and other tasks. There will be a lot client-side programming (shouldn't be a factor for this discussion) but all of the apps we have planned will be database driven and there will be over 1 million records (probably closer to 1.25 million) when we actually deploy our tools. Anyway, I was debating which platform I should use to build our tools on as my boss prefers Windows as he is completely Linux clueless. However, I have only ever developed on Linux/Unix platforms. Whatever I chose now will affect everything I build from here on out so I want to make the right choice the first time. So my questions are as follows: 1) What are the main differences running PHP (and MySQL for that matter) on Windows versus Linux? Any benefits or pitfalls? Missing functionality? 2) Should I install Apache or use IIS? 3) Our CRM will be generating a ton of documents which will need to be printed. Is this easier on Windows or Linux? I've heard that a lot of developers use Crystal Reports to generate documents. We do have Version 9 if that matters (although I am aware it only works on Windows). I also have little idea how printing is done so any input on that would be wonderful. 4) What would you chose and why?
View Replies !
Includes On Linux And Windows
I have a program that performs an include("/home/xyz/includes/common.php"); I do this so the include file (which contains database login information) is outside of the web root directory and (hopefully) invisible to anyone who might get into the website. On my home PC running XP and Apache, my PHP.ini include_path is set to ".;d:xamppincludes" and under this directory I have the directories "homexyzincludes". This worked fine when running on my old system using PHP 4.2.2. I recently upgraded to the latest version of Xampp running PHP 5.0.5 and I now cannot access the include files on my XP system. If I change the include to remove the leading "/", it works fine - but will not work on Linux. I understand that this used to work on older version of Win32 PHP but has been changed. Is there a way to issue an include that will work on both Linux and XP under the more recent versions of PHP?
View Replies !
Windows Server To Linux
I have the code below which worked fine when I was using it on my windows server. However I had a few problem with the windows server then I had to switch to a Linux based server. Once the switch was completed I started having problems with a number of my codes which worked fine previously. I have managed to solve quiet a few of them with the exeption of this one which I cant figure out and was hoping you could help. Code:
View Replies !
How To Run Windows .exe In Linux Environment
My problem is, as stated, how i want to run a windows .exe in Linux Environment? I has a task, which require to use a windows .exe to generate a result file, and until now, i has success on generate the result file (i do it on windows XP environment using command prompt). Now, i want to embed this functionality (i.e generate result file) into my website. I am using php, and i think there should be no problem if the environment is Windows Server 2003 or others windows server environment (just using exec() provided in php will work, correct me if i am wrong). But unfortunately, i am using Linux as OS environment. Code:
View Replies !
Specifying Paths In Linux/Windows
I develop my scripts on a Windows platform but run the webs on a Linux server. I'm new to PHP and admit that I get in an awful mess when trying to specify paths in general scripts that might be called by pages in various folders. I would like to use a configuration file in each script that will extract/set the root path for the site, depending upon whether it is on the Windows platform or on Linux.
View Replies !
Portability Of From Windows To Linux
I am new to the open source environment. We have to develop a web application using Apache/PHP/MySQL on Windows (A component that we want to use is available only on Windows for now). Later when the component is available on Linux, we would like to move the code. The web application is a simple one - collects data, does some simple validations and stores in the database. I would like to know how portable the code will be. Do we need to rewrite a lot of code when we move from Windows to Linux? What are the issues I need to be aware of?
View Replies !
Windows ODBC From Linux
I want to connect to an ODBC data source on a Windows XP machine from PHP on a Linux machine (over a LAN). I assume I need to do: Code: $odb = odbc_connect("ODBCDSN", "name", "passwd") ; I don't know what format to code that ODBCDSN in order to refer to a resource on another host on the network.
View Replies !
Case Sensitive Linux And Windows.
I have 2 php setup, one 'live' and one windows for testing. But as you no windows is not case sensitive, whereas Linux is. Is there a way, (apart from switching to Linux), that i could set windows to be a bit more strict? Sometimes when developing i forget and only realize when i run the install.
View Replies !
Scripting In Linux, Development In Windows...
This isn't really a major question but I wanted someone else's view on this. I do web developement and find it a lot easier to do the designing part (colors, graphics, layout) on a windows box and to do my scripting (php,MySql) on my linux box. Now, this can be rather annoying due to booting every time I want to create a new layout since my primary OS is linux. Well, I just wanted to see what other people had to say about this.
View Replies !
Apache,MySql,PHP On Windows Vs. Linux
Crazy (possibly dumb) question here... I have a site running apache, mysql, php in a Win2K environment. Primary development is that env also. I also am setting up a linux box (old laptop), to begin playing with Linux. I'd like to set it up similiary with apache,mysql, php. If I do that, and start doing some development there (Linux box) - can I expect that when I move the php code to the windows box that it will behave similarly as it did on Linux? Anything to watch out for? I'm completely new to Linux...
View Replies !
Migration From Linux -> Windows And Errors
I moved a php script of mine over to a windows machine and im getting the following errors after the move: Notice: Undefined index: op in C:Nanoson SitesPersonalised Promotionspersonal.co.zaouwewerflogin.php on line 6 Anyone know what might cause this?
View Replies !
Windows PHP Connect Into LINUX Server
I want to built a windows php website---> connect to the linux box--->read all settings value from the .ini files->display it into the php website->user can then change the values->save the .ini file base on the user modification close the file-->for back up reason of settings, also save the values into SQL database. I also need to reboot the linux box after apply changes to the .ini. Anyone knows how to approach this problem? What do I need? Does php have a built in ssh?
View Replies !
Coding For Windows To Upload To Linux
I'm trying to remember what code I had that would work on a Linux server but not on my apache php mysql install on a Windows machine. Does anyone know of instances of this? Someone I know doesn't believe that this is the case because they believe that php is truly cross platform. I realize that for most code it does work on Windows and Linux but I think there are exceptions that need to be noted.
View Replies !
Warning: Date(): Windows Does Not Support Dates Prior To Midnight
I tried to use the date() function with the mktime(). It keeps giving warning: Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 I could use the @ to surpress the warning but I would like to know why it's happening. Take a look at this. There doesn't seem to be anything wrong with it. PHP Code:
View Replies !
[function.date]: Windows Does Not Support Dates Prior To Midnight (00:00:00)
I'm working with PHP in a Windows environment and ended up with the following message: Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:Inetpubincludecommonereken.inc.php on line 29 Whether I'm working in Windows or Linux is all the same, because I'm dealing with dates prior to the year 1700 as well. I've found the following library: http://phplens.com/phpeverywhere/adodb_date_library It replaces a number of standard php functions such as date(), but for strtotime() there's no replacement. Anybody got an efficient code solution for this?
View Replies !
Windows / Linux MySQL Script Issues
My scripts work fine on my linux box at work, but when I move em home, they still work fine but at the top of every page i get this message Warning: Cannot send session cookie - headers already sent by (output started at c:apachehtdocs ussell ealestate es_det.php:6) in c:apachehtdocs ussell ealestate es_det.php on line 9 Warning: Cannot send session cache limiter - headers already sent (output started at c:apachehtdocs ussell ealestate es_det.php:6) in c:apachehtdocs ussell ealestate es_det.php on line 9 Is there something you have to change/add in PHP scripts working with a MySQL db in windows?
View Replies !
Com Ports Windows Machines With Linux Served PHP
I built a nifty code set that took a reading from a scanner and fed it into a database... this worked great, until I found the server was Linux (Ubuntu) and the code I was using would not co-operate on that. Is there any way to open the browser and click a button, having the local machine access it's com port 1 and read data from the device connected before feeding that back to the central database?
View Replies !
Remote Linux Commands From A Windows PHP Server
I'm running a Windows webserver and I would like to use PHP to connect to my linux box (non-webserver), send it commands (change directory, run commands, create files, etc) and files, and be able to get files back that it created on the linux box. The linux machine has ssh/sftp (with password) access, so is there a way for me to connect through ssh without installing extension libraries and run commands etc? I've searched through the forums and haven't found anything that is my particular situation.
View Replies !
Timestamp Insert Issue: Windows / Linux
The DBMS can optimise for COUNT(*) in ways that it can't for COUNT(<field>) - it doesn't need to look at any fields, for example (and so uses fewer resources). If my table has a field named id that is primary and auto incrementing in MySQL, it is still better to use COUNT(*) instead of COUNT(id)? Do you also believe this is true when using SELECT (SELECT * instead of SELECT id, name)?
View Replies !
Capturing A Display On Remote (linux) Server From (windows) Web Browser
I've a utility that runs on a linux machine. Basically, it opens a window, draws a figure and captures the image (screen) and stores it as a jpeg file. The utility requires a window to be open (or displayed) inorder to save the image. Also, this utility is in the form of an executable, so I can't possibly alter it. I want to run this utility from a windows web browser and display the saved jpeg file. I pass some command line parameters to change the figure it draws. The php code I use is as below: Code:
View Replies !
PHP Pages Display In All Windows Browsers And NO Linux Browsers!
OS: Windows XP, Windows 2000 OS: Linux Red Hat Enterprise Level 3, Fedora Core 3 Browsers: Firefox 1.0, IE 6.1+, Mozilla, Konqueror We are working on an internal website that is to be used as an intranet. This page goes through an initial SSL layer after asking for certificate acceptance, once you acccept the page should pull up. And here is the problem: It pulls up under any browser within Windows; it never pulls up under any browser within Linux. This includes Firefox; it's fine in Windows/Firefox but locks up cold in Linux/Firefox.
View Replies !
|