[PHP-INST] New Compile - Buffering Issues

2002-07-22 Thread Jonathan Hilgeman
This might be a little off the topic of installations, but since it occurred just after a new compile... I just compiled 4.2.1 CGI so I can use it to create command-line system tools. Now, one of my tools opens up a socket to a mail host, and reads all the messages and closes the socket. I hav

[PHP-INST] Can't figure it out

2002-07-08 Thread Jonathan Hilgeman
This has probably been answered before, and I've even helped other people figure out this problem, but I can't figure it out for the life of me. I have Apache 1.3.26 + mod_ssl running PHP 4.2.1. Now, if I start Apache normally with apachectl start, everything seems to be fine. PHP works, but SS

RE: [PHP-INST] Re: FreeBSD + gd + PHP4.1.2

2002-04-22 Thread Jonathan Hilgeman
Why don't you just use the ports system on FreeBSD to set up PHP? It would be much cleaner and a lot faster. To address your problem, it seems as though it can't find your gd.h file in the include paths. What happens when you run "locate gd.h" ? - Jonathan -Original Message- From: Batch

RE: [PHP-INST] Viewing Php code

2002-04-22 Thread Jonathan Hilgeman
Most PHP files will be like regular text files, and you can use any standard viewer to see them, as long as you have the SOURCE (original) file. You can't get a php file by just going to that file on the web and getting it. If you saw an interesting message board that was programmed in PHP, you co

RE: [PHP-INST] Mail in HTML Format

2002-04-05 Thread Jonathan Hilgeman
Hi Salvador, Here's an example of a big HTML mail with PHP (I took this from the reference manual). You don't have to include things like additional recipients, or the carbon-copy/blind-carbon-copy, if you don't need them. those are all for just sending the e-mail to more people, and you can leave

RE: [PHP-INST] Re: IMAP Connection: LOGIN is on two lines

2002-04-01 Thread Jonathan Hilgeman
So this is a PHP script trying to log into an IMAP server? Make sure your username is available to the script. You may have the "login" part inside a function, and since functions don't have immediate access to all the variables, you'll need to global it: global $UsernameVariable; ...in orde

RE: [PHP-INST] [Corrected syntax] PHP install on Apache win 2000 Pro

2002-04-01 Thread Jonathan Hilgeman
Well, the first one didn't work for obvious reasons that you probably figured out by now (no echo/print statement). However, did you change anything in your Apache config and restart it? Get the echo-this-is-a-test line to work alone, but don't open a new browser window. Just hit Ctrl+Refresh t

RE: [PHP-INST] PHP install on Apache win XP

2002-04-01 Thread Jonathan Hilgeman
Hi Mark, So ANY php file does this, or just that install script you tried? You should have a few lines in your Apache configuration (httpd.conf) referring to PHP (just do a search for them in a text editor). Please copy-and-paste them here, along with the current full paths you are using for the

RE: [PHP-INST] If PHP-HP=P; then P=Problem; else PHM=please help me :)

2002-03-29 Thread Jonathan Hilgeman
This sounds like the compiler can't include the different system header files like sys/time.h which would declare and clear up errors looking like this: zend_execute_API.c:788: `ITIMER_PROF' undeclared (first use in this function) My guess is that you need to make sure your compiler's include pa

RE: [PHP-INST] Help: php module keeping Apache from starting

2002-02-28 Thread Jonathan Hilgeman
Did you set any options for encryption or SSL or anything? You may have used an option that requires lib Kerberos. If you don't have it, you should be able to use the ports system on FreeBSD to install it quickly. - Jonathan -Original Message- From: Dan Delaney [mailto:[EMAIL PROTECTED]]

RE: [PHP-INST] LibPNG error

2002-01-31 Thread Jonathan Hilgeman
rors when I try to run the dynamic image scripts. - Jonathan -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:19 PM To: Jonathan Hilgeman Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP-INST] LibPNG error Well, your problem is pro

[PHP-INST] LibPNG error

2002-01-31 Thread Jonathan Hilgeman
Hi, When I try to use GD+PNG functions to create dynamic PNG images, I get this error: libpng warning: Application was compiled with png.h from libpng-1.0.8 libpng warning: Application is running with png.c from libpng-1.2.1 gd-png: fatal libpng error: Incompatible libpng version in applicatio

[PHP-INST] Urgent TTF Problem

2002-01-29 Thread Jonathan Hilgeman
I recently tried to upgrade to PHP 4.1.1. I'm using a FreeBSD ports system, so it has some default options to build with FreeType 2.0.6 (libfreetype.so.8), GD 1.8.4_5 (libgd.so.2), but no FreeType 1.x libraries (as I later found out). The installation went smoothly, and I tried to make a dynamic

