Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Compiling PHP To Stand Alone Executable In 64bit?


I know that there are easy ways to compile PHP into a stand alone executable in 32bit.. but does anybody know of a program that works for doing this in XP 64bit with 64bit PHP so that it will generate a 64bit executable?

P.S. Yes I have searched but haven't been able to find any for 64bit it seems that most people who make software hate us 64bit users.




View Complete Forum Thread with Replies

Related Forum Messages:
Errors While Compiling Php From Source On Fedore Core 6 64bit
I have a lot of problems compiling php from source on fc6 64bit

when using mysql 4.1.23 i386 rpms I get

checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no

configure: error: mysql configure failed. Please check config.log for more information.

config.log says: Code:

View Replies !
PHP/MySQL On Windows 2003 Server 64bit
We're looking at getting a hosted dedicated web server to host our
PHP4/MySQL4 websites. It needs to be a MS Windows server as we use .NET Web
Services for a lot of background communications.

We've found what appears to be a fantastic hosting package but it is on
Windows 2003 Server **64 bit edition**.

Are there any problems with PHP4/MySQL4 on 64 bit servers?
Are these problems easy to overcome?

View Replies !
Stand Alone PHP
I want to use PHP as a stand alone scripting language. By that I mean
without a web server present and without any HTML in the code. I have done
this in a few tests on a Win 2000 platform and, with just PHP.exe and a DLL
and the ADOdb stuff in a lone directory, I have successfully run some
scripts to talk to a database. All fine and good.

But the real goal is to make this into a tiny runtime environment that I can
deliver to any machine ... Linux or Windows ... and run some performance
tools on the local database engines ... all without any installations on
those host machines (i.e. just copy the files ... run the analysis scripts
and copy the results for post analysis . without changing the host system).

Is there a discussion anywhere about:

Keeping the runtime size to a minimum?

Cross platform got-ya's ? (I read a couple of messages about this, just
now in this group)

If this is a topic that has been covered to death .. then I apologize and
will continue my search of back news articles.

However, if anyone else is interested in this or would care to shed some
light on these issues for me, please contact me either here or directly.

View Replies !
What Does %something Stand For?
There is this line in a code I have to modify in order to be able to use:

%response = $lperl->curl_process($myorder);

And I can't find anywhere what does %response stand for nor what the % operator is used for in this line...

It is clear that I'm not an OOP PHP programmer so I can't even begin to understand this line... Anyways it gives me a syntax error and I can't use it like this...

I searched the PHP manual for % operator all I get is nothing since it is is somekind of wildcard sign and same situation on these forums...

All I know is that % is used as modulo operator but that's clearly not the case here..

View Replies !
Stand Alone Win98?
how would i get php running with mysql on a windows 98 machine with out a server so that i could test my scripts after i create them.?

View Replies !
Stand Alone PHP Parser
I'm wondering if someone could give some direction on a problem I have
or share their experiences.

I'm wanting to create a little PHP application that will run on a
local machine and use ODBC to connect to a Access database on that
machine. A series of forms will interact with the database but if I
understand correctly, I need some way to parse the PHP code. Is there
a stand alone parser that could be used in place of a HTTP server?

View Replies !
PHP GTK Vs Every Other Stand-alone Language
It seems to me PHP-GTK has all those nifty PHP-features packed inside.
I must say I am kindof a PHP-freak because te syntax and variant-types
I like so much I really want to keep programming in PHP and PHP-GTK
more and more. Does somebody have a different view on this? I am
progamming this on a windows-machine and haven't seen any other
language perform better after slamming programs together.

View Replies !
!= Code What Does It Stand For?
I googled around but couldnt find the meaning for the following code:

if ($pass != $pass1)

Im not sure if you'd need to see the rest of the code to explain this to me. If so just say so and I can post the entire script I found this on.

View Replies !
Stand Alone Script
Is it possible to have a script run on a client pc that does not have PHP or web server installed? The rationale here is that I am trying to script a page that will manipulate images for sizing and then ftp them to my host, and I want to keep the look and feel of the whole application. I have worked with PHP and Javascript so don’t have the skills to create this in any other languages. I have also searched to see if Javascipt would do this but no luck so far.

View Replies !
Compile Php Website To A Stand Alone .exe
Not that i'm one to ask silly questions - but can it be done .

