php-install Digest 27 Jul 2002 16:29:50 -0000 Issue 951
Topics (messages 7923 through 7927):
Getting Variables
7923 by: lists
7924 by: Sebastian Wolfgarten
7925 by: lists
Windows installer didn't install
7926 by: Graham Irwin
Re: RPMs and tarballs
7927 by: Matthew Kurowski
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hello,
I'm trying to call a URL which ends like this: index.php?album=tomato
In the script, I echo $album, but it seems to be null.
Is this because of the way I have PHP configured?
Here is my configuration info from phpinfo():
'./configure'
'--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc'
'--enable-versioning'
'--with-regex=system'
'--without-gd'
'--without-mysql'
'--with-zlib'
'--with-bz2=/usr'
'--with-mcrypt=/usr/local'
'--with-mhash=/usr/local'
'--with-pdflib=/usr/local'
'--with-zlib-dir=/usr'
'--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local'
'--with-tiff-dir=/usr/local'
'--with-mysql=/usr/local'
'--with-snmp=/usr/local'
'--enable-ucd-snmp-hack'
'--with-openssl=/usr'
'--with-expat-dir=/usr/local'
'--enable-ftp'
'--enable-mbregex'
'--enable-mbstring'
'--enable-sockets'
'--enable-trans-sid'
'--prefix=/usr/local'
'i386-portbld-freebsd4.6'
This is from a FreeBSD ports install of mod_php4.
In the initial configuration menu, I left MySQL blank, so I don't know why I
have --without-mysql and then see --with-mysql=/usr/local .
Any help appreciated,
Shawn
--- End Message ---
--- Begin Message ---
Hi,
as I told somebody some days ago,
see register_global option in your
php.ini - well it seems people not
reading any release notes or
documentations :-(
bye,
werner.
--- End Message ---
--- Begin Message ---
Thanks,
I had spent a lot of time searching google, looking at phpinfo output, and
asked on IRC as well.
Looks like I should have taken the time to read php.ini more carefully.
I turned register_global On and that worked.
Thank you,
Shawn
----- Original Message -----
From: "Sebastian Wolfgarten" <[EMAIL PROTECTED]>
To: "'lists'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 27, 2002 5:29 PM
Subject: RE: [PHP-INST] Getting Variables
> Hi,
>
> as I told somebody some days ago,
> see register_global option in your
> php.ini - well it seems people not
> reading any release notes or
> documentations :-(
>
> bye,
> werner.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
Hello, can anyone help a frustrated would-be php installer? Try as I may I
cannot make much sense of the installation instructions and the Windows
Installer has not done its business for me.
I have Win98 with PWS (don't know what version or how to establish the
version number - the exectutable appears to be inetsw95.exe which claims to
be Internet Services Application v. 1.0, the product version is 4.70.1181,
so whether thats ver 1 or ver 4 I don't know!)
I've downloaded the .zip package and the installer. I unzipped the package
into c:\ - which actually put everything into a folder succinctly named
php-4.2.2-Win32 which I then renamed php. I ran the installer accepting
every default and it said it had installed php successfully. However my
simple file...
<html><head>
<title>Hello</title>
</head>
<body>
<?php phpinfo();?>
</body></html>
...doesn't get php-ised - the browser (IE6) shows a blank screen and view
source shows me the above code.
I've edited my php.ini (which installer apparently correctly placed in
c:\windows) with extension_dir = c:\php\extensions but still no success.
I'm aware something is wrong with the configuration but install.txt doesn't
help at all.
Help me please....
--- End Message ---
--- Begin Message ---
It's not difficult to build apache and php from scratch. Just make sure to
remove/uninstall the old Apache and php packages before hand... more
importantly, do a backup BEFORE doing anything. if you don't have an active
backup going, I suggest you halt all your plans and backup your system and
do a test restore.
Also, on SuSE Linux their config files are not in the default location for
the Apache build (from my memory but it can't hurt to check anyhow) so you
want to examine the current packages for the locations of those files.
Lastly, SuSE also has it's automatic config file checker (called after
yast1/2). The entries for it should be removed on a package uninstall (again
from memory) but it also may conditionally check for those files and
therefore not remove the entries.
Extra disclaimer: I haven't actuallly used SuSE 7.3 - I'm still at 7.1 on my
SuSE boxes... so the standard disclaimer is even more applicable. At the
very least though with a good backup, removal and clean source install -
you'll have fun and probably do fine especially if your Apache requirements
are simple.
BTW, you don't mention anything about where/how you tried to find the
updates so I for one won't go rehash a list. You also don't mention what you
want to "upgrade" them too...Why not just use the security updates from SuSE
until someone packages your desired updates - are you missing features? Have
you tried the SuSE lists?
Have you already read the excellent directions at php.net for building php
and apache on nixes?
Just babbling I guess since there's not much to go on... good luck...
Best,
Matthew Kurowski
----- Original Message -----
From: "JOHN MEYER" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 7:32 PM
Subject: [PHP-INST] RPMs and tarballs
Hi. I'm running SuSE 7.3 with the original PHP/Apache install. I want to
update these two, but I can only find the tarballs. How do I update without
screwing my system up?
--- End Message ---