I was in the process of installing the premium/commercial modules and I ran into a problem. I was running step_03.php and in the process of installing the package_manager_cms I got the following error:
+---------------------------------------------------------------------------------------------------------------------------+
| PHP Warning |
|---------------------------------------------------------------------------------------------------------------------------|
| main(HTTP/Client[SYSTEM_ROOT]php): failed to open stream: No such file or directory |
+---------------------------------------------------------------------------------------------------------------------------+
Fatal error: main(): Failed opening required 'HTTP/Client.php' (include_path='.:./php_includes:/usr/local/lib/php') in /home/websites/mysource_matrix/packages/cms/page_templates/page_remote_content/page_remote_content.inc on line 22
I think the install then quit, and I can't get any of the modules to show up in my matrix install. What to do now?
It looks to me like that there are missing PEAR modules (aka: HTTP_CLIENT). The premium and commercial modules require additional PEAR modules to be installed. More information can be found on the requirements page for matrix. You can check what is installed by using the “pear list” command in a shell window for your install.
Once the modules are in place and installed then I would simply restart the install process from step02.php…(SQUIZ STAFF: please let me know if I am wrong here!!).
Exactly right. HTTP Client is one of the required PEAR modules for the Commercial packages. You need to ensure you have all of the PEAR modules listed on the Requirements page before running step_03.phhp again.
Ok, I get it now. My mistake. So, i installed all the pear modules that I could, with the exception of the Image modules because my php install says that it does not have gd support configured.
Well, I feel like I am back to step 1, 6 months ago when I configured php for this. So, I tried to re-configure php, with all the nessissary support, but I am still not getting the correct php configuration installed. When I check my php info, it still only lists the past configure options, rather than the new ones that I configured, then installed. Does anyone know what I am doing wrong here? I thought I could always re-configure php with new options, and it would over write the old version.
How are you installing PHP? For Red Hat or Debian, it should be as simple as adding the php-gd package to your installation. If you're compiling from source, you need to make sure that you're installing the PHP binary and PHP Apache modules into the correct places. You may even need to restart Apache to see the new PHP module.
[quote]Compiling from source. Yeah, I think it is some problem with Apache not seeing the newly compiled module. I will keep at it.
[right][post=“13640”]<{POST_SNAPBACK}>[/post][/right][/quote]
If you look at the PHP Info, it should list the compile line that was used to create it. Make sure you’re repeating that line exactly, with extra bits added. This will ensure you’re referencing the correct apxs binary, for example.
Still no luck. I have tried to recomplile multipule times. I made sure to repeat the lines from the php info page.
After I recompile, I check the php info page, and it gives me a correct date and time of build, but the flags that I built it with are still the old ones that I used. It seems like it knows I am creating a new build, but not seeing that I added all the new flags.
This is very strange. Never remember having problems with this before.