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.





Standalone PHP Installation


I have never installed PHP before. It's always been set up for me. I have
a client whose site is hosted as a virtual server. I'm trying to set up
ecom for him, but the mhash library is not installed. So I use fopen to
open a script on my website that hashes the variables. Obviously, this is
not ideal because if my site goes down his ecom will too. I asked the tech
people at his hosting company to set that up, but they said they don't do
custom compilations.

"As per compiling PHP with --with-mhash=[DIR] this is how that works: any
custom compilations, custom applications, etc. are up to the user to compile
and install. Use gcc/etc. to compile PHP with the options that you like.
The php.ini in /etc is available for your customization as well. If you
compile your own binary of PHP, you can place it where you like (or leave it
at the default) and get the paths updated to use it, or you can obviously
use it directly if necessary."

I was planning on compiling a new, minimalist version of PHP (with just
mhash) in a different directory, but I'm hesitant to do it in case I get
unexpected results (I don't want to take the rest of his site down). Can
anyone tell me if this sounds feasible? What kind of pitfalls can I expect?
And can anyone recommend a tutorial? Most of the tutorials I've found
assume you have root access and/or are compiling PHP/Apache together.

I was also wondering if it would be possible to just compile the mhash
library and add it to php.ini? That seems to be the simplest thing, though
I don't know if it would work...




View Complete Forum Thread with Replies

Related Forum Messages:
Standalone Problem
I've set up PHP 4 with Apache on an intel/Redhat 6.2 linux box with no network interface. Using URL PHP code with the .php extension works fine, but php code in html documents does nothing. In fact, view source shows the php code on the browser.

View Replies !
Multithreading For Standalone Php
I'm trying to write a mutlithreading server with standalone PHP.
Concurrent requests is possible. Normally it is done by handling each
socket spawn by serversocket in separate threads. But it seems that
there is no thread support in PHP at all.

Would anyone give me some suggestions?

BTW, is the community considering add thread support to PHP in the
future? What is the major difficulty to import an existing thread
library (such as pthread library) into PHP

View Replies !
Standalone Program
I'm going to be doing a program for an elderly couple who owns a horse ranch, and wants some software to keep track of all their horses, owners, doctors, etc. I'm going to be writing the program in PHP using a MySQL database.

I set up one like this for my work and it runs off of Apache on our server. I need this program to be a stand-alone install, without installing MySQL, PHP, and Apache seperately. How could I go about integrating it all into one package?

View Replies !
Php Install Standalone
I need to install php like standalone. can somebody say me that way to install it like standalone on linux, with support for mysql, apache and oci8?

View Replies !
Standalone Sig Generator
I currently have my sig generator running,  the problme Im facing is that it outputs like this http://mysite.com/image.php?sigimage.png

I need to have it out put like this -> http://mysite.com/image.png?sigimage.png or something like it because a lot of sites do not allow image.php. Code:

View Replies !
Standalone Apps And Php
I have a project in mind for a library management system which I would like to try building with php/mysql.

Are there any Delphi-like IDE apps out there that would do the job? Can the code be compiled into an executable?

View Replies !
Standalone Solution
I was asked to write a database solution for a friend.. it was supposed to do the normal add/retrieve/modify/search functions of a databse. i started with vb6 then decided to use php/sql.

I might sound really dumb and ignorant but the question is... if i want to "package" this to him... how can i do this without having to personally go and install a webserver and php and sql and the rest so he can use it just through his web browser?

can i use an installer that will allow it to be packaged so after the install he would just have to open the databsae through his browser?

View Replies !
PhpMyAdmin Installation - Thorough Installation Guide.
I am trying to install phpMyAdmin-2.6.3-pl1 on my machine because I am familiar with working with it itself, but not installing it. I have Apache 2.0.54, php 4.4.0, mysql 4.1.14 running on a Win XP Home machine. Like I said, I've never installed phpMyAdmin before and I've looked at the documentation and I can kinda make out what it says, but I'd rather try to find a very thorough installation guide.

View Replies !
PHP Standalone: Charset Setting
I'm simply using PHP as a programming language, and I just want to
print some text information to stdout,
but instruction
print "é" (é)
does not print my "e" with an accent in the shell window: wrong
charset.

How to set the correct charset?

View Replies !
Standalone WIN32 Application In PHP
Is it possible to write a standalone Win32 application using PHP? Like
creating a window from the PHP script, putting buttons and textboxes on
it, handling clicks on the buttons etc...,

View Replies !
Standalone DB (like Access) For PHP/Apache
I am in the process of translating an WIndows/ASP/MsSQL Content
Managment System (CMS) to Linux/PHP/???.

Is there a popular database I can use that will allow standalone files
like Access did (which used .MDB files)?

In order for the CMS to work, there needs to be a standalone database
file that is self-contained, just like Access .mdb files are under
Windows. I guess I am asking for an Access equivalent for
Linux/Apache.

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 !
Submit Standalone Programs With Php
I'm building an application which submits scheduled php jobs. The way I would like it to work is to have one php program to submit the other php programs on a scheduled basis. This control program shouldn't have to wait until one job finishes before it can start the next one; instead, it should be able to submit all the jobs in one go, but it also needs to be able to be informed of the return codes of the submitted programs so dependent programs can be submitted too.

I've looked at the exec() and system() commands, but they either don't seem to allow return codes to be returned from a submitted program to the submitter program or they unconditionally print anything the submitted programs produce.

View Replies !
Setup MySQL On A Standalone Machine
Has anyone setup MySQL on a standalone machine?

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 !
Configure To Run With The Cold Fusion Standalone Server?
Can I configure PHP to run with the Cold Fusion standalone server? I don't have IIS installed. I'm on windows 2000 pro. I want to run the cold fusion server and be able to execute PHP scripts.

View Replies !
Php Installation
i've just bought PHP and MySQL web development by luke welling and laura thomson. although this book comes with the software i'm finding it difficult understanding the installation instructions for apache php and mysql and linking them together, how come there's 2 folders for each, binary and source? it might be easier if i download the software from thier respective websites and start afresh, i'm using windows 98 and just looking to build a testing platform....

View Replies !
Installation On XP
I have to install php in my PC. My os is XP. What are the steps that i have to take in order to implement the above. If we once install mysql-admin we whether i can uninstall it from my system?

View Replies !
PHP 5 Installation
I've just downloaded the PHP5 Zip release. I followed the instructions and, like it said, got it working fine without extensions. I then tried enabling an extension to see if it worked, but I got a "DLL Not Found Message".

The path it gave was the correct path (C:Program FilesPHP5libsphp_mysql.dll) and I've checked and the file exists, so what could be going wrong?

View Replies !
GTK Installation
How to install PHP-GTK? The Windows binary installation packages found on gtk.php.net are missing .DLLs from winnt directory. Only php.ini is there. And I don't know where to find these.

I tried to install GTK using the unofficial Windows installer (michel.weimerskirch.net), and test scripts from gtk.php.net install packages work, but buttons are missing any text (and maybe more than just buttons). In other words, it doesn't work. Am I missing something super-obvious here,or ?

View Replies !
My Php Installation
I installed the php-4.4.7-Win32 and apache_2.2.6-win32-x86-openssl-0.9.8e manually. Apache can work well, but when use the test.php, which is located in C:Apachehtdocs, I get the following error:

erroe 403:
Forbidden
You don't have permission to access /php/php.exe/test.php on this server.

View Replies !
DLL Installation
I develop one astrological site,i use some DLL's like 'Swiss Ephemeris',my problem is how to use this DLL in my PHP program where i store this DLL file in my webserver.

View Replies !
5 / IIS 5.1 Installation
I have been using PHP5 on my Apple, but now I also have a Windows XP
and I'm having trouble completing the install.

I did a manual install and followed the directions from
http://us3.php.net/manual/en/install.windows.manual.php.
I am installing using the CGI binary rather than the ISAPI module.
The one step I couldn't figure out how to do is: Code:

View Replies !
Installation On MAC
offer an opinion on the best way to install PHP locally on my Mac OSx (10.4.6).I am currently working with a company who only have macs and I need to develop a PHP website. I want to be able to test my website locally alongside a MySQL database what's the easiest and most efficiant way to do this.

View Replies !
5 Installation
can anybody give me step by step instruction for php 5 installation or any link in windows XP. i am using apache 2.

View Replies !
PWS Installation
I used the easy windows install for php after i got my pws installed in win98. I had trouble saving files, but figured that out. Then, I got an error message, and figured out it was cause i needed to have execute clicked. So that was settled.

Then I was getting a "The page cannot be displayed" error. So I looked around, and I think here I read about someone who was having the same problem, but did the regedit thing and it worked.

I did the regedit thing, rebooted, and it still doesn't work. If I go through with http://localhost.. it gives me that 'the page cannot..' error. If i double click a php file, a blank IE page opens.

View Replies !
NT Installation (with IIS4)
After installing PHP on an NT we are having a few problems.

First we can't seem to pull up files with the extension .html but the same files will work using the extension .phtml Is this normal for NT use? No big deal if so.

Second, and most important, (in a PHP program that does work on another server) I am getting the following error from pages that use ' if ($submit) '.
**************************
Warning: Undefined variable: submit in includes/product.inc on line 20
**************************
The program does work correctly, it just gives this warning. What have we missed?

Oh yea, we are also getting warnings referring to variables used in an email() at the end of the entire site. But the variables are coming through with the email.

View Replies !
XML Parser Installation
I am using RH 7.1 with Php4.1.0 and Apache 1.3.22 .... I have installed libxml and zlib also configured php with dom support. now problem is that when i try to open xml file it gives following error:

Fatal error: Call to undefined function: xmldocfile() in /development/test.php on line 19
any idea where is the problem ?

View Replies !
Installation Problem - 4.3.0 - 4
I've tried installing php 4.3.0 and .4 and keep getting the same problem.
When I 'make' the install I end up with an error:

/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:22:19:
httpd.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:23:25:
http_config.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:33:23:
http_core.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:34:23:
http_main.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:35:27:
http_protocol.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:36:26:
http_request.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:37:25:
http_log.h: No such file or directory
/usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:38:25:
util_script.h: No such file or directory
make: *** [sapi/apache/sapi_apache.lo] Error 1

View Replies !
PhpMyAdmin Installation
I am trying to install phpMyAdmin 2.8.2 and have a question about
config.inc.php. Is it necessary to include all of the $cfg fields in
config.default.php, or is it ok to just have whichever fields I
explicitly need customized, such as $cfg['Servers'][$i]['auth_type']? I
am not clear on whether there are any security risks by not explicitly
stating every field in config.default.php in my actual config.inc.php
and whether or not the program will know to default to variables I don't
state, even though everything seems to work fine without all of this
info. I could not find this info anywhere in the phpMyAdmin
documentation, which talks about setup.php but doesn't clarify if I need
every field.

View Replies !
Installation Debugging
1)I get startup error messages:
"Unable to load dynamic library c:phpphp_curl.dll - the specified
file cannot be found"
although the file is very much there at exactly that location
Not only for this file but for many extension files like php_mysql.dll,
php_oracle.dll, php_mssql.dll, php_exif.dll etc.

