> I guess it already came up here but once I look for it I cannot find it.
> Php works but does not display anything on the web page, would anyone
suggest what to do with that?
if nothing displays, how do you know it works? If you can run php on the
command line, but not in a browser, likely
I'm installing PHP5 over top of my current installation (as a module).
Here's the error message:
>
> [EMAIL PROTECTED]:~/php-5.0.0# make && make install
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam
>>I have a php 4.2.2 on RH 9. I need to upgrade it to at leat 4.3.2 (or
>>higher). But I have no idea where to start. Please give me a hand.
>>Thanks in advance!
> rpms? or did you build it yourself? either way, you'll need to rebuild,
> upgrades are esentially a recompile. or if there is a
>I have a php 4.2.2 on RH 9. I need to upgrade it to at leat 4.3.2 (or
>higher). But I have no idea where to start. Please give me a hand.
>Thanks in advance!
rpms? or did you build it yourself? either way, you'll need to rebuild,
upgrades are esentially a recompile. or if there is a method
>I have version 4.3.7 and apache 1.39
>I configured it with --enabled-gd but nothing in the phpinfo talked about
>GD. am I missing something or is GD listed within another section?
>thanks
did you really use that exact line --enabled-gd? The correct argument is
--with-gd[=DIR]. Also, just so
>PLEASE can some one help, I have installed apache 2 on my win XP laptop.
>Apache runs fine and I can use all the virtual severs, but when I try a
PHP
>page it does not run properly. I have run the test script to see how PHP
is
>set-up and that works, but if I try a more complex script it does
>I've installed PHP on my Apache 2.0 for Windows XP, and I'm having a wierd
>problem where php works like it's supposed to except for that it won't
read
>any variables I try to feed it via HTTP, like index.php?page=pictures. it
>just thinks I left page blank.
>Is this an apache problem, or is t
I believe that you must seperate all headers with a \r\n, well that is per
the RFC, but i also understand that your method, or at least just with a
single \n will work. I would start to remove the extra headers argument
and see if that is your problem. If you can mail with no extra headers try
r
but what errors are you getting?
Jeff
I can log into mysql ok and create dbs and tables and use the various admin
commands/functions, just can't get there from php.
tia Walt
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Walt" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesda
How you do know?
Do you get errors when trying to access the mysql_* functions? - unknown
function errors?
Or can you just not login to mysql with PHP?
that may help determine your best course of action. I have this exact same
setup, so salvation can't be far.
Jeff
I think you're a bit confused, you don't login with that command. Before
running it again check ps -aux | grep mysql...to see if mysql is acutally
started.
if you need to re-run then use -> 'safe_mysqld --user=mysql &' - The &
will spawn the process in the background.
then you can log in with
The easist thing is to chage the ownership of the directory to be the
webserver user. so maybe...
chown httpd:apache /path/to/directory
Then you can alter the permissions to restrict access.
chmod og-w /path/to/directory
removes the write persmission for the group and 'other'
>I can't believe I have to ask, but I've already blown close to a day
>trying to get this to work. The bottom line is it appears I don't have
>gd configured because when I run a script that uses a library which
>references gd, I get the infamous "Call to undefined function:
>imagecreate()", whic
Got some warnings building 4.3.5...
Unfortuantely i can not get back to paste more of the error output, but i
could re 'make' if needed.
Although make did not fail, they were only warnings
php 4.3.5 on Solaris 9/Apache 1.3.29
configure -->
./configure --with-mysql=/webdisk/usr-local/mysql --with-
Hello
In order to deal with different sites configurations how can I use more
than one php.ini ?
Another way will be to overide the register_globals = On directive but I
don't know how to do.
I know that I can use a .php.ini in user directory but this solution is
not appropriate to me because
"Five"
<
zareef ahmed saifi,
Thank you for the information.
I followed "Installing PHP on Windows with Apache 1.3.x" instructions.
http://in.php.net/manual/en/install.apache.php#install.apache.windows
PHP was installed as module. Httpd.conf was changed but, Apache could
not start due to error:
"Synt
do you have the AddModule and LoadModule lines in httpd.conf? seems like
the AddType is there.
Jeff
Jason Tucker
h. this actually works fine for me on windows and linux. Both with
PHP4.33 and Apache1.39.
this is extreamly minor and should not matter, but, the first has ' around
the array index ($_SESSION['product1'] ) the second, does not
($_SESSION[product1]). This may not make a bit of a difference
make sure you have the AddType application/x-httpd-php .php in httpd.conf,
most like there is an entry for AddType application/x-tar .tgz right near
where this can be placed. you don't have to have the second(phps), unless
you need the ability to view source on webpages.
since you have two apa
i get 17 declined emails each time i send to the list.
are there any list admins that can help?
Jeff
can you post some error messages?
"Paul Fritzsche"
i'm not a mac guy so this may be done by the php install, ...but are the
other two lines in httpd.conf. The loadModule and AddModule lines?
LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c
hth,
jeff
this very well may be a dumb question, but i'm getting nowhere. i have
freetype installed successfully on my RH8 box and php recompiled with
--with-freetype. I'm now able to use the TTF functions with GD, but i only
have a handful of fonts on my system, is there a place to download more.
my RH in
i think you're wanting to use.$_SERVER['REMOTE_ADDR'] or
$HTTP_SERVER_VARS["REMOTE_ADDR"]
unless there is another one...but i see no such entry in my phpinfo()
hth
Jeff
it looks like your problem is Dreamweaver config and not PHP/Mysql/Apache.
if you've started Apache, ftp the same code to the DocumentRoot outside of
DreamWeaver and see if your code runs that way...
I don't use Dreamweaver for php, but my thought is that you may hvae hit
the F12(Preview) and tha
not sure if there was a response, but an person posted this exact same
issue the other day...you may want to search the archives.
i know its not much, but hopefully it'll help.
Jeff
its a new worm propogating through the internet. don't open
anythinggranted this lists filters out the attachments that usually
come with it. i'm getting these emails on this list, yahoogroups lists and
it has hit my companies network... most the varients have the same message
and come with
this means there has been content already sent to the browser. even you
have a space in your file before thecc:
Subject: [PHP-INST] PHP: Cannot send
session
A couple things.
Did you edit httpd.conf?
Did you restart Apache?
Usually, if it is trying to download it is one, or a combiniation, of these
two things.
hope this helps
Jeff
i'd be curious if you are still using the old(or another bad) sed. if you
run a 'which sed' at the command line...do you get the install you're
looking for? i installed a new version from sunfreeware.com and it solved
the problem immediately.
HTH
jeff
are you logged in as root?
hth
jeff
[EMAIL PROTECTED]
the unsubscribe options are at the bottom of all of these emails
hth
jeff
"John Bush"
yes and no. did you restart Apache? and bear in mind that it has been
saidby Rasmus and the PHP staff, that this is not a production ready
combination.
so if a restart doesn't do it, adn you're sure that all of your other
config options are set correctly, then you may want to consider going
you'll need to use $_GET['x'] and refer to
http://www.php.net/manual/en/security.registerglobals.php.
hth
jeff
"Pennington, Tim"
that would definitely work.
and i should have mentioned before. you should add php to this directive
in apache(this is mine)
DirectoryIndex index.php index.shtml index.html index.jsp
that way if someone calls the directory(http://webserver/directory/) it
will default to those pages i
in your Apache -> httpd.conf, comment out this line.and restart apache.
AddModule mod_autoindex.c
hth
jeff
"Atif Jakupovic"
what is happening?? I just built 4.3 with solaris/apache and compliled
and installed without issue. can you send your error.
"Panos
you as well.
Jeff
Jeffrey_N_Dyke
@Keane.com To: "Alan W. Rateliff,
d one.
Jeffrey_N_Dyke
@Keane.com To: "Alan W. Rateliff, II"
&l
based on the output i tried to add the -E to the call for gcc in Makefile,
but that only produced more errors. Based on the bottom email i have tried
the libtool from 4.1.2 and 4.2.3. My gcc was at 2.95.3. I am aslo trying
sunfreeware.com now.
Jeff
how do you use the libtool from 4.2.3. do you just replace it from that
disto?
thanks for your reply. any information is good information.
Jeff
"Alan W.
I have a solaris 8/apache combo, and am trying to install PHP 4.3. i
currently have 4.2.3 on this lpar of the box. When i try to 'make install'
for 4.3 i get this when trying to run a /bin/sh libtool --silent etc etc
etc...
Output line too long.
Output line too long.
Output line too long.
Ou
the real problem though, based on your previous post is that you are not
using the correct varaible. It should be $_POST['submit']; and yes, you
should test for it, using isset or somthing similar like
check out the section of the manual on register_globals. yours is set to
off.
if ($_POST['s
if you are using a version of php later then 4.1, try $_SERVER['PHP_SELF'].
hth
jeff
"Eugene Wolff"
ahhh nice.. the content filter at my work just stopped me from going to
your sitePHP enters the Porn world i see.
so if you have an error that you'd like help with please send details.
jeff
"Irvin
Amoraal" To: [EMAIL PROTECT
Does anyone know of an alternate place to download libxml-2.4.14 for the
use with domxml? xmlsoft.org seems has been down, to me, for the last
couple days.
thanks
Jeff
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello. I have php set up as a binary and a DSO. in the binary all scripts
start with some output :
X-Powered-By: PHP/4.2.3
Content-type: text/html
which shows up in /var/mail/user each time any of my scripts run on a cron
job. I have changed the php.ini for this installation to be just
text/pla
this is what i use for Apache
http://www.php.net/downloads.php 4.2.3 is on top with older versions and
patches beneath.
Jeff
CSParker1@aol.
you probably need to add the config options to what ever webserver you are
running and then restart the webserver.
[EMAIL PROTECTED]
it is the shared peieceget rid of that and you'll be fine. there is
another way around this that Rasmus posted a couple weeks ago so you wodn't
have to reconfigurecheck the archives of this list. It was probably
three weeks ago now. search for mysql or even for [EMAIL PROTECTED]
Jeff
it would be under a section called mysql. if it is not there then you'll
have to reconfigure. --with-mysql=/path/to/mysql
CSParker1@aol.
so?? No you don't get access denied? if it does not, i'd reconfigure.
well first check if a phpinfo() call shows mysql is installed?
CSParker1@aol.
i know you need to connect to run other functions, but does you set up
recognize other mysql_functions? at least giving you an access denied
error, instead of undefined function?
if you are running PHP higher then 4.1 you need to use the superglobals
$_GET, $_POST, $_SESSION etc
Jeff
CSParker1@aol.
http://www.php.net/manual/sv/security.registerglobals.php
$_SERVER['PHP_SELF']
$_GET['id']=2
hth
Jeff
Ailon Katsutsy
Good Hint, i'll look for that. and for more information for anyone else
who replies
I am running Solaris, and am not running these scripts throught the
browsersit is all shell based.
thanks
jeff
Hello All.
I have max_execution_time = 0 in my ini for a binary installation of PHP.
I have also tried to set it to a number such as 3000.
In my install i used the configure argument
-with-config-file-path=/usr/local/php_bin.ini and this is the ini that
i am changing.
Yet none of my scripts
Thanks for the info, that is a great helpbut this was our production
external website, and Apache 2.043 was not offering any benefits for me, so
i went with 1.327 and mod_ssl(for the immediate turn around) The issue may
have been with my older(2.0.39) version of Apache and PHP(4.23). But I h
Sharing.if you're interested
since i have posted the other one, i feel inclined to addYes, i have
had luck with Apache 2.039 and PHP 4.23-dev(from snaps.php.net a few months
ago). - Soloris 8. The luck i had with the 4.2branch was only compiling in
the basics --with-mysql --with-
This is not a stable combination. You'd be better off going down to Apache
1.3.27. Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1 on
these systems"
jd
PHP4 and Apache2 are not a stable combonation. You'd be better off going
back to 1.3.27 if you want to keep PHP.
"Silent Bob"
I'm pretty sure this is the [shared] option. I wrote the same thing to a
guy a couple weeks ago and it helped him. Granted i live on Solaris, but i
have never seen any documentation around using sharedbut if there is
i'm sure someone will speak up.
hth
Jeff
|---|
Looks like they were configured differently. I have two version on alot of
my machines(Solaris) one tied into apache and one for command line. The
configures are run independently of each other and each PHP is a seperate
instance. I don't use your platfrom, but you should be able to build in
th
you need to configure your httpd.conf. with these lines, where appropriate
LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
This should
Hello.
Set up - Solaris 8/Apache2.039/PHP4.2.3/OpenSSL 0.96
I had this set up working quite nicely until i reconfigured PHP with
OpenSSL and now Apache just diplays the code in all text. It still serves
up pages that are solely html fine, and serves up the html that is on the
PHP pages fine(loo
very true, this can be a useful tool for a developer, but giving access via
a browser would be crazy. the developer needs to control this, not the
language. I run code that uses the dir class to synch servers, very
useful. but it is not available for the user to access. this should be
restric
i just follwed both INSTALL/README, for both pieces and it worked like a
charm. those files cover everything. they install very nicely on XP.
register_globals is set to off, set it to on in php.ini or use the
$_GET['FolderNum'] notation. see manual for details of why.
Jeff
My server is running RedHat linux 7.2. I had previously used the RPM
installation and was running 4.0.6... I recently uninstalled the RPM
version and
installed P
I have 4.2.3(from snaps.php.net) and Apache 2.0.39 working like a charm.
don't know if you want to go that way though
Jeff
Nick Couchman
grab the latest stable from snaps.php.net. i think there are a couple
fixes out there as of 7/24 for different items, one being libraries. also
i noticed there is a warning in my make install that told me to run libtool
--finish.this was my configure(using the php from 7/24/02)
./configur
I'd say you'll have to go with two servers with an identical setup. As far
as i am aware, Virtual hosting can't help you here especially since you
have to run apache_modules as opposed to cgi's. You could do it with
cgi's. ...split the box and install apache on both sides. I have a box
running
if you need to leave them on then you need to, and change them over
timebut remember that you can always use the following... depending on
your version of PHP.
$_GET['varName'] or $HTTP_GET_VARS['varName']
$_POST['varName'], or $HTTP_POST_VARS['varName']
$_SESSION['varName'], or $HTTP_SESSIO
don't turn register globals onread this...and other article's like it.
don't expose yourself to a documented vulnerability just to make easy code.
http://www.php.net/manual/en/security.registerglobals.php#security.registerglobals
I downloaded the latest stable from snaps.php.net and installed with Apache
2.039 on Solaris8, with mysql witout issue. I did notice a warning in the
make install that wanted me to run 'libtool --finish', which i did...so i
don't know if that helped me out or not, but i had seen some people with
isn't that because you only have .php in the AddType line. I think you'd
need .html or what ever pages you want the engine to act upon
Just a thought,
Jeff
e always just used the $formVar notation of a
post variable, and not the $HTTP_POST_VARS["formVar"] notation. should i
change the way i code these things and turn register_globals back off?
Any ideas?
any help is appreciated,
Jeff
- Forwarded by Jeffrey N Dyke/CORP/Keane on 05/06/2002
6/2002 08:20 AM -
Jeffrey_N_Dyke
@Keane.com To: "phpinstall
Hello. I have had a few versions of PHP installed starting with 4.06 and
most recently 4.1.2. I have now tried to upgrade to 4.2.0 and some of the
database querys come out empty. Ones that have been working for sometime on
all other versions. Luckily, this is simply on the development server a
Hello all.
I just got a new desktop, from Dell, and as all of their machines do
now, it comes with XP installed. On my last set up, i had win2000Pro with
Apache, Mysql, PHP and they all worked like a charm. Has anyone had any
luck with XP? I am still considering wiping the OS out totally a
You shoudln't have to do this, per the documentation, but reconfigure php
using --with-zlib. and it will work.
Hope this helps
Jeff
Serge
Hello
I have a bunch of sites that I build for my company, all running PHP.
Today a user accessed a page, accidentally mind you, by typing a ? followed
by a partial file name. Now, i can understand why. but this should not
happen. It does not happen on other webservers if the page is an .h
one thing is testing will always be a string in "double quotes"
These errors are showing up b/c you have error_reporting(E_ALL); set
essentially.
The script is working as it should. If you first set $testing = ""; or
$testing = null; this would work without the errors.
Hope this helps
Jeff
write.
Jeffrey_N_Dyke
@Keane.com To: "Yu, Ming" <[EMAIL PROTECTED]>
cc: "'[EMAIL
If you recompile using --with--zlib
you will get by this error.
This has happened to me many a time. I have the same set up.
Good Luck.
Jeff
"Yu, Ming"
Hello.
You should be able to run configure using --with-zblib. and this will
work.
Jeff
"Ma Youliang"
You will need OpenLdap installed on the server so PHP can use the LDAP
libraries that come with it. You can still connect to another server, but
you'll need the libraries on the server that PHP is running on.
Thanks to Micheal Mays for clearing this one up for me. We had this
discussion a cou
Hello All, i am new to this list and have a question. I apologize if this
has been answered in previous threads, but i have searched through the
archives and did not see what i was looking for, but there is a distinct
possibility that i am blind.
I am running Apache1.3.19/PHP/MYSQL(not that it
89 matches
Mail list logo