php-install Digest 6 Mar 2003 00:50:45 -0000 Issue 1278
Topics (messages 10289 through 10293):
Re: ms sql
10289 by: Adam Voigt
php with Curl?
10290 by: Justin Williams
PHP-4.3.1 AIX 4.3.3
10291 by: ODELL, TODD E (SWBT)
PHP script stars downloading
10292 by: Jitendra Rane
php.ini changes not taking
10293 by: Stembridge, Michael
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 ---
Your web server where your trying to install PHP, running Windows or Linux?
On Wed, 2003-03-05 at 02:54, Nathaniel P. Wilkerson wrote:
This is because the PHP extension for mssql is not enabled. I haven't yet been able to
figure how to configure the PHP.ini file to load this extension, everytime I try to have
it load it automatically it keeps complaining about not being able to find the extension.
I just subscribed to the PHP mailing list to see if I can find out what is causing this
problem
Rachel Wilkerson Tolman wrote:
>
>
> -------- Original Message --------
> Subject: mssql_connect()
> Date: Mon, 3 Mar 2003 18:39:00 -0700
> From: Joel Otterstrom <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> CC: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>
>
>
> we found that this function is not compiled into php
>
> mssql_connect()
>
> the whole mssql library doesn't seem to be working with your PHP
>
> thanks
> joel
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
|
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Here's a new one... I just tried to compile PHP --with-curl. I have Curl v 9.4.4,
which the PHP site says should be fine, and I am using PHP 4.3.1 (snapshot from Feb
25). The snapshot tells me I should have Curl 9.8 or higher.
Has anybody successfully compiled with curl?
I have curl installed via RPM, and am really hesitant to just uninstall that, since it
will cause bonus buncha dependencies to fail... Additionally, I am hesitant to just
compile curl 10.3 (the latest source available), as I am not sure how the rpm is going
to react to that...
Any words of wisdom from the gurus that be?
Thanks!
Justin
--- End Message ---
--- Begin Message ---
Hello,
PHP Version: 4.3.1
AIX Version: 4.3.3
Compiler: C for AIX 4.4.0.3
Apache: 2.0.44
I'm trying to compile a DSO php for Apache. When I ran configure as such:
./configure --with-informix --with-apxs2=/apache3/bin/apxs
It seems to run ok except this at the end:
+--------------------------------------------------------------------+
| *** NOTE *** |
| The default for register_globals is now OFF! |
| |
| If your application relies on register_globals being ON, you |
| should explicitly set it to on in your php.ini file. |
| Note that you are strongly encouraged to read |
| http://www.php.net/manual/en/security.registerglobals.php
<http://www.php.net/manual/en/security.registerglobals.php> |
| about the implications of having register_globals set to on, and |
| avoid using it if possible. |
+--------------------------------------------------------------------+
./config.status[1754]: 6: bad file unit number
./config.status[1755]: 6: bad file unit number
When I go ahead and ran make I get warnings and finally an error from make:
*Example
...
cc -I/store/php-4.3.1/ext/mysql/libmysql -Iext/mysql/
-I/store/php-4.3.
1/ext/mysql/ -DPHP_ATOM_INC -I/store/php-4.3.1/include
-I/store/php-4.3.1/main
-I/store/php-4.3.1 -I/store/php-4.3.1/Zend -I/store/php-4.3.1/ext/xml/expat
-D
__H_LOCALEDEF -I/store/php-4.3.1/TSRM -g -c
/store/php-4.3.1/ext/mysql/libmys
ql/libmysql.c -o ext/mysql/libmysql/libmysql.o && echo >
ext/mysql/libmysql/li
bmysql.lo
"/store/php-4.3.1/ext/mysql/libmysql/mysql.h", line 181.14: 1506-731 (W) The
'_
Export' keyword is not supported on the target platform. The keyword is
ignore
d.
...
Then the
'1506-731 (W) The '_Export' keyword' line repeats some hundred times or so.
Is that a normal warning? Or is something wrong with the header file, or ?
Later make exits with this error:
cc -I/store/php-4.3.1/ext/mysql/libmysql -Iext/mysql/
-I/store/php-4.3.
1/ext/mysql/ -DPHP_ATOM_INC -I/store/php-4.3.1/include
-I/store/php-4.3.1/main
-I/store/php-4.3.1 -I/store/php-4.3.1/Zend -I/store/php-4.3.1/ext/xml/expat
-D
__H_LOCALEDEF -I/store/php-4.3.1/TSRM -g -c
/store/php-4.3.1/ext/mysql/libmys
ql/my_delete.c -o ext/mysql/libmysql/my_delete.o && echo >
ext/mysql/libmysql/
my_delete.lo
cc -I/store/php-4.3.1/ext/mysql/libmysql -Iext/mysql/
-I/store/php-4.3.
1/ext/mysql/ -DPHP_ATOM_INC -I/store/php-4.3.1/include
-I/store/php-4.3.1/main
-I/store/php-4.3.1 -I/store/php-4.3.1/Zend -I/store/php-4.3.1/ext/xml/expat
-D
__H_LOCALEDEF -I/store/php-4.3.1/TSRM -g -c
/store/php-4.3.1/ext/mysql/libmys
ql/my_tempnam.c -o ext/mysql/libmysql/my_tempnam.o && echo >
ext/mysql/libmysq
l/my_tempnam.lo
"/store/php-4.3.1/ext/mysql/libmysql/my_tempnam.c", line 99.5: 1506-025 (S)
Ope
rand must be a modifiable lvalue.
"/store/php-4.3.1/ext/mysql/libmysql/my_tempnam.c", line 105.3: 1506-025 (S)
Op
erand must be a modifiable lvalue.
make: 1254-004 The error code from the last command is 1.
Stop.
I've seen more stuff in the archive about the my_temname.c causing some
problems but I don't see anything quite like this. Any thoughts appreciated.
Thanks!
Todd E. O'Dell
Network Services - TSS Staff
Room 1118
500 E. 8th
Kansas City, MO 64106
Office: (816)275-3626
Alpha Page: [EMAIL PROTECTED]
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi ppl,
I am using redhat Linux 8.0 as operating system. I have installed apache 2.0 and PHP
using the packet manager of the Redhat Linux 8. (which by default comes with the
operating system).
But it is giving error. When i try to run php script. It starts downloading the
script instead of executing it.
I only enabled the SSI on the apache and other settings are default.
Error_log is also not showing any error.
Any help in this matter is appreciated.
Thanking u in advance,
Jitendra.
--- End Message ---
--- Begin Message ---
I'm almost at my wits end with this problem. This is a new install
of PHP 4.3 & Apache 1.3.27 on a Redhat 8.0 machine. Php works fine
with the exception of configuration file changes...
This is a local network not seen by the rest of the world and I would
like to register_globals in the ini file as opposed to using ini_set
or recoding several large projects to use $_GET[var] and $_POST[var].
On to the diagnosis.
>From phpinfo()...
PHP Version 4.3.1
Configure Command './configure' '--with-mysql'
'--with-informix=/opt/informix' '--enable-track-vars'
'--with-apache=/share/source/apache/apache_1.3.27'
'--with-config-file-path=/usr/local/apache/conf'
Configuration File (php.ini) Path /usr/local/apache/conf
register_globals Off Off
...........................
from command line...
ls -l /usr/local/apache/conf/php.ini
-rw-r--r-- 1 mstembri mstembri 23723 Mar 5 19:33 php.ini
-- note apache runs as user mstembri (confirmed in httpd.conf)
...........................
from /usr/local/apache/conf/php.ini ...
register_globals = On
...........................
I've also tried using ini_set("register_globals", "On"); but this also
doesn't work.
For kicks I tried chowning the file to nobody then restarted apache,
however this did not help.
Even though phpinfo() says apache looks for the file in
/usr/local/apache/conf I copied the php.ini to /usr/local/bin and /etc
- no luck there either.
I also copied the working php.ini file from another RH server using
php 4.0.6, but still no luck with changing php configuration.
I've spent the past two hours reading google and google groups trying
everything that has worked for others. I'm running out of options.
Any other ideas or suggestions?
Michael Stembridge
--- End Message ---