View Replies !
Php Executable?
Where is the php execuatable usually kept. I thought it was /usr/local/bin. Can't seem to locate it there. Any other locations you guys keep it?

View Replies !
Non-executable URL
When I tried to run Currency conversion script it's showing the follwing error. Bad request: probably tried to POST a non-executable URL I am using xitami server and saved in right path in web server.

View Replies !
Starting Executable
I am trying to figure out how to get the CMD (dos) window to come up when I
call a executable. I have this working on a Win2000/apache machine and am
trying to use the same code on a identical machine.

Here is how I start the executable. It is initiated from the browser on the
machine itself:
pclose(popen("start " . $exe . $params, "r"));

What normally happens is a cmd window pops up showing the executable's
output to screen. My php code then gets the PID for the executable by
running a tlist.exe and searching for the name of the executable. I take
this PID and sleep till a certain time and then kill the executable.

When I do it on the new machine the executable runs but no cmd window comes
up. I also cannot get a PID for the executable because tlist output shows
the executable's PID but has no information about it. When I manually use
Tasklist I can see the name of the executable.

PHP and apache are setup identically on both machines so it must be
something in windows. From looking around I think it may have to do with
'apache not interacting with the desktop' ?

I need to have the cmd window come up and I feel if I can get that
accomplished the PID problem will be taken care of too.

View Replies !
Php As An Executable File
I was wondering, how to write a php file, and turn it into an executable file that can be run.

i.e. if i write some code in php, and i want it to be a program that runs in the background... say, listens for information that comes in the sockets.

how would I implement this? also, how would i make the php file into an executable that doesn't need to be opened from internet explorer?

e.g. like in c++ you would compile the source code and an exe file would result. however, this is not the case with php. what could i do to make the server run the php code without requiring me to open it in the browser?

View Replies !
Interfacing With 'C' Executable
i have a small C program as below:

main()
{
char name[10];
scanf("%s",name);
printf("Your name is : %s",name);}

i'd like to interface with the C prog using PHP, and i've done it as follows:

$command=exec("ctest < query.dat > query.res ");

where the file 'query.dat' contains my name, and i'd like the resulting "Your name is : NAME" to be redirected to the file 'query.res'.

Now the porblem is that if i execute the PHP code on the linux prompt then everything is fine. but if i try to invoke the PHP file thro the browser i dont get the proper output. in fact a non-empty 'query.res' becomes empty after the PHP file is invoked by a browser.

View Replies !
Executable Path
is there a way to get the path of the php executable through code? i want to run to a few command line scripts and my main script should detect the PHP CLI path automatically.

View Replies !
Executable Delivery
I'm having trouble with reading up an executable and printing it (along with header data of course) to the browser to deliver it. I get a very very small filesize difference using fread(). I checked the original and downloaded files in a binary hex editor and it seems that the same sequence of a word of data is being written to any file I read from and print to the browser.

I tested these with text files also and it seems to happen in the ascii form of a few tabs and a new line. I deleted them in the editor and the EXE runs fine. I dont have any echos that would cause this to my knowledge but I can't find out where else they would be coming from. Any ideas? Code:

View Replies !
Run Executable File
I want to write a php program that calls a cgi script to automatically update my webpage. I have tried to following, but it doesn't work I know, however, that the cgi script does work.

<?php
shell_exec("http://www.mysite.com/cgi-bin/mt/mt-rebuild.cgi -all")
?>

Any ideas?

View Replies !
Running An Executable?
I am using a program called jhead.exe.

It cleans up the headers from a jpg image file.

Does anyone use it ?

Is this the correct method to call the program ?:

exec("jhead -purejpg ".$source); // cleans up jpg headers

The jhead.exe file is in the same directory ans all my php scripts so I am not sure if I need to put a path in the statement or not.

View Replies !
Executable Without Waiting
i want to run a backup of data and this may time a few minutes. is there any way of starting this task and not wait for it to end?

c:"program files"7-zip7z.exe a -tzip backup.zip datafile.dat -psecret


View Replies !
Opening Executable
If i have a exe file on my server and i want to open it by accessing a specific page how would i open the file. Would this be done in PHP or Javascript. I have no idea how this would be done so any help would be greatly received.

