NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Rookie needs help with PHP 4.2.2 and TP 3.2 for Windows


Joined: 14 Apr 2004
Posts: 4
Reply with quote
Hi -
I have TP 3.2 installed with PHP 4.3.4, however an application I'm trying to get running here was coded for PHP 4.2.2.

How can I install PHP 4.2.2 on my Win XP Pro machine that is running TP 3.2?

Be kind, I have about 10 hours of experience with this platform, apache, and PHP. Smile

Thanks in advance,
Jeff
View user's profileFind all posts by jvrincSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8328
Reply with quote
Hi Jeff,

it's hardly possible. TP comes with ssl-enabled Apache and it means that you have to re-compile php4apache module if you need any other php version. As a possible workaround you can install php4.2.2 as CGI module. In this case you have to comment out php-related things in httpd.conf (see LoadModule php4_module, AddModule mod_php4, AddType application/x-httpd-php) then install php as CGI according to instructions listed on the page http://www.php.net/manual/en/install.apache.php (see Installing PHP on Windows with Apache 1.3.x)

On the other hand, why don't you upgrade your scripts and fix all the deprecated stuff ?

-dmitri
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 14 Apr 2004
Posts: 4
Reply with quote
Thanks for your response dmitri. I was looking for an easy way to work with the existing codebase.

Updating of the scripts may be the easiest option for me given your feedback.

Jeff
View user's profileFind all posts by jvrincSend private message


Joined: 15 Dec 2010
Posts: 5
Reply with quote
yes i think that would be the the fastest way to do so jeff..




_________________
View user's profileFind all posts by willbakerSend private message
Rookie needs help with PHP 4.2.2 and TP 3.2 for Windows
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic