File: troubleshooting.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (49 lines) | stat: -rw-r--r-- 2,050 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision: 297078 $ -->
 <sect2 xml:id="internals2.ze1.zendapi.troubleshooting" xmlns="http://docbook.org/ns/docbook"> 
  <title>Troubleshooting</title> 
  <para>
   Actually, not much troubleshooting can be done when compiling
   static or dynamic modules. The only problem that could arise is
   that the compiler will complain about missing definitions or
   something similar. In this case, make sure that all header files
   are available and that you specified their path correctly in the
   compilation command. To be sure that everything is located
   correctly, extract a clean PHP source tree and use the automatic
   build in the <filename>ext</filename> directory with the fresh
   files; this will guarantee a safe compilation environment. If this
   fails, try manual compilation.  </para>
  <para>
   PHP might also complain about missing functions in your module.
   (This shouldn't happen with the sample sources if you didn't modify
   them.) If the names of external functions you're trying to access
   from your module are misspelled, they'll remain as "unlinked
   symbols" in the symbol table. During dynamic loading and linkage by
   PHP, they won't resolve because of the typing errors - there are no
   corresponding symbols in the main binary. Look for incorrect
   declarations in your module file or incorrectly written external
   references. Note that this problem is specific to dynamic loadable
   modules; it doesn't occur with static modules. Errors in static
   modules show up at compile time.
  </para> 
 </sect2> 
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->