View Replies !
Login - Using The Executable?
i am writing a login page using php in linux. I am getting a problem. Problem Description:
I have C file which checks user name and password & returns value When I execute C file it gives proper/required output.

I am using the executable of this file in a shell script. My shell script is log_in.sh following is its content. Code:

View Replies !
You Must Specify The PHP Executable Used For The Debug Session
perl and have run into some roadblocks while trying to run
tutorials.

I have installed Apache v2.2.3
I have installed ActivePerl v6.6.1.638
I have installed php v5.2.0
I am running Komodo professional, version 3.5.3

and running through the guestbook.php tutorial which came with Komodo.

Following Komodo's instructions, I click on Debug
then 'Run without debugging' (They say to click 'start', but start is not an
option I am presented with)
I am then given a debugging window where I can enter environment variables,
select CGI envronment, etc.
I enter the data as the tutorial specifies, but when I click 'OK', I get the
error message "You must specify the PHP executable used for the debug
session"

How do I do this?

I've tried Preperences, Languages, Perl and PHP as per searches on the WEB
but to no avail. Has anyone seen this error?

View Replies !
How Do You Find The Path To The Php Executable?
I am not able to find where the PHP executable is located on a shared
hosting platform used for one of the sites here at work, and Tech
Support appears to either not know or not want us to know where it's
found. This is for a required CLI PHP script that has been running on a
dedicated host for some time that they decided to move to a shared
hosting service.

View Replies !
Standalone Executable File
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory.

I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.

View Replies !
Reading CSS Files As Executable
I use a "page compressor" for my PHP. This strips out extra whitespace and HTML comments, and delivers a really ugly, but fast HTML page. I use the ob_ functions and RegEx to do it.

I want to do the same for my CSS. I need mondo comments in my CSS files, and it is supremely awkward to maintain dual copies ("source," and "compiled."). I just want the server to do the same thing to the CSS that it does to my PHP output.

In order to do this, I need to execute the CSS files as PHP. I have tried making the files .php files, but the browser refuses to recognize their CSS-ness, even though I output the correct header. I think the link fails.

What is the best way to have the server execute a PHP file and render it into a stream of pure CSS? I have tried changing the handler for the .css type to PHP, but that doesn't work.

I don't have access to httpd.conf. I must use a .htaccess file. The environment is Apache.

View Replies !
Running Executable Files
Is it possble to run an executable file using php? I made a quick search a found the exec() function but i didn't quite understand it??

View Replies !
Using Submit To Run Executable And Refresh Window
If someone knows how to take a page with an image on it and have a submit button pass two variables that are input from the page to an executable stored on the server, then refreshes the page when the executable has finished doing it's thing.

View Replies !
Error : Bad Request: Probably Tried To POST A Non-executable URL
When I tried to run Currency conversion script it's showing the follwing error.Bad request: probably tried to POST a non-executable URL I am using xitami server and saved in right path in web server .

View Replies !
Reconfiguring From Php As A CGI Executable To An Apache Module?
I have written some php scripts that use basic HTTP authentication as
described in the php manual. It works fine on my development server which
runs php as an apache module. But, the production server (Linux), which is
operated by a hosting service, has their php setup to run as a CGI
executable.

So, I'm trying to find out how hard it is to reconfigure to run as an apache
module as opposed to a CGI executable on a Linux server. If it's just a
matter of editing a couple configuration files, than maybe I can just do
that myself. If it requires a rebuild of php, then I may need to ask the
hosting service support to do it (if they will).

Is it just a matter of adding a few modules to httpd.conf, or is there more
to it? The php documentation seems to be more focused on describing complete
installation procedures, and not reconfiguration.

View Replies !
Script That Can Run Executable Files On A Server
I am looking for a script that can run Executable files on a server, I have leased a dedicated server but the company doesn't allow remote desktop access to it, so I can't run them, we have uploaded server files to a dedicated server but can't run them, they are exe files.

View Replies !
Run Win32 Executable In Browser/client ?
I have a intranet website on one of our windows machines that runs apache 2.0 and php5. In the browser, for one particular link on the site, I want to run a win32 command line program on the client windows machine, (if the program is there). This command line utility returns a string to standard output. I want to capture the string and return it to the server and then process it in some php (compare it to existing records in a mysql database. and write it if new).

