php-install Digest 12 Sep 2001 10:35:02 -0000 Issue 454

Topics (messages 4280 through 4282):

Cannot find documentation of sql.safe_mode
        4280 by: Sven M. Sorensen

Undeclared erros when buildin 4.0.6
        4281 by: Jeremy Wadsack

php problems
        4282 by: imran anwar

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]


----------------------------------------------------------------------


After some experimentation I realized that it was sql.safe_mode=On 
and not safe_mode=On that prevented me from using 
mysql_connect(host,userid,passwd) in a shell script with PHP 4.0.6 as 
CGI/shell-application under RedHat Linux.

A search for sql.safe_mode on www.php.net turned up gems like

"sql.safe_mode boolean" (with no explanation) in 
http://www.php.net/manual/en/configuration.php

and "mysql_*()  sql_safe_mode restrictions, (!= Safe Mode)" in 
http://www.php.net/manual/en/features.safe-mode.php

but no hard explanation of what sql.safe_mode actually does.

Can anyone give me a hint where to find more about sql.safe_mode, 
short of reading the source code?

Sven M. Sorensen
University of Southern Denmark





I'm getting this error message when trying to build 4.0.6 on an x86
Linux (2.2.16 Kernel).

dns.c: In function `php_if_checkdnsrr':
dns.c:188: `T_MX' undeclared (first use in this function)
dns.c:188: (Each undeclared identifier is reported only once
dns.c:188: for each function it appears in.)
dns.c:197: `T_A' undeclared (first use in this function)
dns.c:198: `T_NS' undeclared (first use in this function)
dns.c:200: `T_PTR' undeclared (first use in this function)
dns.c:201: `T_ANY' undeclared (first use in this function)
dns.c:202: `T_SOA' undeclared (first use in this function)
dns.c:203: `T_CNAME' undeclared (first use in this function)
dns.c:212: `C_IN' undeclared (first use in this function)
dns.c: In function `php_if_getmxrr':
dns.c:242: `HEADER' undeclared (first use in this function)
dns.c:242: `hp' undeclared (first use in this function)
dns.c:243: parse error before `*'
dns.c:281: `i' undeclared (first use in this function)
dns.c:281: `C_IN' undeclared (first use in this function)
dns.c:281: `T_MX' undeclared (first use in this function)
dns.c:286: parse error before `)'
dns.c:287: `cp' undeclared (first use in this function)
dns.c:288: `end' undeclared (first use in this function)


I had similar problem with 4.0.5 and skipped it, but I need to update
now. Can anyone tell me what's going on? I assume this build somewhere
so this must be a broken or missing header?

Thanks,

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group





HI Dear PHP team,
                 you people are really doing great job. I have just started learing 
php. i downloaded php.exe from php.net site and installed it on c:\ drive of my 
system.I have already installed "personal web server".I am using windows-98 on my 
system.

i also made changes in the windows-reg according to the instructions in the in 
php-install file.

i made a test.php file with code...

<?php phpinfo();?>

and save it to the personal web server's directory C:\Inetpub\wwwroot\test.php,

then i opened the my browser and gave it the address "http://localhost/test.php"; and 
found a error message..
------------------------------------------

HTTP Error 403
403.1 Forbidden: Execute Access Forbidden

This error can be caused if you try to execute a CGI, ISAPI, or other executable 
program from a directory that does not allow programs to be executed.

Please contact the Web server's administrator if the problem persists.

------------------------------------------

please inform me that if i have followed the right steps in installing and configuring 
web server.If not than what right steps i should take to run php files properly.



-- 

_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 





Reply via email to