2)the extensions_dir setting is "c:php" without an ending backslash.

3)The php.ini file is residing at c:php

4)The php.ini file in c:windows has all extensions disabled so it does
not look as though that php.ini file is the source of the messages

5)There is a extension entry for php_win32api.dll which also gives a
not found error.
Is it the older version of php_win32std.dll, php_win32service.dll and
php_win32scheduler.dll files which are present but
their names are not there by default in the php.ini ?

************************************************** ************************************************
6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and
C/C++ in MS Visual Studio - with breakpoints and stepping?
************************************************** ************************************************

7)database access through odbc works.

8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
as a module (php5apache2.dll with a LoadModule in httpd.conf) - Apd
which is a part of PEAR requires that php be installed as a CGI binary
- is apd good for interactive debugging?

View Replies !
PHP Installation - IE Does Not Display Anything
I downloaded PHP 4.3.4 version from the PHP website,
(Windows Installer). I configured IIS on the Windows XP Professional. I
installed the PHP. But when i run the sample script <? php phpinfo();
?>, IE does not display anything. Is there anything i have to do other
than simply installing PHP.

View Replies !
Installation Tutorial
I'm having trouble with my windows PHP/MySQL. I have a few years experience with ColdFusion, so I'll do OK once I get the basics figured out. I ran the windows installer. I believe I have 4.3 installed. I've run through some of the kindergarten tutorials. But now I get to the tutorial on Creating a PHP login script and it's assuming I know all kinds of things like how to create a frigging batabase in the MySQL that I installed. It doesn't appear there's a user interface for MySQL built in, so I installed MyAdmin. But I can't seem to configure that.

This tutorial tells me to put in my username, pw, dbhost, and db name. I have no idea where to start!

View Replies !
Where Can I Get The Sun OS (Solaris) PHP Installation ?
Where can i get the installation files for Sun OS?

View Replies !
PHP4 Installation
I have installed PHP4 many times with no problems, but this time im stuck. The system is Windows XP Pro SP1, it was just installed fresh. Web server software is Visnetic WebSite Pro, Latest build. PHP v4.3.2. Everything installs fine as far as i can tell and I setup all the needed settings in the web server.

When ever I try to use PHP files on my server all I get is internet explorer saying the page cannot be displayed. I dont understand what I have done wrong, its the same setup I always use, same for the settings.

View Replies !
Oracle Installation
I have install the Oracle on remote machine and write a simple code to connect with remote machine...but i 'm not able to get wht setting we have to do in php to run for Oracle..i got some drafts from internet...i uncomment the extension in php.ini (php_oci8.dll)

then copy this .dll to extension_dir path of php.ini...and then copy the oci.dll and php_oci8.dll to windows/system...when i run apache shows warning...
"Unable to load dynamic library ‘D:PHPextensions/php_oci8.dll’ – The specified procedure could not be found."

View Replies !
GD Installation Problem
I'm haveing some problems I'm trying to generate bar charts dynamically by
pulling data from an MS Access databasae using an ODBC connection and then
generating the bar charts, this is all on WinXP Pro by the way. I have no
problems with getting the data out of the database and sorting it. I was
using this tutorial
http://www.phpbuilder.com/columns/w...er20001218.php3 as a guidline to
generating the images, but nothing seems to be working for me.
My problem is that I cannot generate any images using any of the
GD image functions. I have loaded the php_gd2.dll in the php.ini file and I
can see that the dll is loaded when I do a phpinfo(); the probelm is that
none of the pages are generating any images.