Once I have the string in php I can handle it from there. I know this isn't strictly a php question, but I hoped someone could give me pointers as to what techiques I might need to use so I can investigate further, or suggest a more suitable forum for this problem ?

View Replies !
Where Can I Find The GD Library Standalone Executable File?
I downloaded the tarball and while was able to compile within PHP with
no problems, I am having memory timeout issues involving image
manipulation with extremely large images (800K - 2mb). Requirements
are to create thumbnails for even these banner-sized images, but PHP +
GD + [huge image] = too much memory.

I'm trying to prove that it is undoable, though the suggestion was to
do a command-line GD call to the image instead of using the PHP
functions to do so to save some memory; if it still times out, then
it's undoable altogether.

However, I cannot find the standalone executable file that will ensure
I can run GD from the command line.

View Replies !
Return Same Data From Executable To Php As In Command Prompt
I've been trying to use passthru() exec() and system() to execute Apache's htdbm.exe (htaccess user database) and to get some info returned. For example I have tried as a test to htdbm -l .htpasswd, this to return the users in the databaase. None of the functions return the
users in the database while the same string does do this in command prompt. I know there is nothing wrong with the string because when I replace some vars at the end I can add users to the database with php, now it does return a message that this has been done. Al I want is that the same thing that is being returned in command prompt is also returned to PHP.

View Replies !
Detect If A String, Contains Executable Commands (w/o Executing!)
I have an interesting problem, where it would be important to detect whether or not a particular string contains executable commands (ie. via eval).

For example, I'd need:

"echo a b c"

to return true

whereas

"a b c"

would not.

I'd guessed that I could compare highlight_string output, but this may introduce unnecessary complexity. Short of building a list of absolutely all PHP commands, I was wondering if anyone here had a quick trick I could use!

View Replies !
Exec - Create An Executable That Return The System Drives
I need some help about exec command. I have create an executable that return the System Drives. It is based on DOS and does not need any parameter.

I have create my php script that executes the executable i've create and the source code is the following: ...

View Replies !
Compiling PHP With VC++7...
Since I would like to compile PHP with EAPI under win32, is it possible to compile PHP with Visual Studio .NET (VC 7)?

View Replies !
Help Compiling PHP
I am trying to compile the source for PHP but when I run to the ./configure command it works for a little bit then tells me that the command lex is no valid. Then is says it is giving up. I have no idea what lex is, where I can get it, or what it's purpose it.

View Replies !
Fun With Compiling PHP 5.1 (help)
Alright, I'm trying to compile PHP 5.1 with the following options:

../configure --with-openssl --with-zlib --with-bz2 --enable-bcmath
--enable-calendar --enable-mbstring --with-mcrypt --with-mhash
--with-mysqli --with-mysql --enable-embedded-mysqli --disable-pdo
--with-pgsql --with-pspell

So far I've been able to get all dependencies and whatnot up to the
MySQL area. The last error I get with it is:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... yes
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... yes
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check
config.log for more information.

Any ideas? I have the MySQL 4.1 libraries and server and whatnot, and
I can't install (or use) the 4.0 libraries due to whatever reason they
don't allow that to work.

View Replies !
Compiling PHP 5.1.2 On RH9
I'm trying to compile php 5.1.2 under RH9 system, with apache 2.0
installed. Configuration process goes fine, `make` process goes fine as
well with some warning, but when I'm trying to do `make install` I got a
message

Installing PEAR environment: /usr/local/php/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

How can I investigate due to what module this error comes or what is the
reason of this error? Any help is very appreciated.

BTW, is it good thing upgrade Apache 2.0.xx to 2.2 ?

View Replies !
Compiling PHP 5.1.2
I'm having trouble compiling PHP 5.1.2 on Kubuntu Breezy. I've
downloaded PHP 5.1.2, and when I configure, it gives me an error about
libxml2. I am trying to install PHP as a CGI/CLI.

The relavent part:
# ./configure
-- snip --
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2
installation.

I have installed libxml2, and it is updated to the latest.
# apt-get install libxml2
Reading package lists... Done
Building dependency tree... Done
libxml2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

View Replies !
Compiling PHP
i want to Compile PHP. how can i do it?

d/zend_multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o libphp4.la

ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

View Replies !
Compiling
I hv installations of PHP on an OS X (10.4.x) box as well as on an OS X Server(10.3.9). I have been researching how to get PHP to work with our company Oracle database, and from everything I've read it it sounds like I will need to build and install PHP with Oracle Client Libraries.

