logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Zend Community apache2 upgrade issue.
Author
miadmmam



Joined: 13 Nov 2013
Posts: 5
Location: UK, Leicester

PostPosted: Wed 13 Nov '13 15:20    Post subject: Zend Community apache2 upgrade issue. Reply with quote

Hi,
Were using an application called Zend Community v5.6 which installs apache in its bundled app.

When I try to upgrade Apache I get into all kinds of a mess.

I am not an apache guru so do not know where to look to modify files etc.

Zend Community basically emailed me and said they distribute the app with apache2.2.22 and have no immediate intention of upgrading. Yet, we need to have apache upgraded to atleast v2.4.3 which is what I currently have for windows.

[Steps]

1Smile I tried copying the apache files from a 2.4.6 binary that I got from apache.org. I removed the 2.2.22 service and installed the 2.4.6 service, did a localhost and got IT Works, but I cannot see my site nor know how to deploy it in zend.

2Smile I performed a Zend upgrade from v5.6 to 6.1, but the apache v2.2.22 remains.

3Smile I tried to install apache v2.4.2 / 2.4.3 and then Zend Community server, but both attempts failed and Zend asks to install 2.2.22 without recognizing the previous installation.

Is there a way or is there a way of upgrading apache in zend ?
Cheers
Michael
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Sun 17 Nov '13 12:28    Post subject: Reply with quote

What errors do you get in Windows Event Viewer and/or Apache error.log ?

Look for upgrading to 2.4 at http://httpd.apache.org/docs/2.4/upgrading.html

Steffen
Back to top
miadmmam



Joined: 13 Nov 2013
Posts: 5
Location: UK, Leicester

PostPosted: Mon 18 Nov '13 12:34    Post subject: Apache 2.2 upgrade to 2.4 Reply with quote

I stopped apache2.2-zend service and apachemonitor service, copied 2.4.6 files into apache2 directory (saving httpd.conf file) commented out modules: mod_authn_default, mod_authz_default, mod_mem_cache, as specified and did a restart httpd -k restart -n apache2.4-zend, but now I get a system error MSVCR.dll is missing.

Shocked
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Mon 18 Nov '13 12:50    Post subject: Reply with quote

Looks you did not install the Visual C++ Redistributable for Visual Studio. For download, see the readme.txt in the zip.
Back to top
miadmmam



Joined: 13 Nov 2013
Posts: 5
Location: UK, Leicester

PostPosted: Mon 18 Nov '13 12:58    Post subject: Apache 2.2 upgrade to 2.4 Reply with quote

Yes installed it, but had to reinstall it, might have gotten cross files with something else.

Now getting syntax errors online 441 which reads "441 Include conf/zend.con"

This relates to the zend.conf file reading "cannot load c:\....\zendEnablerApache.dll into server, it is not a valid win32 application ?
Back to top
miadmmam



Joined: 13 Nov 2013
Posts: 5
Location: UK, Leicester

PostPosted: Mon 18 Nov '13 13:00    Post subject: Apache 2.2 upgrade to 2.4 Reply with quote

This is the line in the zend.con file.

LoadModule zend_enabler_module "C:\Program Files (x86)\Zend\ZendServer\bin\ZendEnablerApache.dll"

I guess it is not 64bit :o)
Back to top
miadmmam



Joined: 13 Nov 2013
Posts: 5
Location: UK, Leicester

PostPosted: Mon 18 Nov '13 13:31    Post subject: Apache 2.2 upgrade to 2.4 Reply with quote

Do you think adding another virtual host like one i found below might restore my site to port: 80

LoadModule zend_enabler_module "D:\WebDev\ZendServer\ZendServer\bin\ZendEnablerApache.dll"
ZendEnablerConfig "D:\WebDev\ZendServer\ZendServer\etc\ZendEnablerConf.xml"
AddHandler zend-enabler-script .php .php3

# Map /ZendServer to all webs
<Location /ZendServer>
Order deny,allow
Allow from all
</Location>

Alias /ZendServer "D:\WebDev\ZendServer\ZendServer\GUI\html"

<Directory "D:\WebDev\ZendServer\ZendServer\GUI\html">
AllowOverride All
</Directory>

AllowEncodedSlashes On


# Vhosts
NameVirtualHost *:80

<VirtualHost _default_:80>
DocumentRoot "D:\WebDev\Webs\default\htdocs"
ServerName localhost
ServerAdmin ...

# PHP
AddType application/x-httpd-php .php

# Document_Root
<Directory "D:\WebDev\Webs\default\htdocs">
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>

</VirtualHost>

<VirtualHost *:80>
DocumentRoot "D:\WebDev\Webs\site1\htdocs"
ServerName site1.my.internal.hostname
ServerAlias site1
ServerAdmin ...

# PHP
AddType application/x-httpd-php-site1 .php .php3

# Document_Root
<Directory "D:\WebDev\Webs\site1\htdocs">
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>

</VirtualHost>
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Mon 18 Nov '13 14:24    Post subject: Reply with quote

When ZendEnablerApache.dll is a 2.2 module, then noway to run it with 2.4.

You can try Apache 2.4 Win32, I doubt that is working.
Back to top


Reply to topic   Topic: Zend Community apache2 upgrade issue. View previous topic :: View next topic
Post new topic   Forum Index -> Other Software