View Replies !
Soap Installation
can anybody help me to implement soap into my system?..i think this is the answer to my problem but i really dont know how to do it..ive been reading about it but i really cant understand it..

View Replies !
PHPTriad Installation
Does anyone know if an installation of PHPTriad (v2.1.1) can be installed
automatically using some kind of script or command parameters?

View Replies !
PHP Installation With Pgsql
I got PostgreSQL installed and now I'm trying to get PHP installed too. I do ./configure --with-pgsql and everything works fine. But when I do make, I get this error:

ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

I need php installed soon. I don't know what is causing this error to occur.

View Replies !
Installation Frameworks For Php
is there any php framework for handling installation procedures (i.e.,
installation of databases, creating configuration files, etc...)?

View Replies !
Problem With A New Installation
After months of waiting for Redhat to come out with up to date rpms, I
decided to compile a working OpenSSL/ MySQL / PHP / httpd installation for
myself.

Installed the latest versions of mcrypt and mhash, followed by openssl and
mysql (version 4.0.13) - all from source.

Configured httpd with :

./configure --enable-so --enable-cgi --enable-vhost-alias --enable-suexec
--enable-info --enable-ssl --enable-cgid --with-ssl=/usr/local/ssl

Then compiled PHP as :

./configure --with-mcrypt=/usr/local/lib/libmcrypt
--with-mhash=/usr/local/lib/libmhash/ --prefix=/usr/local/php
--with-apache2=../../apache/httpd-2.0.47 --with-mysql=/usr/local/mysql
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--localstatedir=/var --mandir=/usr/share/man
--sysconfdir=/etc --infodir=/usr/local/php/share/info
--with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring --with-gettext
--with-zlib --with-gd --enable-discard-path --enable-ftp --with-curl
--with-pear --with-jpeg-dir --with-png-dir
--enable-force-cgi-redirect --enable-debugger --with-openssl=/usr/local/ssl/

