Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Zend Framework 2 Tool (ZFTool) Introduction
Hands On Embedded Linux Development Training course.
Microsoft's Linux app, Skype, gets updated
Red Hat OpenStack, Linux, Virtualization: Cloud Triple Play?
Handheld SDR Transceiver runs Linux on ARM/FPGA SoC
5 Links for Developers and IT Pros 5-24-13
Transparency Camp event report and review of new tools
Is Google Code In Trouble? No More Open Source Downloads For You
Embedding Other Languages in BASH Scripts
Computers are today's pencils
more
Recent comments
Re: Installation successful, but I can't receive any mail...
1 day 7 hours ago
ssl
1 day 7 hours ago
No Mails could be send.... Connection refused
1 day 12 hours ago
array param function
1 day 19 hours ago
Thank you so much. 2 thumbs
1 day 20 hours ago
Great post... But...
1 day 21 hours ago
Instead of copying and
2 days 1 hour ago
 Correction: fro m_address=`
2 days 8 hours ago
tuto thanks
2 days 12 hours ago
WFM
2 days 13 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
HOWTO-Related Questions
Running Apache2 With PHP5 And PHP4 At The Same Time
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
27th March 2008, 00:28
lojzi
Junior Member
Join Date: Mar 2008
Location: Budapest
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Running Apache2 With PHP5 And PHP4 At The Same Time
Hello!
I try to run php4 as cgi and php5 as module on Apache 2.2 on my Debian.
But i get error message on test php4:
"The requested URL /usr/lib/cgi-bin/php4/info.php4 was not found on this server."
Action Directive doesn't work.
Do you have any suggestion?
lojzi
View Public Profile
Send a private message to lojzi
Find all posts by lojzi
Sponsored Links
#
2
27th March 2008, 17:05
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
Did you add this to your Apache configuration?
Code:
AddHandler php-script .php4 Action php-script /cgi-bin/php4
Where's info.php4 located?
__________________
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:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
3
31st March 2008, 19:36
lojzi
Junior Member
Join Date: Mar 2008
Location: Budapest
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, I followed instructions of the article from this site.
DirectoryIndex, AddHandler, Action lines are added to /etc/apache2/apache2.conf.
These modules are enabled: actions, ssl, rewrite, suexec, include.
The php5 works properly.
Quote:
The requested URL /usr/lib/cgi-bin/php4/info.php4 was not found on this server.
Looks like Action Directive doesn't work. It wants to run /usr/lib/cgi-bin/php4/info.php4 not /usr/lib/cgi-bin/php4.
Last edited by lojzi; 31st March 2008 at
19:40
.
lojzi
View Public Profile
Send a private message to lojzi
Find all posts by lojzi
#
4
1st April 2008, 17:50
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
What's the output of
Code:
updatedb locate cgi-bin/php4
?
__________________
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:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Running Apache2 With PHP5 And PHP4 At The Same Time - on Suse?
russh
HOWTO-Related Questions
2
3rd July 2007
15:48
php4 and php5 at same time
findafriend
Installation/Configuration
7
22nd June 2007
16:44
VHosts + basedir + PHP4 and PHP5 at same time
Sid
HOWTO-Related Questions
5
14th December 2006
18:20
Running Apache2 With PHP5 And PHP4 At The Same Time
hansmi
HOWTO-Related Questions
3
28th June 2006
09:49
Apache2 with PHP4 and PHP5 on Debian Sarge
chazaq
HOWTO-Related Questions
1
28th March 2006
19:42
All times are GMT +2. The time now is
07:34
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 7 hours ago
1 day 7 hours ago
1 day 12 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 21 hours ago
2 days 1 hour ago
2 days 8 hours ago
2 days 12 hours ago
2 days 13 hours ago