forked from eeeewwqq/pecl-pdo-4d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
54 lines (36 loc) · 1.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Installing PDO_4D
---------------
4D is a registered trademark of 4D SAS
BUILDING ON UNIX etc.
=====================
To compile your new extension, you will have to execute the following steps:
1. $ phpize
2. $ ./configure --with-pdo_4d
3. $ make clean
4. $ make
5. $ make test
6. $ [sudo] make install
BUILDING ON WINDOWS
===================
The extension provides the VisualStudio V6 project file
pdo_4d.dsp
To compile the extension you open this file using VisualStudio,
select the apropriate configuration for your installation
(either "Release_TS" or "Debug_TS") and create "php_pdo_4d.dll"
After successfull compilation you have to copy the newly
created "pdo_4d.dll" to the PHP
extension directory (default: C:\PHP\extensions).
TESTING
=======
You can now load the extension using a php.ini directive
extension="pdo_4d.[so|dll]"
or load it at runtime using the dl() function
dl("pdo_4d.[so|dll]");
The extension should now be available, you can test this
using the extension_loaded() function:
if (extension_loaded("pdo_4d"))
echo "pdo_4d loaded :)";
else
echo "something is wrong :(";
The extension will also add its own block to the output
of phpinfo();