1
1
PHP4Delphi library
2
2
PHP - Delphi interface and PHP extensions development framework
3
3
4
- { $Id: readme.txt,v 7.4 2/2019 delphi32 Exp $ }
4
+ { $Id: readme.txt,v 7.4 07/2020 delphi32 Exp $ }
5
5
6
- PHP4Delphi is a Delphi interface to PHP for Delphi 5, 6, 7, Delphi 2005 - Delphi Berlin
6
+ PHP4Delphi is a Delphi interface to PHP for Delphi {2007, ..., Berlin}
7
7
8
8
PHP4Delphi consists of 3 big subprojects:
9
9
@@ -29,22 +29,18 @@ More detail information available in php4Delphi manual php4Delphi.pdf
29
29
30
30
31
31
This is a source-only release of php4Delphi. It includes
32
- design-time and run-time packages for Delphi 5 through Delphi Berlin
32
+ design-time and run-time packages for Delphi 2007 through Delphi Berlin
33
33
34
34
35
35
36
36
History:
37
- 7.4.1 Mar 2019
38
-
39
- * Added unicode support
40
-
41
- 7.4 Feb 2019
37
+ 7.4 Mar 2019
42
38
43
39
* Compatible with PHP 5.5.0
44
40
* Compatible with PHP 5.6.0
45
- * Compatible with PHP 5.6
41
+ * Compatible with PHP 5.6.x
46
42
* Compatible with Delphi 2011, XE8, Seattle, Berlin
47
- * Added Partial Unicode Support
43
+ * Added unicode support
48
44
49
45
7.3 Jan 2019
50
46
@@ -196,223 +192,31 @@ c:\winnt or c:\winnt40 for NT/2000/XP servers
196
192
197
193
How to install php4Delphi library:
198
194
199
- 1. Delphi 5.x:
200
-
201
- Uninstall previous installed version of php4Delphi Library from Delphi 5 IDE.
202
- Remove previously compiled php4Delphi packages from your hard disk.
203
-
204
- Select PHP version you are going to use. php4Delphi supports PHP 4.x and PHP 5.x,
205
- but not at the same time. You have to compile php4Delphi for selected target version of PHP.
206
-
207
- Open PHP.INC file.
208
- If you are using PHP5:
209
- a) Comment (remove) PHP4 directive {$DEFINE PHP4}
210
- b) Uncomment (remove dot) directive {$DEFINE PHP5}
211
- c) Save PHP.INC file
212
-
213
- If you are using PHP4:
214
- a) Comment (remove) PHP5 directive {$DEFINE PHP5}
215
- b) Uncomment (remove dot) directive {$DEFINE PHP4}
216
- c) If you are using PHP version 4.2.x...4.3.0 add {$DEFINE PHP430} and remove {$DEFINE PHP433}
217
- If you are using PHP version 4.3.3...4.3.x add {$DEFINE PHP433} and remove {$DEFINE PHP430}
218
- d) Save PHP.INC file
219
-
220
- Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
221
- package php4DelphiR5.dpk. In "Package..." window click "Compile" button to
222
- compile packages php4DelphiR5.dpk.
223
- Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
224
- "PATH" environment variable;
225
- for example, in the Windows\System directory).
226
-
227
- After compiling php4Delphi run-time package you must install design-time
228
- package into the IDE.
229
-
230
- Use "File\Open..." menu item to open design-time package php4DelphiD5.dpk.
231
- In "Package..." window click "Compile" button to compile the package
232
- and then click "Install" button to register php4Delphi Library
233
- components on the component palette.
234
-
235
-
236
- 2. Delphi 6.x:
237
-
238
- Uninstall previous installed version of php4Delphi Library from Delphi 6 IDE.
239
- Remove previously compiled php4Delphi packages from your hard disk.
240
-
241
- Select PHP version you are going to use. php4Delphi supports PHP 4.x and PHP 5.x,
242
- but not at the same time. You have to compile php4Delphi for selected target version of PHP.
243
-
244
- Open PHP.INC file.
245
- If you are using PHP5:
246
- a) Comment (remove) PHP4 directive {$DEFINE PHP4}
247
- b) Uncomment (remove dot) directive {$DEFINE PHP5}
248
- c) Save PHP.INC file
249
-
250
- If you are using PHP4:
251
- a) Comment (remove) PHP5 directive {$DEFINE PHP5}
252
- b) Uncomment (remove dot) directive {$DEFINE PHP4}
253
- c) If you are using PHP version 4.2.x...4.3.0 add {$DEFINE PHP430} and remove {$DEFINE PHP433}
254
- If you are using PHP version 4.3.3...4.3.x add {$DEFINE PHP433} and remove {$DEFINE PHP430}
255
- d) Save PHP.INC file
256
-
257
- Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
258
- package php4DelphiR6.dpk. In "Package..." window click "Compile" button to
259
- compile packages php4DelphiR6.
260
- Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
261
- "PATH" environment variable;
262
- for example, in the Windows\System directory).
263
-
264
- After compiling php4Delphi run-time package you must install design-time
265
- package into the IDE.
266
-
267
- Use "File\Open..." menu item to open design-time package php4DelphiD6.dpk.
268
- In "Package..." window click "Compile" button to compile the package
269
- and then click "Install" button to register php4Delphi Library
270
- components on the component palette.
271
-
272
- 3. Delphi 7.x:
273
-
274
- Uninstall previous installed version of php4Delphi Library from Delphi 7 IDE.
275
- Remove previously compiled php4Delphi packages from your hard disk.
276
-
277
- Select PHP version you are going to use. php4Delphi supports PHP 4.x and PHP 5.x,
278
- but not at the same time. You have to compile php4Delphi for selected target version of PHP.
279
-
280
- Open PHP.INC file.
281
- If you are using PHP5:
282
- a) Comment (remove) PHP4 directive {$DEFINE PHP4}
283
- b) Uncomment (remove dot) directive {$DEFINE PHP5}
284
- c) Save PHP.INC file
285
-
286
- If you are using PHP4:
287
- a) Comment (remove) PHP5 directive {$DEFINE PHP5}
288
- b) Uncomment (remove dot) directive {$DEFINE PHP4}
289
- c) If you are using PHP version 4.2.x...4.3.0 add {$DEFINE PHP430} and remove {$DEFINE PHP433}
290
- If you are using PHP version 4.3.3...4.3.x add {$DEFINE PHP433} and remove {$DEFINE PHP430}
291
- d) Save PHP.INC file
292
-
293
- Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
294
- package php4DelphiR7.dpk. In "Package..." window click "Compile" button to
295
- compile packages php4DelphiR7.dpk.
296
- Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
297
- "PATH" environment variable;
298
- for example, in the Windows\System directory).
299
-
300
- After compiling php4Delphi run-time package you must install design-time
301
- package into the IDE.
302
-
303
- Use "File\Open..." menu item to open design-time package php4DelphiD7.dpk
304
- In "Package..." window click "Compile" button to compile the package
305
- and then click "Install" button to register php4Delphi Library
306
- components on the component palette.
307
-
308
-
309
- 4. Delphi 2005:
310
-
311
- Uninstall previous installed version of php4Delphi Library from Delphi 2005 IDE.
312
- Remove previously compiled php4Delphi packages from your hard disk.
313
-
314
- Select PHP version you are going to use. php4Delphi supports PHP 4.x and PHP 5.x,
315
- but not at the same time. You have to compile php4Delphi for selected target version of PHP.
316
-
317
- Open PHP.INC file.
318
- If you are using PHP5:
319
- a) Comment (remove) PHP4 directive {$DEFINE PHP4}
320
- b) Uncomment (remove dot) directive {$DEFINE PHP5}
321
- c) Save PHP.INC file
322
-
323
- If you are using PHP4:
324
- a) Comment (remove) PHP5 directive {$DEFINE PHP5}
325
- b) Uncomment (remove dot) directive {$DEFINE PHP4}
326
- c) If you are using PHP version 4.2.x...4.3.0 add {$DEFINE PHP430} and remove {$DEFINE PHP433}
327
- If you are using PHP version 4.3.3...4.3.x add {$DEFINE PHP433} and remove {$DEFINE PHP430}
328
- d) Save PHP.INC file
329
-
330
- Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
331
- package php4DelphiR2005.dpk. In "Package..." window click "Compile" button to
332
- compile packages php4DelphiR2005.dpk.
333
- Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
334
- "PATH" environment variable;
335
- for example, in the Windows\System directory).
336
-
337
- After compiling php4Delphi run-time package you must install design-time
338
- package into the IDE.
339
-
340
- Use "File\Open..." menu item to open design-time package php4DelphiD2005.dpk
341
- In "Package..." window click "Compile" button to compile the package
342
- and then click "Install" button to register php4Delphi Library
343
- components on the component palette.
344
-
345
-
346
-
347
- 5. Delphi 2006:
348
-
349
- Uninstall previous installed version of php4Delphi Library from Delphi 2006 IDE.
350
- Remove previously compiled php4Delphi packages from your hard disk.
351
-
352
- Select PHP version you are going to use. php4Delphi supports PHP 4.x and PHP 5.x,
353
- but not at the same time. You have to compile php4Delphi for selected target version of PHP.
354
-
355
- Open PHP.INC file.
356
- If you are using PHP5:
357
- a) Comment (remove) PHP4 directive {$DEFINE PHP4}
358
- b) Uncomment (remove dot) directive {$DEFINE PHP5}
359
- c) Save PHP.INC file
360
-
361
- If you are using PHP4:
362
- a) Comment (remove) PHP5 directive {$DEFINE PHP5}
363
- b) Uncomment (remove dot) directive {$DEFINE PHP4}
364
- c) If you are using PHP version 4.2.x...4.3.0 add {$DEFINE PHP430} and remove {$DEFINE PHP433}
365
- If you are using PHP version 4.3.3...4.3.x add {$DEFINE PHP433} and remove {$DEFINE PHP430}
366
- d) Save PHP.INC file
367
-
368
- Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
369
- package php4DelphiR2006.dpk. In "Package..." window click "Compile" button to
370
- compile packages php4DelphiR2006.dpk.
371
- Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
372
- "PATH" environment variable;
373
- for example, in the Windows\System directory).
374
-
375
- After compiling php4Delphi run-time package you must install design-time
376
- package into the IDE.
377
-
378
- Use "File\Open..." menu item to open design-time package php4DelphiD2006.dpk
379
- In "Package..." window click "Compile" button to compile the package
380
- and then click "Install" button to register php4Delphi Library
381
- components on the component palette.
382
-
383
-
384
- 6. Delphi 2007:
195
+ Delphi 2007 & up:
385
196
386
197
Uninstall previous installed version of php4Delphi Library from Delphi 2007 IDE.
387
198
Remove previously compiled php4Delphi packages from your hard disk.
388
199
389
- Select PHP version you are going to use. php4Delphi supports PHP 4.x and PHP 5.x,
200
+ Select PHP version you are going to use. php4Delphi supports PHP 5.x,
390
201
but not at the same time. You have to compile php4Delphi for selected target version of PHP.
391
202
392
203
Open PHP.INC file.
393
204
If you are using PHP5:
394
- a) Comment (remove) PHP4 directive {$DEFINE PHP4}
395
- b) Uncomment (remove dot) directive {$DEFINE PHP5}
205
+ a) Uncomment (remove dot) from definition of suitable php, VC, Visual Library and architecture version
206
+ b) Uncomment (remove dot) from definition of prefered features in the feature block of the PHP.INC file
396
207
c) Save PHP.INC file
397
208
398
- If you are using PHP4:
399
- a) Comment (remove) PHP5 directive {$DEFINE PHP5}
400
- b) Uncomment (remove dot) directive {$DEFINE PHP4}
401
- c) If you are using PHP version 4.2.x...4.3.0 add {$DEFINE PHP430} and remove {$DEFINE PHP433}
402
- If you are using PHP version 4.3.3...4.3.x add {$DEFINE PHP433} and remove {$DEFINE PHP430}
403
- d) Save PHP.INC file
404
-
405
209
Use "File\Open..." menu item of Delphi IDE to open php4Delphi runtime
406
- package php4DelphiR2007 .dpk. In "Package..." window click "Compile" button to
407
- compile packages php4DelphiR2007.dpk .
210
+ choose suitable Runtime package php4DelphiR(Your Delphi Version) .dpk; In "Package..." window click "Compile" button to
211
+ compile packages.
408
212
Put compiled BPL file into directory that is accessible through the search PATH (i.e. DOS
409
213
"PATH" environment variable;
410
214
for example, in the Windows\System directory).
411
215
412
216
After compiling php4Delphi run-time package you must install design-time
413
217
package into the IDE.
414
218
415
- Use "File\Open..." menu item to open design-time package php4DelphiD2007 .dpk
219
+ Use "File\Open..." menu item to open design-time package php4DelphiD(Your Delphi Version) .dpk
416
220
In "Package..." window click "Compile" button to compile the package
417
221
and then click "Install" button to register php4Delphi Library
418
222
components on the component palette.
0 commit comments