Now after going through some configuration, I find that I cannot seem to
browse any SSL (https) links on a website that I was developing (which
worked perfectly with what I had earlier). I know this is probably not
enough info for you to help me, but since I did this for the first time, I
am not sure what is relevant to my problems and what is not.

View Replies !
Fileinfo Installation
I am trying to install the Fileinfo pecl extension, on CentOS 4.5,
with php 5.2.3.
After running the following command I get:

[root@host ~]# pecl install fileinfo
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
......done: 5,835 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
/usr/local/bin/phpize: /tmp/pear/cache/Fileinfo-1.0.4/build/shtool: /
bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

ERROR: `phpize' failed

View Replies !
Curl Installation
Any one help me? How to insall Curl in Windows? I am trying but still now I am not getting any satisfactory results.

View Replies !
PHP Installation Problem.
I had installed Apache2 and it working correctly. Then, I download
PHP5 and do the installion. Toward the end of the installation
process, it said something about httpd.conf. I then read the
installation guide and I still could not figure out to make
PHP to work.

Can someone tell me where to fix this problem?

View Replies !
Installation Question
I'm using Windows Server 2000 with Apache with a secondary hard drive
which will contain the http information. Does php have to be installed
in the http drive or the root windows directory?

View Replies !
Xampp Installation
I installed basic xampp with the installer from
http://www.apachefriends.org/en/xampp-windows.html#524.

When I started Apache from the panel, I got a window with the error
message:
This application has failed to start because php_mbstring.dll was
not found. Re-installing ...

I tried to re-install but it did not help.

I found in the web references to this problem but everything that they
suggest is already correct at my php.ini: definition of extension_dir
and php_exif.dll appears after mbstring.

In the control-panel - the status of Apache is running and the start
button was replaced by a stop button.

View Replies !
Installation Problem
Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When
applying php.exe to a file test.php containing '<?php phpinfo();?>' via
the command line, it produces the desired result. But when I try to
access the same script via the browser (IE5), it just shows "No input
file specified." I am using a simple python script as webserver (using a
slightly modified version of CGIHTTPRequestHandler.py), which calls 'php
test.php ""' and does not detect any error. I also tried Xitami, which
gives the same result ("No input file specified.").



View Replies !
Database Installation
I am trying ti install my DB, but keep getting a parse error unexpected T_String on line 22. I have used the same method to install another DB with no problems. I think I just need another set of eyes. Code:

View Replies !
Installation On Suse9.1
I have a problem to install php-4.3.6 from the tarball to a SuSE9.1 apache2 system. compilation at all works fine. But if I like to do make install I got a
failure:

/etc/apach2/httpd2-prefork.conf not found

What does this mean? Where could I found an example of this config file.

View Replies !
Installation Question MS IIS
Can someone please confirm the following for me. If I am installing php (4
or 5) on Windows (with IIS) and I am NOT using the Windows installer, but
instead the windows php*.zip installation, I need only

1. Unzip the file to a directory. (say...c:php)
2. Create my php.ini, and if I put it in c:php I am ok(?)
3. Configure IIS for php.

Is that it? I mean, can someone confirm for me that this is all (in a
nutshell) I need to do get php (basically) running on a Windows IIS machine?

View Replies !
Pear Installation On Win XP
I want to install Pear on Windows XP.I,ve WAMP(Winows,Apache,MySQL,PHP) installed & configured properly in order to test/process/parse my PHP scripts successfully. But I,m unable to install & use pear.

View Replies !

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