php-install Digest 30 Oct 2002 04:27:22 -0000 Issue 1094
Topics (messages 8957 through 8967):
Re: --with-ldap=cannot find ldap.h
8957 by: toby -
Problems "make"ing PHP 4.2.3 & 4.2.2
8958 by: Stephan Mehlhase
Compiling a completely static binary
8959 by: David Phillips
Strange server configuration
8960 by: claudel
8962 by: David Phillips
8963 by: Jim Thome
8966 by: claudel
problem with variables
8961 by: luis meneses
PHP 4.2.* & GD 2.0.4
8964 by: EG Ortego
Re: PHP4 as CGI on Apache
8965 by: Stephan Mehlhase
Question about install PHP4 with MySQL 3.23.53
8967 by: Liu, Zhilin (UMC-Student)
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 ---
look out for php_ldap.dll
make sure its in ur extensions folder
and if this doesnt help
try copying php_ldap.dll to ur apache folder too
hope this helps ....
good luck
toby ....
_________________________________________________________________
Unlimited Internet access for only $21.95/month. Try MSN!
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
--- End Message ---
--- Begin Message ---
I have a Problem while making PHP to my SuSe Linux 7.3 machine.
After configuring it (no additional parameters) I tried to make it, but
became a errormessage concerning "yacc"
There appeared how to use "yacc" and the making Process was canceled before
one File was compiled. That happend in the directory "Zend"
Can somebody help?
--- End Message ---
--- Begin Message ---
I would like to compile a completely static PHP CGI binary. I don't just
want the PHP modules compiled statically into the binary. I want ALL
libraries that PHP uses to be linked into the executable. ldd should say
"not a dynamic executable". I spent a good while messing around with all
the PHP build scripts but couldn't get it to work.
Is there an easy or recommended method for doing this? Is it possible to do
without redoing the build system? Has anyone succeeded in doing this?
I am wanting to do this to see if it decreases PHP startup time. PHP takes
a significant amount of time to startup and I think it is due at least in
part to all of the shared library dependencies. I am using PHP as a CGI on
a FreeBSD box under Zeus. PHP is running as a CGI for security. It is a
shared hosting environment, so all CGI scripts run as the owner of the
script.
--
David Phillips <[EMAIL PROTECTED]>
http://david.acz.org/
--- End Message ---
--- Begin Message ---
Hello. I have been using a hosted server for
a while, however they have recently changed the
configurations and until their support replies
I am left with the strange occurence of this:
http://63.160.181.101/test.php?var=test
The variable is not being passed via php. This has
happened to all the scripts on the server, leaving
a lot of searches unavailable, annoyingly.
Any idea why this would happen? Php itself is being
parsed, I can make database queries as long as I am
not relying on any passing any variables via http.
Rather confused. Any information would be appreciated.
Thanks. Claudel.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--- End Message ---
--- Begin Message ---
claudel writes:
> Hello. I have been using a hosted server for
> a while, however they have recently changed the
> configurations and until their support replies
> I am left with the strange occurence of this:
>
> http://63.160.181.101/test.php?var=test
>
> The variable is not being passed via php. This has
> happened to all the scripts on the server, leaving
> a lot of searches unavailable, annoyingly.
Show us the code. Most likely, they turned off register globals. Try this:
echo "var = $_GET[var]";
See this:
http://www.php.net/manual/en/print/language.variables.external.php
--
David Phillips <[EMAIL PROTECTED]>
http://david.acz.org/
--- End Message ---
--- Begin Message ---
http://www.php.net/manual/en/security.registerglobals.php
>>> claudel <[EMAIL PROTECTED]> 10/29/02 10:17 AM >>>
Hello. I have been using a hosted server for
a while, however they have recently changed the
configurations and until their support replies
I am left with the strange occurence of this:
http://63.160.181.101/test.php?var=test
The variable is not being passed via php. This has
happened to all the scripts on the server, leaving
a lot of searches unavailable, annoyingly.
Any idea why this would happen? Php itself is being
parsed, I can make database queries as long as I am
not relying on any passing any variables via http.
Rather confused. Any information would be appreciated.
Thanks. Claudel.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> Show us the code. Most likely, they turned off
> register globals.
Yes, I can now access variables via $_REQUEST.
After reading the registerglobals manual, I see
I have been relying on register_globals being on.
Now it that was turned off without my notification,
everything stopped working. Ironic, as it was one of
the reasons I began writing scripts in PHP rather than
the Perl I used for a few years ...
Thank you for your assistance. Claudel.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--- End Message ---
--- Begin Message ---
>
> I just updated to Red Hat 8.0 and I am having some
> problems with php and variables.
>
> When i try to pass a value in a variable it just
> doesn't get through.
>
> for example :
>
> index.php?var=1
>
> but noting happens....the page doesn't output the
> value..
>
> I am using Apache 2 and php 4.2.2
>
> please help!
>
>
>
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--- End Message ---
--- Begin Message ---
Iv'e been trying to compile php with gd,
I had been running PHP 4.2.1 and first tryed to use that version when I was
unsucessful I figured the next PHP version might be sucessful, well I I have gd
installed and working but get identical make errors in PHP-4.2.1 and PHP-4.2.3...
gcc -I. -I/usr/local/src/php-4.2.3/ext/gd -I/usr/local/src/php-4.2.3/main -I/usr
/local/src/php-4.2.3 -I/usr/local/src/apache_1.3.23//src/include -I/usr/local/sr
c/apache_1.3.23//src/os/unix -I/usr/local/src/php-4.2.3/Zend -I/usr/local/includ
e/freetype2/freetype -I/usr/local//include -I/usr/local/mysql/include/mysql -I/u
sr/local/src/php-4.2.3/ext/xml/expat -I/usr/local/src/php-4.2.3/TSRM -g -O2 -c
gd.c && touch gd.lo
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1
Any help would be apreciated.
HELP!
Cheers,
Eric.
--- End Message ---
--- Begin Message ---
On 28 Okt 2002, you wrote in php.install:
> Is there a way to tell
> apache to send the .php-files to the PHP-Interpreter?
You can edit your httpd.conf - what you have exactly to change, i don't
know - try looking at www.php.net
--- End Message ---
--- Begin Message ---
Hi,
I am trying to install php4.2.3 with the support of MySQL. I use rpm to install Mysql
as following:
rpm -i MySQL-3.23.53a-1.i386.rpm
rpm -i MySQL-client-3.23.53a-1.i386.rpm
rpm -i MySQL-devel-3.23.53a-1.i386.rpm
rpm -i MySQL-shared-3.23.53a-1.i386.rpm
MySQL was automatically installed to many directories like /usr/bin, /usr/include,
/usr/lib, ....
Now when I try to install PHP4.2.3 with the following command:
./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/??? --prefix=/usr/local/php
I always get the information : can't find header files under /???. I have tried
/usr/include/mysql and so on. No one seems to work. Does any one has any idea which
file php needs? Is there a way to solve this without reinstall MySQL? Or how do I use
rpm to specify the location (say /usr/local/mysql) to install those rpms?
Your help will be highly appreciated!
Jaleen
--- End Message ---