{"id":228,"date":"2011-06-06T07:33:00","date_gmt":"2011-06-06T07:33:00","guid":{"rendered":"http:\/\/pheonixsolutions.com\/?p=228"},"modified":"2011-06-06T07:33:00","modified_gmt":"2011-06-06T07:33:00","slug":"apache-with-php-zend-phase-error","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/","title":{"rendered":"Apache with PHP &#8220;Zend Phase error&#8221;"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\">Apache with PHP. <\/p>\n<p>Source installation of apache with PHP. <\/p>\n<p>Notes.<br \/>> If you try to install php-5.3  you will end up with &#8220;Zend parse error&#8221;. Please try to install <br \/>PHP-5.2 or lower.<\/p>\n<p>> Please check whether you have installed &#8216;gcc&#8217; and &#8216;Mysql&#8217; and also ensure that Mysql is running.<\/p>\n<p>Please follow the steps bellow to install Apache with PHP <\/p>\n<p>\u00c2\u00a0===================<\/p>\n<h3>Compilation <a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"process\">Process<\/a><\/h3>\n<p><b>Login as root to follow these steps.<\/b><br \/>As I earlier said, we are going to build PHP as Apache 2 shared  module. Apache provides a       facility to extend its functionality using separate modules. When  PHP is compiled as Apache       shared module its object code is not included in httpd binary.  Instead, it works as a separate       module which can be loaded by Apache and can also be disabled.<\/p>\n<h4><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"apache\">Compiling Apache<\/a><\/h4>\n<p>Using shell, (or open a new virtual console window if working  in X Windows) change to       directory where you have downloaded Apache 2 source. In my case it  is \/usr\/src.<br \/><code>$ cd \/usr\/src<\/code><\/p>\n<blockquote><p><b>{Note}<\/b> Beginners please note that $ is the just  shell prompt symbol and it shouldn&#8217;t be typed. It       is used just to show that these lines should be typed at shell  prompt.<\/p><\/blockquote>\n<p>Then we have to extract Apache source code from compressed  httpd-2.0.44.tar.gz. To       decompress this file use:<br \/><code>$ gunzip httpd-2.0.44.tar.gz<\/code> or <code>gzip -d  httpd-2.0.44.tar.gz or<\/code><br \/><code>$ wget http:\/\/httpd.apache.org\/download.cgi#apache20<\/code><\/p>\n<p>Now you will have a new file named httpd-2.0.44.tar in your  current directory. Now to       extract its contents use:<br \/><code>$ tar -xvf httpd-2.0.44.tar<\/code><\/p>\n<p>Both above steps can be completed with a single command:<br \/><code>$ tar -zxvf httpd-2.0.44.tar.gz<\/code>       <br \/>A new directory httpd-2.0.44 will be created in your current  directory. For me it is \/usr\/src\/httpd-2.0.44.<br \/>Now change to this directory:<br \/><code>$ cd \/usr\/src\/httpd-2.0.44<\/code><\/p>\n<p>Now we have to configure apache for compilation.<\/p>\n<h5><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"configure\">Configure <\/a>Script<\/h5>\n<p>Almost every software which comes with its source code contains  a <i>configure<\/i> script,       which performs many checks and then prepares software for  compilation. For example, it checks       which kind of compiler is available and whether required libraries  are installed or not. It       also enables us to customize software according to our  requirements. For example, we can       specify where software will be installed.<\/p>\n<p>Name of this script is normally <i>configure<\/i>. Apache also  provides a configure script       file named <i>configure<\/i> in its source directory  (\/usr\/src\/httpd-2.0.44 in my case). Using       this script we can decide where Apache will be installed and which  optional modules we want to       compile etc. There are many options which can be supplied to <i>configure<\/i>.  To see a list       of options supported by configure, type:<br \/><code>$ .\/configure --help<\/code><\/p>\n<p>It will show a complete list of all options supported by the  version of Apache that you have       downloaded.<br \/>These options       normally start with a &#8220;&#8211;with-xxx&#8221; and &#8220;&#8211;enable-xxx&#8221; and are  separated by       space. Where xxx is the name of the option like <i>&#8211;enable-so<\/i>  (for apache configure       script) and <i>&#8211;with-mysql<\/i> (for PHP configure script).  Options we will be using for       Apache are <i>&#8211;prefix<\/i> and <i>&#8211;enable-so<\/i>.<br \/>Execute this command in the Apache source directory:<br \/><code>$ .\/configure --prefix=\/wwwroot --enable-so<\/code>       <br \/><b>First option<\/b> <i>&#8211;prefix<\/i> tells <i>configure<\/i>  script that we want Apache to be       installed in directory \/wwwroot. If we don&#8217;t provide a prefix  option than it&#8217;ll be installed       in default location, which is \/usr\/local\/apache2.<br \/>I am installing everything in \/wwwroot because:<\/p>\n<ol>\n<li>when a new version of PHP and Apache is released, I only  have to rename \/wwwroot           directory to some other name like \/wwwrootold and then I can  install new versions in           \/wwwroot directory again. If new installation works properly  then I can simply copy           configuration files from old directory to \/wwwroot.<\/li>\n<li>users new to compiling software from source, after compiling  and installing it, try to           find a way to uninstall the software. So, benefit of keeping  everything at one place is;           if someone wants to uninstall Apache and PHP then he just has  to delete \/wwwroot directory           (After stopping Apache, if it is running).<\/li>\n<\/ol>\n<p><b>Second option<\/b> <i>&#8211;enable-so<\/i> tells configure to  enable module <i>so<\/i>, which       allows Apache to load shared modules. We need this option because  we are compiling PHP as       Apache shared module.<br \/><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"apacheex\"><\/a>Example Apache configure command line  looks like <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/apache2.php\" target=\"_blank\" title=\"Example Apache configure command line\">this<\/a>. After configure  finishes we have to compile Apache.<\/p>\n<h5><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"make\">make<\/a><\/h5>\n<p>To compile Apache a utility called <i>make<\/i> is used. <i>make<\/i>  reads a file named       Makefile in the source directory. In the Makefile step by step  instructions are written about       how to compile the software. Benefit of using make is that if some  of the source files are       changed and we compile software again, then only files which are  changed and files which       depend on changed files are recompiled.<br \/>To compile Apache source we have to issue this command in the  Apache source directory       (\/usr\/src\/httpd-2.0.44):<br \/><code>$ make<\/code><\/p>\n<p>When you type make It will start compiling Apache. It will take  several minutes depending       upon the speed of your computer. After make finishes, shell prompt  is available. Now source has       been compiled. We will use <i>make install<\/i> command to install  Apache<br \/><code>$ make install<\/code><\/p>\n<p>This will install Apache to \/wwwroot directory. Now test your  Apache installation by       starting Apache:<br \/><code>$ \/wwwroot\/bin\/apachectl start<\/code><\/p>\n<p>If you are returned to shell prompt and no error etc. is  displayed then Apache is started.<br \/>Now you can open a web browser like lynx and visit Apache  homepage:<br \/><code>$ lynx <a href=\"http:\/\/localhost\/\" target=\"_blank\">http:\/\/localhost<\/a><\/code><\/p>\n<p>It&#8217;ll show Apache homepage, where you can read Apache  documentation to know more about       Apache.<br \/>To stop Apache you can use:<br \/><code>$ \/wwwroot\/bin\/apachectl stop<\/code><br \/>Back to <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#top\">Top<\/a><\/p>\n<h4>Compiling <a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"php\">PHP<\/a><\/h4>\n<p>Change to directory where you have downloaded PHP source.<br \/><code>$ cd \/usr\/src<\/code><\/p>\n<p>Then we have to extract PHP source files from php-4.3.0.tar.gz  file.<br \/>To decompress the compressed file use:<br \/><code>$ gunzip php-4.3.0.tar.gz or<\/code><br \/><code>$ wget http:\/\/www.php.net\/get\/php-5.2.17.tar.gz\/from\/a\/mirror<\/code><\/p>\n<p>Note: you can choose any version that is compatible with your &#8220;cat \/etc\/redhat-release&#8221;. You can download PHP from &#8220;\u00c2\u00a0 http:\/\/php.net\/downloads.php&#8221;. The concept of installation is same.<\/p>\n<p>You will have a file named php-4.3.0.tar in your current  directory. Now to extract its       contents use:<br \/><code>$ tar -xvf php-4.3.0.tar<\/code><\/p>\n<p>Both above steps can be completed by using this command:<br \/><code>$ tar -zxvf php-4.3.0.tar.gz<\/code>       <br \/>A new directory php-4.3.0 will be created in your current  directory. For me its       \/usr\/src\/php-4.3.0.<br \/>Now change to this directory:<br \/><code>$ cd \/usr\/src\/php-4.3.0<\/code><\/p>\n<p>Now we have to configure PHP for compilation process. There are  hundreds of options which       can be provided to configure script. These options include the  option to specify where PHP       should be installed, which functionality should be enabled, like  functionality to access mysql       databases from PHP and which extensions have to be compiled etc.  To see a list       of options supported by PHP configure, type:<br \/><code>$ .\/configure --help<\/code><\/p>\n<p>It&#8217;ll show a list of all options supported by the version of  PHP that you are using.<br \/>Extensions provide additional       functionality which core PHP doesn&#8217;t provide. For example to  create images <i>&#8211;with-gd<\/i>       option can be used. But for these extensions to work, appropriate  libraries must have been       installed. If you use some <i>&#8211;with<\/i> option and that library  isn&#8217;t installed on your       system then configure will fail. So, my advice is, for the first  time don&#8217;t try to use any       extension.<br \/>To compile PHP as Apache shared module we have to provide path  to apache <i>apxs<\/i>       utility, which in our case was installed in \/wwwroot\/bin\/ when we  installed Apache. So, in PHP       source directory (\/usr\/src\/php-4.3.0) execute this command :<br \/><code>$ .\/configure --prefix=\/wwwroot\/php       --with-apxs2=\/wwwroot\/bin\/apxs  --with-config-file-path=\/wwwroot\/php --with-mysql<\/code><\/p>\n<p><b>First option<\/b> <i>&#8211;prefix=\/wwwroot\/php<\/i> tells  configure script that we want PHP to       be installed in \/wwwroot\/php directory. Otherwise it&#8217;ll be  installed in some default location       (\/usr\/local).<\/p>\n<p><b>Second option<\/b> <i>&#8211;with-apxs2<\/i> specifies that we want  to install PHP as Apache 2       shared module.<\/p>\n<p><b>Third option<\/b> <i>&#8211;with-config-file-path<\/i> specifies  that PHP should look for       php.ini file in \/wwwroot\/php directory. Php.ini file contains  various settings, which can be       used to configure PHP after it has been installed. Settings like  path to directory where php       extensions are installed. Options like <i>max_execution_time<\/i>  in php.ini specifies maximum       time a script is allowed to run before it is terminated by PHP  parser.<\/p>\n<blockquote><p>         <b>{Note}<\/b> You don&#8217;t have to specify name of the php.ini file  when using<i>         &#8211;with-config-file-path<\/i> option. Only directory path where  php.ini file will be stored         has to be specified. So, <b>don&#8217;t<\/b> use <i>&#8211;with-config-file-path=\/wwwroot\/php\/php.ini<\/i>,         but instead <b>use<\/b> <i>&#8211;with-config-file-path=\/wwwroot\/php<\/i>.       <\/p><\/blockquote>\n<p><b>Fourth option<\/b> <i>&#8211;with-mysql<\/i> enables support to  access mysql databases through       PHP. After <i>&#8211;with-mysql<\/i> we can optionally specify directory  where mysql is installed       like<i> &#8211;with-mysql=\/usr\/local\/mysql<\/i>. To use mysql database  functions you must have mysql       database installed on your system. If you don&#8217;t have mysql  installed you can remove this       option. If this option is not used then library, which is bundled  with PHP is used to access       mysql databases.<br \/><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"phpex\"><\/a>Example PHP configure command line looks  like <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/php4.php\" target=\"_blank\" title=\"Example PHP configure command line\">this<\/a>.<br \/>After <i>configure<\/i> finishes. You have to type <i>make<\/i>  to compile PHP:<br \/><code>$ make<\/code><\/p>\n<p>It will take several minutes to compile. After make finishes  and, no error etc. is       displayed then PHP has been compiled successfully. If any warning  is displayed then,       normally, you can ignore it.<br \/>After this, if Apache is running stop Apache:<br \/><code>$ \/wwwroot\/bin\/apachectl stop<\/code><br \/>Now you can execute <i>make install<\/i> from within PHP source  directory to install PHP to       \/wwwroot\/php directory:<br \/><code>$ make install<\/code><br \/><i>make install<\/i> will install PHP4 module to Apache&#8217;s  modules sub-directory (\/wwwroot\/modules)       and add a       line like this:<br \/><code>LoadModule php4_module modules\/libphp4.so<\/code><\/p>\n<p>to apache configuration file (\/wwwroot\/conf\/httpd.conf). This line  allows Apache to       automatically load PHP module when Apache starts. If this line is  not added by PHP install,       which in my case wasn&#8217;t,\u00c2\u00a0 then you can add it yourself. To add  this line yourself, search       for a word LoadModule in \/wwwroot\/conf\/httpd.conf file. This word  will be somewhere under       section &#8220;Dynamic Shared Object (DSO) Support&#8221;. Under this section,  on a new       line, add the above line.<\/p>\n<blockquote><p><b>{Note}<\/b> All lines that start with a # are  comments and are ignored       by Apache.<\/p><\/blockquote>\n<p>Now you have to add another line to this httpd.conf file so  that Apache invokes PHP parser       whenever a file with extension php (.php) is accessed. When PHP  parser is invoked by Apache it       reads .php file which contains PHP code blocks, html tags and  other text. Parser then executes       PHP code found inside <?php and ?> blocks and then merges  PHP code results and other       html content (as is). Resulting output is then sent back to Apache  which in turn sends it to       web browser which requested the file.<br \/>The line to be added is:<br \/><code>AddType application\/x-httpd-php .php<\/code><br \/>To add this line search for word AddType in httpd.conf file.  There will be a line like       this:<br \/><i>AddType application\/x-tar .tgz<\/i><br \/>Below this line add (on a new line):<br \/><code>AddType application\/x-httpd-php .php<\/code><\/p>\n<blockquote><p>         <b>{Note}<\/b> If you are unable to find any AddType line, then  add the above line at the end         of the file.       <\/p><\/blockquote>\n<blockquote><p>         <b>{Note}<\/b> With Apache 2_0_28-beta line to be added at the  end of httpd.conf file was:         <code><Files *.php><br \/>SetOutputFilter PHP<br \/>SetInputFilter PHP<br \/><\/Files>\u00c2\u00a0<\/code><br \/>But with Apache 2.0.44 AddType syntax has to be used.<\/p><\/blockquote>\n<p>You can add any file extension in addition to .php if you want to  invoke PHP parser for any       other file extension also. Like:       <code>AddType application\/x-httpd-php .phtml<\/code><br \/>will invoke PHP parser whenever any file with phtml extension  (.phtml) is accessed.<br \/>Save this file and then start Apache:<br \/><code>$ \/wwwroot\/bin\/apachectl start<\/code><br \/><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"error\"><\/a> If no error message is displayed and  everything is fine, Apache is       started and you are returned to shell prompt.<\/p>\n<blockquote><p>         <b>{Note}<\/b> With version 2.0.43 \/ 2.0.44 of Apache I have  noticed a small problem. When         you are experimenting with various PHP settings and trying to  stop and start Apache again         and again, then sometimes when you stop Apache all httpd  processes are not stopped. Then if         you try to start Apache again it displays error message like  port is already used etc. and         it doesn&#8217;t start. It happens only sometimes and not always. To  solve this problem you have         to manually kill that httpd process, using its process id (pid).  To see the <i>pid<\/i> of         that httpd process you can use:<br \/><code>ps -A<\/code><br \/>it will display processes that are running. If there is any  httpd process in the list         displayed, then note its pid and then use:<br \/><code>kill -9 <pid><\/code><br \/>replace <i><pid><\/i> with the actual process id of the  httpd process. Also         sometimes more than one httpd processes are displayed and you  have to kill all httpd process         otherwise you won&#8217;t be able to start Apache.<\/p><\/blockquote>\n<p>Back to <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#top\">Top<\/a>       <\/p>\n<h3><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"testing\">Testing <\/a>the PHP Installation<\/h3>\n<p>Now create a PHP file named info.php, using any editor like vi  or emacs, in the       \/wwwroot\/htdocs directory and enter three lines, shown <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#infophp\">below<\/a>,  in this       file. Directory \/wwwroot\/htdocs is Apache root directory. Apache  publishes all files present       in this directory to web users. This directory can be changed by  editing httpd.conf file and       changing <i>DocumentRoot<\/i> value to some other directory.<\/p>\n<p><b><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"infophp\">info.php<\/a><\/b><br \/><code><?php<br \/>phpinfo();<br \/>?><\/code><\/p>\n<p>Save this file and then access this file using a web browser  like lynx or Netscape       Navigator by entering a url like this:<br \/><code><a href=\"http:\/\/localhost\/info.php\" target=\"_blank\">http:\/\/localhost\/info.php<\/a><\/code><br \/>If PHP was installed successfully a page, shown in the <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#ss\">image  <\/a>below, will       be displayed containing detailed information about your PHP  installation, Apache environment       and PHP extensions loaded etc.<\/p>\n<div align=\"center\"><a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo.jpg\" name=\"ss\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" alt=\"Screenshot of result of info.php. Click to enlarge.\" border=\"0\" height=\"225\" src=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg\" width=\"300\" \/><\/a><br \/><i>Click for a larger image.<\/i><\/div>\n<p>Now you can copy \/usr\/src\/php-4.3.0\/php.ini-dist to  \/wwwroot\/php\/ directory as php.ini.<\/p>\n<blockquote><p>         <b>{Note}<\/b> Default location of php.ini is  <installpath>\/lib (if not changed at         compile time using &#8211;with-config-file-path option).       <\/p><\/blockquote>\n<p><code>$ cp \/usr\/src\/php-4.3.0\/php.ini-dist \/wwwroot\/php\/php.ini<\/code><br \/>You can change your PHP settings by editing php.ini file. For  information about php.ini and       its different settings see <a href=\"http:\/\/www.php.net\/manual\/en\/configuration.html\" target=\"_blank\">http:\/\/www.php.net\/manual\/en\/configuration.html<\/a>.<\/p>\n<p>Now restart apache:       <br \/><code>$ \/wwwroot\/bin\/apachectl restart<\/code><\/p>\n<p>Back to <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#top\">Top<\/a><\/p>\n<h3><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"enabling\">Enabling <\/a>some PHP extensions<\/h3>\n<p>If you are feeling comfortable about compiling PHP and Apache  and everything is       working fine then you can enable some PHP extensions or use some  other configure options. First you have to run PHP configure       script again and add relevant &#8211;with-xxx or &#8211;enable-xxx option,  where xxx is the name of the extension or option you       want to enable.          <!-- commented on 18-05-2005     For complete list of extensions and other configure options supported by PHP       see <a href=\"http:\/\/www.php.net\/manual\/en\/install.configure.php\" target=\"_blank\">http:\/\/www.php.net\/manual\/en\/install.configure.php<\/a>.    -->    For a list of core configure options supported by PHP       see <a href=\"http:\/\/www.php.net\/manual\/en\/configure.php\" target=\"_blank\">http:\/\/www.php.net\/manual\/en\/configure.php<\/a>.       To find out all configure options  supported by version of PHP  source code that you have downloaded, you have to run <b>.\/configure  &#8211;help<\/b> in your PHP source directory.           It will display a list of all the configure options supported by  that PHP version. As I already said, for any extension to work its  library must have been installed otherwise       configure will fail. These extensions just provide an interface to  the actual library. Then,       after stopping Apache,       you&#8217;ll have to run <i>make<\/i> followed <i>by make install<\/i>  again in PHP source directory.<\/p>\n<p>For example if you want to create images using PHP, you first  need to install <!--<a href=\"http:\/\/www.boutell.com\/gd\/\" target=\"_blank\">--><a href=\"http:\/\/www.libgd.org\/Main_Page\" target=\"_blank\">gd       library<\/a> using RPMs or by compiling from source. Then you can  use &#8211;with-gd option to       enable gd support from PHP like this:<br \/><code>$ .\/configure --prefix=\/wwwroot\/php       --with-apxs2=\/wwwroot\/bin\/apxs  --with-config-file-path=\/wwwroot\/php --with-gd<\/code><\/p>\n<blockquote><p>         <b>{Note} <\/b>GD depends on some other libraries to create  images in different formats. So,         some other libraries like <a href=\"http:\/\/www.libpng.org\/pub\/png\/libpng.html\" target=\"_blank\">png<\/a>,         <!--<a href=\"ftp:\/\/ftp.uu.net\/graphics\/jpeg\/\" target=\"_blank\">jpeg<\/a>-->   <a href=\"http:\/\/www.ijg.org\/files\/\" target=\"_blank\">jpeg<\/a>   , <!--<a href=\"http:\/\/www.gzip.org\/zlib\/\" target=\"_blank\">zlib<\/a>-->   <a href=\"http:\/\/www.zlib.net\/\" target=\"_blank\">zlib<\/a>    also have to be installed.       <\/p><\/blockquote>\n<p>PHP configure will try to find directory where gd and other  libraries and their header       files are installed by searching some default library and include  paths, like \/usr and       \/usr\/local. Header files are normally found inside <i>include<\/i>  directory, like <i>\/usr\/local\/include<\/i>,       and library files are found inside <i>lib<\/i> directory e.g. <i>\/usr\/local\/lib<\/i>.  If <i>configure<\/i>       is unable to find gd library then you can specify path where you  installed gd library like       this:<br \/><code>$ .\/configure --prefix=\/wwwroot\/php       --with-apxs2=\/wwwroot\/bin\/apxs  --with-config-file-path=\/wwwroot\/php --with-gd=\/usr<\/code><\/p>\n<p>If you compile gd from source then it&#8217;ll be installed by  default in \/usr\/local. There was       no configure script provided with gd library I used, and I had to  edit Makefile to change       default install location.<br \/>Since PHP version 4.3.0, gd library is bundled with PHP  distribution. This version of gd       has support for some more image related features. PHP  documentation suggests that this bundled       version should be used in preference to the external gd library  which you may install       yourself.<br \/>So, if you are using PHP 4.3.0, you just have to use <em>&#8211;with-gd<\/em>  option without       specifying any path and PHP will use the bundled gd library. But  not all libraries on which gd       depends are bundled with PHP 4.3.0. So, you still need to install  some other libraries like <a href=\"http:\/\/www.ijg.org\/files\/\" target=\"_blank\">jpeg       <\/a>, <a href=\"http:\/\/www.libpng.org\/pub\/png\/libpng.html\" target=\"_blank\">png <\/a>and <a href=\"http:\/\/www.zlib.net\/\" target=\"_blank\">zlib       <\/a>(for png) to create jpeg and png images with gd. In my case  configure was unable to find       zlib, so I had to use &#8211;with-zlib-dir=\/usr\/local option. More  detailed information about       installing this bundled gd library can be found <a href=\"http:\/\/www.oreillynet.com\/lpt\/a\/3337\" target=\"_blank\"><!--<a href=\"http:\/\/www.oreillynet.com\/pub\/a\/php\/2003\/03\/27\/php_gd.html\" target=\"_blank\">-->here<\/a>.<\/p>\n<p>Back to <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#top\">Top<\/a><br \/><!--\n\n<h3> <a name=\"prob\">Problems <\/a>with swf and java extensions<\/h3>\n\n\n\n<p><b>If you are using PHP 4.3.0 or later then you can ignore this section.<\/b><\/p>\n\n\n\n<p>SWF extension can be used to create shockwave flash movies using PHP code. There was a <a href=\"http:\/\/bugs.php.net\/15703\" target=\"_blank\">bug       <\/a>in swf extension of some 4.1.x and 4.2.x versions of PHP,\u00c2\u00a0which caused\u00c2\u00a0segmentation fault and PHP also failed. But this bug has been fixed in PHP 4.3.0.<\/p>\n\n\n\n<p>Java extension allows us to create java objects from within PHP. Java extension also had       some bugs which caused segmentation fault when used with JDK 1.4.0 (may be JDK 1.3.0 also). It       worked fine with JDK 1.2.2. This bug seems to have been fixed in this (4.3.0) version of PHP.       But, when using JDK 1.4.0 some effort still has to be made to enable this Java extension.<\/p>\n\n\n\n<p>If you face problems with java extension, like those mentioned at <a href=\"http:\/\/bugs.php.net\/15702\" target=\"_blank\">http:\/\/bugs.php.net\/15702<\/a>,       then do report them using the <a href=\"http:\/\/bugs.php.net\/15702\" target=\"_blank\">same page<\/a>.<\/p>\n\n\n\n<p>Back to <a href=\"http:\/\/linux-bloggers.blogspot.com\/#top\">Top<\/a><\/p>\n\n-->       <\/p>\n<h3><a href=\"http:\/\/linux-bloggers.blogspot.com\/\" name=\"conclusion\">Conclusion<\/a><\/h3>\n<p>I think now you should feel comfortable about compiling  software from source code. It is easy.       Now you can download php manual from PHP <a href=\"http:\/\/www.php.net\/manual\/en\/index.php\" target=\"_blank\">documentation<\/a>       <a href=\"http:\/\/www.php.net\/download-docs.php\" target=\"_blank\">       download<\/a> page (<a href=\"http:\/\/www.php.net\/download-docs.php\" target=\"_blank\">http:\/\/www.php.net\/download-docs.php<\/a>)       and start exploring PHP. If you faced problems when trying to  compile PHP       then you can subscribe to many related mailing lists (given <a href=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/#resources\">below<\/a>)       and post your problems there.<br \/>Do <a href=\"mailto:ssruprai@hotmail.com?subject=Compiling%20PHP%20and%20Apache%202%20from%20source\">tell        me <\/a>if you were able to compile PHP and Apache 2 from source  after reading this information       and whether you found this information useful. I do check each and  every mail I receive and       update this page according to any feedback provided. Also write to  me if any links etc. don&#8217;t       work or about any other problem with this page. <!--If you don't have time to write an email, then       just rate this article using form below.--><br \/>===========<\/p>\n<p>For more information please follow our link below.<\/p>\n<p>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br \/>http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/<br \/>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Apache with PHP. Source installation of apache with PHP. Notes.> If you try to install php-5.3 you will end up with &#8220;Zend parse error&#8221;. Please try to install PHP-5.2 or lower. > Please check whether you have installed &#8216;gcc&#8217; and &#8216;Mysql&#8217; and also ensure that Mysql is running. Please follow&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Apache with PHP &#8220;Zend Phase error&#8221;<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":{"0":"post-228","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"h-entry","9":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Apache with PHP. Source installation of apache with PHP. Notes.&gt; If you try to install php-5.3 you will end up with &#8220;Zend parse error&#8221;. Please try to install PHP-5.2 or lower. &gt; Please check whether you have installed &#8216;gcc&#8217; and &#8216;Mysql&#8217; and also ensure that Mysql is running. Please follow&hellip; Continue Reading Apache with PHP &#8220;Zend Phase error&#8221;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-06-06T07:33:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Apache with PHP &#8220;Zend Phase error&#8221;\",\"datePublished\":\"2011-06-06T07:33:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/\"},\"wordCount\":2811,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.web-tech-india.com\\\/articles\\\/php\\\/compiling_php_apache\\\/images\\\/phpinfo_small.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.web-tech-india.com\\\/articles\\\/php\\\/compiling_php_apache\\\/images\\\/phpinfo_small.jpg\",\"datePublished\":\"2011-06-06T07:33:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.web-tech-india.com\\\/articles\\\/php\\\/compiling_php_apache\\\/images\\\/phpinfo_small.jpg\",\"contentUrl\":\"http:\\\/\\\/www.web-tech-india.com\\\/articles\\\/php\\\/compiling_php_apache\\\/images\\\/phpinfo_small.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/apache-with-php-zend-phase-error\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apache with PHP &#8220;Zend Phase error&#8221;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/pheonixsolutions.com\\\/blog\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Apache with PHP. Source installation of apache with PHP. Notes.> If you try to install php-5.3 you will end up with &#8220;Zend parse error&#8221;. Please try to install PHP-5.2 or lower. > Please check whether you have installed &#8216;gcc&#8217; and &#8216;Mysql&#8217; and also ensure that Mysql is running. Please follow&hellip; Continue Reading Apache with PHP &#8220;Zend Phase error&#8221;","og_url":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2011-06-06T07:33:00+00:00","og_image":[{"url":"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Apache with PHP &#8220;Zend Phase error&#8221;","datePublished":"2011-06-06T07:33:00+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/"},"wordCount":2811,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#primaryimage"},"thumbnailUrl":"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/","url":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#primaryimage"},"thumbnailUrl":"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg","datePublished":"2011-06-06T07:33:00+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#primaryimage","url":"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg","contentUrl":"http:\/\/www.web-tech-india.com\/articles\/php\/compiling_php_apache\/images\/phpinfo_small.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/apache-with-php-zend-phase-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Apache with PHP &#8220;Zend Phase error&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/pheonixsolutions.com\/blog"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-3G","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}