在官方Build your own PHP on Windows手册中,关于版本Option Compare Database
Option Explicit
Public Sub CreateRelationship(relationshipName As String, _
parentTableName As String, childTableName As String, _
parentTablePkName As String, childTableFkName As String)
Dim cdb As DAO.Database
Set cdb = CurrentDb
Dim rel As DAO.Relation
Set rel = cdb.CreateRelation(relationshipName, parentTableName, _
childTableName, dbRelationDontEnforce)
rel.Fields.Append rel.CreateField(parentTablePkName) ' parent PK
rel.Fields(parentTablePkName).ForeignName = childTableFkName ' child FK
cdb.Relations.Append rel
Set rel = Nothing
Set cdb = Nothing
End Sub
命令的信息是{7}},用于PHP 7.请有人告诉我,我究竟必须编写此命令才能获得相同的信息PHP与官方NTS预编译版相比?
我尝试configure
,但在编译后的snapshot.txt中,我发现configure --enable-snapshot-build --enable-debug-pack --disable-zts --with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared
在官方发布中不存在...
答案 0 :(得分:1)
答案已接近 - phpinfo()
中的“Configure Command”参数包含编译中使用的实际configure
参数。