Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-2005, 11:28 AM
Project Contributor
 
Posts: 223
Default Run own PHP scripts on the server

I don't know if this question has to do with Zimbra, but I ask it anyway:

How can i get my own PHP scripts running on the server? I want to use this on my Zimbra server but i am new to linux and don't know where to put this.

Can anyone help me?
Reply With Quote
  #2 (permalink)  
Old 11-24-2005, 11:49 AM
Zimbra Employee
 
Posts: 4,792
Default

You'd need to install your own apache with PHP.
Reply With Quote
  #3 (permalink)  
Old 11-24-2005, 12:28 PM
Project Contributor
 
Posts: 223
Default

But I thougt there is a webserver running for the GUI?
Reply With Quote
  #4 (permalink)  
Old 11-24-2005, 09:49 PM
Active Member
 
Posts: 42
Default

nope, zimbra uses JSP [Java Server Pages] for the GUI via the Apache-Tomcat/Jakarta web server. You will have to, as KevinH suggested, install apache.

Last edited by joshuamorgan; 11-25-2005 at 08:58 PM..
Reply With Quote
  #5 (permalink)  
Old 11-28-2005, 06:14 PM
Zimbra Employee
 
Posts: 78
Default

Our spell check module uses PHP and Apache. If you install the spell server, Apache and PHP get installed automatically.
Reply With Quote
  #6 (permalink)  
Old 11-28-2005, 09:44 PM
Project Contributor
 
Posts: 223
Default

And where do I have to put my PHP files?
Reply With Quote
  #7 (permalink)  
Old 11-28-2005, 09:58 PM
Zimbra Employee
 
Posts: 2,103
Default document root

The document root, as configured in /opt/zimbra/conf/httpd.conf, is in /opt/zimbra/httpd-2.0.54/htdocs
Reply With Quote
  #8 (permalink)  
Old 11-29-2005, 06:03 AM
Project Contributor
 
Posts: 223
Default

Sorry, if this question is very dumb:

I put the PHP files to /opt/zimbra/httpd-2.0.54/htdocs/pshaw but if I go to https://my.server.foo/pshaw there is

Code:
TTP Status 404 - /pshaw

type Status report

message /pshaw

description The requested resource (/pshaw) is not available.
Apache Tomcat/5.5.7
Reply With Quote
  #9 (permalink)  
Old 11-29-2005, 07:12 AM
Zimbra Employee
 
Posts: 2,103
Default port

The apache server isn't listening on port 443, it's listening on port 7780 - and it's not an https server, just http.
Reply With Quote
  #10 (permalink)  
Old 12-30-2005, 10:31 AM
Starter Member
 
Posts: 1
Default

Is it safe to install another instance of Apache (in the default location for Fedora Core 3 using the add/remove app) that listens on port 80 if all I'm running Zimbra on right now is https (and the above port 7780 for spellchecking)?

I would also like to run some PHP-based apps on my Zimbra server and just wanted to check here before I tried it and hosed my mail server.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.