Does the new PHP5 force globals off? Because even if I turn on globals, my
script still does nothing =\.

"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> you may need to change php.ini
>
> register_globals = off
>
> eg. $_SERVER["PHP_SELF"]
>
> to
>
> register_globals = on
>
> eg. $PHP_SELF
>
> by the way, register_globals = on is not recommended.
>
> Azn wrote:
> > Whats the error? I got PHP5 to work, except I still have a problem with
my
> > configuration. My PHP files that use $PHP_SELF? does not work... along
with
> > other PHP functions.
> > I have yet to try MySQL on PHP5 because I cant use any of my scripts
that
> > use MySQL!
> >
> > "Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Help!!!
> >>
> >>I just installed PHP 5.0.0 Beta 1 with Apache on W2K SP4, and I also
> >>read though the postings.  The problem is that we have to use mysql
> >>clients which comes with mysql to use PHP. I read following mysql docs,
> >>and I don't have any clue, anyone?
> >>
> >>-----------------------------------------------------------------------
> >>2.6.2.6 Compiling MySQL Clients on Windows
> >>
> >>In your source files, you should include `windows.h' before you include
> >>`mysql.h':
> >>
> >>#if defined(_WIN32) || defined(_WIN64)
> >>#include <windows.h>
> >>#endif
> >>#include <mysql.h>
> >>
> >>You can either link your code with the dynamic `libmysql.lib' library,
> >>which is just a wrapper to load in `libmysql.dll' on demand, or link
> >>with the static `mysqlclient.lib' library.
> >>
> >>Note that as the mysqlclient libraries are compiled as threaded
> >>libraries, you should also compile your code to be multi-threaded!
> >>------------------------------------------------------------------------
> >>
> >>PHP 5.0x installation on W2K (apache module)
> >>
> >>Here is my prog. and conf.
> >>
> >>php-5.0.0b1-Win32.zip
> >>mysql-4.0.13-win.zip
> >>apache_20.046-win32-x86-no_src.msi
> >>
> >>1. edit httpd.conf
> >>
> >>LoadModule php5_module C:\php\sapi\php4apache2.dll
> >>
> >>#
> >># To use PHP scripts
> >>#
> >>AddType application/x-httpd-php .php
> >>AddType application/x-httpd-php-source .phps
> >>
> >>2. copy c:\php\php4ts.dll to c:\winnt\system32
> >>
> >>3. edit c:\winnt\php.ini
> >>
> >>; Windows: "\path1;\path2"
> >>include_path = ".;c:\php\dlls"
> >>
> >>; Directory in which the loadable extensions (modules) reside.
> >>extension_dir = "c:\php\extensions\"
> >>
> >>upload_tmp_dir = c:\tmp
> >>
> >>session.save_path = c:\tmp
> >>
> >
> >
> >
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to