[PHP-INST] Quick Question - Copying LibPHP4.so's

2002-01-21 Thread Jonathan Hilgeman
Just a quick yes or no question: If I have a working system with PHP 4.1.1 on it, can I copy its libphp4.so to another server without PHP and get that other server working, assuming I have all the necessary libraries on the target system? - Jonathan -- PHP Install Mailing List (http://www.php.n

[PHP-INST] Upgrading PHP and cURL

2002-01-21 Thread Jonathan Hilgeman
I would like to upgrade to the newest version of PHP and cURL, however I cannot have the server down for very long. I would like to know what files I should back up to preserve 4.0.3 and my current version of cURL in case of an emergency and I have to restore them quickly. If possible, I'd like to

RE: [PHP-INST] Re: using PHP as ROOT

2002-01-16 Thread Jonathan Hilgeman
Hi Robert, First, giving ownership to files is not the same as making them run as that user. Ownership of a file is directly related to what permissions are needed to do things with the file, like reading from, writing to, and executing it. If you need to run PHP as root, you can use a utility ca

RE: [PHP-INST] Compiling PHP on FreeBSD

2002-01-15 Thread Jonathan Hilgeman
Are you using the port or the source code? If you're trying to compile the source, just use the ports instead. It's faster and more manageable. Just update your ports if it doesn't offer php 4.1.1 - Jonathan -Original Message- From: Peter Bowyer [mailto:[EMAIL PROTECTED]] Sent: Saturday,

RE: [PHP-INST] Problem with question mark !

2002-01-04 Thread Jonathan Hilgeman
Edit your php.ini file, search for register_globals and make sure it is set to On. - Jonathan -Original Message- From: Marios Karagiannopoulos [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 9:03 AM To: [EMAIL PROTECTED] Subject: [PHP-INST] Problem with question mark ! I have

RE: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K

2001-12-21 Thread Jonathan Hilgeman
How did you install the two programs? Sounds like you need to uninstall both, add Apache standalone, and then add the PHP binary from PHP.net. - Jonathan -Original Message- From: Robert Schulz [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 9:34 AM To: '[EMAIL PROTECTED]' Subj

RE: [PHP-INST] windows 2000 + PHP4.10 + gd1.8.4

2001-12-20 Thread Jonathan Hilgeman
You should be able to download the PHP4.10 Windows binary with the GD extension already compiled in, from PHP's web site what else do you need? - Jonathan -Original Message- From: Marc Maniscalco [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:16 PM To: [EMAIL PROTECTE

RE: [PHP-INST] Problem installing 4.1.0 with Apache 1.3.22

2001-12-20 Thread Jonathan Hilgeman
I would take what's behind door number 2: Apache was not compiled with DSO support When you open up your Apache config file, do you have this line in there? AddModule mod_so.c If you don't, then you'll need to either recompile Apache for DSO's (recommended), or you can compile Apache and PHP "

RE: [PHP-INST] FOPEN issues in 4.0.6

2001-12-13 Thread Jonathan Hilgeman
Sounds like more of a DNS issue on the server than with PHP. See if you can use other command-line utilities like nslookup and whois to get info on domains. Hope it helps. ALUMINUM! - Jonathan -Original Message- From: David Callaghan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December

RE: [PHP-INST] Install php/apache/win2k

2001-12-05 Thread Jonathan Hilgeman
Hi Sotee, I would uninstall Apache, PHP, and anything else that you've installed for this, then download the latest FoxServ: http://sourceforge.net/projects/foxserv And install that. I haven't tried version 2.x yet, but 1.x worked excellent for me. - Jonathan -Original Message- From:

[PHP-INST] cURL Cutting Off Last Character

2001-11-27 Thread Jonathan Hilgeman
I use cURL to perform CC transactions and it returns a result string (declined, accepted, etc...), but the message it returns is cut off. There's one character missing on the end of the string, an "e". Here's my code: $ch = curl_init($gateway_url); curl_setopt ($ch, CURLOPT_RETURN

RE: [PHP-INST] please, help to rookie

2001-11-27 Thread Jonathan Hilgeman
If you installed PHP 4 using the ports system, then you can go to the port's directory (like /usr/ports/www/mod_php4) and edit the Makefile. In the middle of the Makefile should be a listing of all extra --with... options. You can probably take it from there. - Jonathan -Original Message

RE: [PHP-INST] cannot read output with fgets() from popen()

2001-11-20 Thread Jonathan Hilgeman
What's with the extra pair of parentheses? > $fp = popen("/bin/ls"),"r"); Change it to: > $fp = popen("/bin/ls","r"); - Jonathan -Original Message- From: Jim Barcelona [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 11:03 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subje

RE: [PHP-INST] apache problems

2001-11-16 Thread Jonathan Hilgeman
If you have the AddType line in there, then there's probably a problem with loading the php4 module into Apache. Do you have both the AddModule and LoadModule statements? Something like: LoadModule php4_modulelibexec/apache/libphp4.so AddModule mod_php4.c ? Try typing the following in t

RE: [PHP-INST] ANNOUNCE-PHP4.x not supported on FreeBSD platform

2001-11-15 Thread Jonathan Hilgeman
ed on FreeBSD platform Importance: High Jonathan Hilgeman wrote: > You must be kidding me. FreeBSD 4.x and PHP 4.x were made for each other. > Installation is simplicity itself. Just go to your shell, type in: > > cd /usr/ports/www/mod_php4 > make install WOW... I mean OOPS! How did I

RE: [PHP-INST] ANNOUNCE-PHP4.x not supported on FreeBSD platform

2001-11-15 Thread Jonathan Hilgeman
You must be kidding me. FreeBSD 4.x and PHP 4.x were made for each other. Installation is simplicity itself. Just go to your shell, type in: cd /usr/ports/www/mod_php4 make install You'll be presented with a menu where you can check off the modules you want to install. I can send you a written g

RE: [PHP-INST] PHP4-Windows98-PWS

2001-10-22 Thread Jonathan Hilgeman
Try FoxServe: http://sourceforge.net/project/showfiles.php?group_id=24751&release_id=57934 It should set up everything you need - PHP 4.06 / Apache 1.3.22 / mySQL 3.32.43 - Jonathan -Original Message- From: Yim Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 5:07 PM To: [E

[PHP-INST] GD 2.0.1 DLL

2001-10-09 Thread Jonathan Hilgeman
Does anyone have a GD 2.0.1 compiled extension for PHP in a Windows 32 environment? - Jonathan -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROT

RE: [PHP-INST] Re: If phpinfo works why doesnt anything else ?

2001-09-27 Thread Jonathan Hilgeman
That sounds like you already had Apache and everything else installed and then you installed FoxServ over-top of it. Uninstall FoxServ, then individually uninstall the other components for php, apache, and mysql. Make sure you delete the php.ini and my.ini files, too - sometimes those are not unin

[PHP-INST] --With-OpenSSL - Whats the DIR

2001-09-14 Thread Jonathan Hilgeman
The PHP manual says the configure line for openssl support is --with-openssl=[DIR], but what should I put in the DIR part if the installation is not standard? - Jonathan -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-INST] Compiling errors with PHP+SSL

2001-09-13 Thread Jonathan Hilgeman
I just recently installed OpenSSL 0.9.6b, then Apache 1.3.20+mod_ssl 2.8.4 and now I want to add on PHP 4.0.6. However, when I try to compile, it fails with the following error: --- SNIPPET --- checking for OpenSSL support... yes checking for OpenSSL version... >= 0.9.5 checking for CRYPTO_free i

[PHP-INST] Re: "New" problem? PHP4, NES 3.6 SP3, Solaris 2.6

2001-09-06 Thread Jonathan Hilgeman
NES? Nintendo finally developed a web server! "Joe D'Andrea" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings! Clue humbly requested ... > > I followed oft-posted directions to the letter for getting PHP 4.0.6 > setup on Solaris 2.6 with Netscape Enter

[PHP-INST] Re: Error 404 problems with PHP4 and Apache 1.3 on Win ME

2001-09-04 Thread Jonathan Hilgeman
Try using FoxServ for a simplified setup process. http://prdownloads.sourceforge.net/foxserv/foxserv-v1.0.exe - Jonathan "Izy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I recently installed Apache 1.3 (Win32) and PHP 4 on a Win ME system. I > followed th

RE: [PHP-INST] PHP-4.0.6 gd-1.8.4 freetype2.0.4 woes

2001-08-30 Thread Jonathan Hilgeman
You say you're getting a message that indicates that it worked via phpinfo() ? Where is your info page? Are you sure there isn't another error or warning that is being displayed inside the image file? Try: 1) Putting error_reporting(0) at the top of your image file code 2) Modify php.ini and set

[PHP-INST] Re: [PHP-DEV] Bug #13000 Updated: I can't switch safe_mode OFF!

2001-08-28 Thread Jonathan Hilgeman
Is the file called php.ini or php.ini-dist? It took me a while to figure out that there needs to be a file called php.ini in your php.ini folder (as indicated at the top of phpinfo()). I kept modifying php.ini-dist and it wouldn't do anything after I restarted Apache. - Jonathan "Jani Taskinen"

[PHP-INST] iODBC Troubles

2001-08-28 Thread Jonathan Hilgeman
I first tried unixODBC in order to get ODBC functionality on my FreeBSD 4.2 box with PHP 4.0.3 on Apache 1.3.14. It didn't work too well, and I kept getting an error about undefined symbols like pthread_mutex_init or something when trying to run command-line sample applications. So someone suggest

[PHP-INST] ODBC on Unix

2001-08-27 Thread Jonathan Hilgeman
So far I've heard of unixODBC and iODBC as packages that supply UNIX with ODBC support. Is there anyone who knows if one is better than the other? I'm on FreeBSD 4.2... -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-INST] SWF warnings