Will compiling PHP with OCI overwrite everything that is enabled now in my current PHP build? ./configure --with-oci8

View Replies !
PHP Compiling
I'm trying to compile PHP 5.2.4 and it's not recognizing with-xml and enable-ge-imgstrttf during ./configure .

View Replies !
Compiling &
I'm trying to build PHP5 using the following configure script

./configure
--with-axps2=/usr/local/apache2/modules/php5.0.2.so
--with-mysql=/usr/local/mysql
--disable-libxml

which as I understand it, would (after make & make install), create a binary dso file at /usr/local/apache2/modules/php5.0.2.so yet after everything is complete - which runs fine without errors, theres nothing there.

View Replies !
Still Not Compiling Jpeg With Gd
I am building on Linux Redhat 7.1

First I build GD with information about zlib/jpeg/png/freetype directories

thanks to some advise on another post, I tested the build

nm libgd.a | grep gdImageCreateFromJpeg
0000040c T gdImageCreateFromJpeg
00000438 T gdImageCreateFromJpegCtx

nm libgd.a | grep gdImageCreateFromPng

U gdImageCreateFromPngCtx
00000030 T gdImageCreateFromPngSource
000000cc T gdImageCreateFromPng
000000f8 T gdImageCreateFromPngCtx

OK - I think that GD is functioning with the above.

So now build php

------------------------------------------
./configure --with-mysql=/usr/local/mysql
--with-pgsql=/usr/local/pgsql
--with-apache=../apache_1.3.23
--with-pdflib=/usr/local/pdflib
--with-zlib=/usr
--with-gd=/usr
--enable-gd-native-ttf
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-freetype-dir=/usr
--with-ttf
--with-xml
--enable-ftp
--with-openssl
--with-pear

-------------------------------------------

This is where I identify the problem

etc ....

-------------------------------------------

checking whether to include GD support... yes
checking whether to enable truetype string function in gd... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for the location of libpng... yes
checking for png_info_init in -lpng... (cached) yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... yes
checking whether to include include FreeType 1.x support... yes
no - FreeType 2.x is to be used instead
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) no
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateFromGd2 in -lgd... (cached) yes
checking for gdImageCreateTrueColor in -lgd... (cached) no

-----------------------------------------

so for those who have not skimmed over the above, you can see that while the headers were identified, the functions gdImageCreateFromJpeg and
gdImageCreateFromPng were not found in the gd library, even though they are there and were found manually previously.

View Replies !
Compiling Java With Php?
If my server has Java, can I somehow use PHP to compile or tell the system to compile some java source files on the server (unix)?

View Replies !
Compiling The Modules
I'm having a lot of difficulty with compiling the modules for PHP, In fact I don't know where to start, you see Im pretty good at script type languages like PHP and Perl but when it comes to 'C' I have zero experience. I would really like to learn how to do this but would also find it useful to have the precompiled DLLs (windows NT).

View Replies !
Compiling PHP And Apache...
In the past, I install the GNU build system (GNU AutoTools) for the Unix machine before I compile/install PHP and Apache. But now, with more experiences, I'm starting to doubt whether should I need the GNU AutoTools after all for the PHP/Apache. Should I still go with the GNU build system (GNU AutoTools)?

View Replies !
Compiling PHP 5.0.0b2 On Linux
When I try to compile the new version, I get messages about an error
before "va_list" in several of the files the ./Zend directory. Any
clues about how to get it to compile?

View Replies !
Problem Compiling With Gd
I'm trying to get gd support so I've been trying to recomile
php. The following are the flags I'm using, which configures fine, but
dies in make.

../configure --with-gd=/var/www/gd-2.0.33 --with-zlib-dir=/usr/lib
--enable-gd-native-ttf --enable-gd-imgstrttf
--with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib

Here's the the death.

ext/gd/gd.o(.text+0x12e8): In function `zif_imagecolormatch':
/var/www/php-5.0.3/ext/gd/gd.c:902: undefined reference to `gdImageCol
orMatch'.....

View Replies !
Mysqli Without Compiling Php
Is there something like a library that i can include in the website with the
mysqli functions and declarations. I do not want to compile php for just one
website on the server.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved