This topic explains how to install, run, and extend the QuickStart sample as provided in the PHP programming language.
The PHP QuickStart sample is preconfigured to use default values for the application ID, secret key, and return URL parameters. The return URL is preconfigured to point to http://localhost/webauth/sample/webauth-handler.php.
On an openSUSE 10.2 Linux platform, ensure that the apache2, apache2-mod_PHP5, php5-mhash, php5-mcrypt, php5-openssl, php5-dba, php5-hash, and php5-dom packages are installed by means of the YaST tool.
Locate the <Directory "/srv/www/htdocs"> section (where "/srv/www/htdocs" is the document root for http://localhost/) and change the AllowOverride None line to AllowOverride All. This modification permits the .htaccess file that is included in the Web Authentication PHP package to take effect. You can inspect this file and make changes directly in the Apache configuration if you do not want to enable .htaccess overrides on the localhost.
These functions build the foundation for accessing Berkeley DB
style databases.
This is a general abstraction layer for several file-based databases.
As such, functionality is limited to a common subset of features
supported by modern databases such as
Sleepycat Software's DB2.
(This is not to be confused with IBM's DB2 software, which is
supported through the ODBC functions.)
flatfile
This is available since PHP 4.3.0 for compatibility with the deprecated
dbm extension only and should be avoided.
However you may use this where files were created in this format. That
happens when configure could not find any external library.
ArrayObject::__construct (no version information, might be only in CVS)ArrayObject::__construct --
Construct a new array object
Descriptionvoid ArrayObject::__construct ( mixed input)
This constructs a new array object. The input
parameter accepts an array or another ArrayObject.
After users successfully sign in or out, the Windows Live ID service responds by redirecting them to your Web site—specifically to the return URL that you specified when you registered your application. You must implement a dynamic page on your site to receive and appropriately process this response.
For Windows installations you should download the version of
Apache for Windows with the .msi extension. This is a
single Microsoft Installer file, which contains a ready-to-run
version of Apache. There is a separate .zip file,
which contains only the source code. You can compile Apache
yourself with the Microsoft Visual C++ (Visual Studio) tools.
A full install will require about 13 megabytes of free
disk space.
Apache for Windows contains the ability to load modules at
runtime, without recompiling the server
Apache can also load ISAPI (Internet Server Application
Programming Interface) extensions (i.e. internet server
applications), such as those used by Microsoft IIS and other
Windows servers.
If you use the first command without any special parameters except
-k install, the service will be called Apache2
and the configuration will be assumed to be conf\httpd.conf.
You can also restart a running service and force it to reread
its configuration file by using:
httpd -k restart
The \xampp\apache\bin\php.ini is the correct one! The others in the \xampp\php directory are only for PHP in CGI/CLI mode. So configure the \xampp\apache\bin\php.ini for web changes.
Modifications in the php.ini will be saved also after the "PHP switch" (the changing of the PHP version). And note: Modifications in the php.ini and in the httpd.conf always need a Apache restart!