2001-08-24 Thread Jonathan Hilgeman
I'm trying to compiled PHP 4.0.3 from a FreeBSD port. Now, I've had this working before, and I've added a couple configure options. One of them is the swf functions. I d/l the libswf library and extracted the files to the specified folders, and the installation finds the files and proceeds normall

[PHP-INST] Re: If phpinfo works why doesnt anything else ?

2001-08-15 Thread Jonathan Hilgeman
I set up lots of development boxes using Windows/PHP and I've found that the quickest road to getting started is just to download and run FoxServ: http://prdownloads.sourceforge.net/foxserv/foxserv-v1.0.exe It will install PHP 4.0.5/mySQL 3.23.37/Apache 1.3.19 with GD and all that jazz and it tak

[PHP-INST] Mirroring a Configuration

2001-07-25 Thread Jonathan Hilgeman
Hi, I'm trying to make a development box that mirrors my production box. However, my production server was set up by someone else who no longer works at the same company. I need to know what Makefiles and arguments he used - is there a way to determine how he compiled Apache/PHP/mySQL, etc...? -

[PHP-INST] Direct Download Link to Latest PHP?

2001-07-24 Thread Jonathan Hilgeman
I use wget to download packages, so I can't really defeat the anti-leech programs. Are there any PHP mirrors that offer a direct link to the latest PHP 4.0.6 distribution? -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP-INST] 2 Questions about a New Machine

