Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th May 2006, 14:22
sergioab sergioab is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP4 Configuration, it's possible?

Hi, first of all congratulations, a really good virtual host administrator, really good. By the way, have anyone think about make a "live CD" for auto install in machines? it can be the point it needs to become not just good to be awseome.

Anyway the question takes me here is that it's possible to switch from php5 to php4 for the hosting?¿
As I understand php5 is needed for the front-end, but it uses a diferent version of apache, 1.3, in a diferent port, so it's not necessari that the apache server that works with the virtual-hosted sites to be php4 right?¿ So there's a way to switch to php4 or maybe to install php4 for in the first place, during the installation.
I installed, with the howto's of this web, with success in a Fedora 4 distribution and in a Debian Woody distribution, but i can't find php4 anywhere, any help?¿?
Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 30th May 2006, 16:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by sergioab
As I understand php5 is needed for the front-end, but it uses a diferent version of apache, 1.3, in a diferent port, so it's not necessari that the apache server that works with the virtual-hosted sites to be php4 right?¿ So there's a way to switch to php4 or maybe to install php4 for in the first place, during the installation.
You can use whatever PHP version you like. The ISPConfig Apache and PHP are totally independent from your main Apache and PHP.

Quote:
Originally Posted by sergioab
I installed, with the howto's of this web, with success in a Fedora 4 distribution and in a Debian Woody distribution, but i can't find php4 anywhere, any help?¿?
Thanks in advance.
Debian comes with PHP4 as default.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th May 2006, 17:51
sergioab sergioab is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Really TY. Now working 100% in fedora core 4.
Reply With Quote
  #4  
Old 30th May 2006, 23:45
galeksic galeksic is offline
Junior Member
 
Join Date: May 2006
Location: Serbia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You can use whatever PHP version you like. The ISPConfig Apache and PHP are totally independent from your main Apache and PHP.
i am getting ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

Code:
make[1]: Leaving directory `/root/ispcinstal/install_ispconfig/compile_aps/apache_1.3.34'
+--------------------------------------------------------+
| You now have successfully built and installed the      |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the         |
| (initially created or preserved) configuration files   |
|                                                        |
|   /root/ispconfig/httpd/conf/httpd.conf
|                                                        |
| and then you should be able to immediately fire up     |
| Apache the first time by running:                      |
|                                                        |
|   /root/ispconfig/httpd/bin/apachectl start
|                                                        |
| Or when you want to run it with SSL enabled use:       |
|                                                        |
|   /root/ispconfig/httpd/bin/apachectl startssl
|                                                        |
| Thanks for using Apache.       The Apache Group        |
|                                http://www.apache.org/  |
+--------------------------------------------------------+
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none).
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3246: lex: command not found
configure: error: cannot find output from lex; giving up
ERROR: Could not configure PHP
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 794: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
./setup2: ispconfig_tmp/php/bin/php...
do i have ispconfig_tmp while setup runs? or this path is wrong?
Reply With Quote
  #5  
Old 31st May 2006, 00:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3246: lex: command not found
You must install flex before you install ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 31st May 2006, 02:35
galeksic galeksic is offline
Junior Member
 
Join Date: May 2006
Location: Serbia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default


woopsy...

oh yes now it works... sorry...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading configuration file lance Kernel Questions 2 28th February 2007 21:40
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 15:01
ISPConfig pop3 problem mphayesuk General 21 31st October 2005 11:53


All times are GMT +2. The time now is 21:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.