Author |
|
miadmmam
Joined: 13 Nov 2013 Posts: 5 Location: UK, Leicester
|
Posted: Wed 13 Nov '13 15:20 Post subject: Zend Community apache2 upgrade issue. |
|
|
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]
1 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.
2 I performed a Zend upgrade from v5.6 to 6.1, but the apache v2.2.22 remains.
3 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: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
miadmmam
Joined: 13 Nov 2013 Posts: 5 Location: UK, Leicester
|
Posted: Mon 18 Nov '13 12:34 Post subject: Apache 2.2 upgrade to 2.4 |
|
|
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.
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 18 Nov '13 12:50 Post subject: |
|
|
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
|
Posted: Mon 18 Nov '13 12:58 Post subject: Apache 2.2 upgrade to 2.4 |
|
|
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
|
Posted: Mon 18 Nov '13 13:00 Post subject: Apache 2.2 upgrade to 2.4 |
|
|
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
|
Posted: Mon 18 Nov '13 13:31 Post subject: Apache 2.2 upgrade to 2.4 |
|
|
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: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 18 Nov '13 14:24 Post subject: |
|
|
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 |
|