2001-07-20 Thread Jonathan Hilgeman
Hi, I've just put FreeBSD 4.2 and some basic libraries and packages on a Celeron box that I have so I can use it for testing my PHP scripts before posting them to the production server. I have installed mySQL 3.23.37 in /usr/local/mysql and now am trying to figure out why it doesn't start up when

RE: [PHP-INST] Cant't not Start Apache with PHP.

2001-05-07 Thread Jonathan Hilgeman
Search the Net for a program called Sudo - it will allow any user, when they are set up for certain commands, to run those certain commands as root. I use it for rebooting Apache, the name server, etc... Jonathan -Original Message- From: Pablo Sabatino [mailto:[EMAIL PROTECTED]] Sent: Su

RE: [PHP-INST] Who support PHP

2001-05-02 Thread Jonathan Hilgeman
Try http://hosting.datablocks.net/ It gives you a free plan with a mySQL database, PHP hosting, and a subdomain (name.datablocks.net). Jonathan -Original Message- From: staym [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 8:46 AM To: [EMAIL PROTECTED] Subject: [PHP-INST] Who

[PHP-INST] Distinguishing Red Hat 7.0

2001-04-25 Thread Jonathan Hilgeman
Is there any way for PHP to distinguish if it is being run on Red Hat 7.0 or not? I know there's a variable called $SERVER_SOFTWARE but that only gives me "Red Hat Linux" - Are there any other distinguishing characteristics about the 7.0 version? Jonathan -- PHP Install Mailing List (http://ww

RE: [PHP-INST] FreeBSD 4.0/Apache/PHP 4

2001-04-19 Thread Jonathan Hilgeman
Yeah I restarted Apache. I am running 1.3.14. -Original Message- From: Matt Schroebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 12:10 PM To: 'Jonathan Hilgeman' Subject: RE: [PHP-INST] FreeBSD 4.0/Apache/PHP 4 You don't need it, and the rest is right.

RE: [PHP-INST] FreeBSD 4.0/Apache/PHP 4

2001-04-19 Thread Jonathan Hilgeman
I used AddHandler because AddType wasn't working by itself. It still doesn't work - I just haven't taken it off. -Original Message- From: Matt Schroebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 11:38 AM To: 'Jonathan Hilgeman' Subject: RE: [PHP

[PHP-INST] FreeBSD 4.0/Apache/PHP 4

2001-04-19 Thread Jonathan Hilgeman
I am trying to configure PHP4 to work on a new server. It seems to be correctly set up in the configuration files but it doesn't work when tested. There are no configtest errors when starting Apache, and I have the following lines in my httpd.conf: LoadModule php4_modulelibexec/apache/lib