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
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
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
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
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
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
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
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
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
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]]
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
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
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
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
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
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
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,
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
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
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
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 "
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"
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
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:
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
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
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...?
-
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
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
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
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
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
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.
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
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
51 matches
Mail list logo