
29th August 2005, 16:46
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Installing PHP4
Hello,
I am trying to install OSCommerce but it will not work on PHP5. Can I downgrade with ISPConfig installed and how can I go about doing so? I searched using yum and apt-get but both only had PHP5. Are there any repositories with PHP4?
Thanks,
James
|

29th August 2005, 16:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Quote:
|
Originally Posted by ProTrooper
Hello,
I am trying to install OSCommerce but it will not work on PHP5. Can I downgrade with ISPConfig installed and how can I go about doing so?
|
You should not get troble with ISPConfig because the configuration directives in the vhosts are equal for PHP4 and PHP5.
Quote:
|
Originally Posted by ProTrooper
I searched using yum and apt-get but both only had PHP5. Are there any repositories with PHP4?
|
I dont know any, but this means not that there arent none  Maybe you can ask in some forums or mailinglists specialized for your linux distro.
If you cant find any repositorys, you can uninstall PHP5 with apt or yum and try compile php4 manually.
|

29th August 2005, 16:57
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Okay, but do you know what dependencies PHP4 needs?
|

29th August 2005, 17:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Quote:
|
Originally Posted by ProTrooper
Okay, but do you know what dependencies PHP4 needs?
|
That depends on the modules you want to compile in. The major dependencies are fullfilled when you have successfully installed ISPConfig.
When you want to compile PHP4 with e.g. postgresql, it is a good idea to install the "-devel" package first, in this case the postgresql - devel package.
|

29th August 2005, 17:38
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Okay, I have PHP 4.4 binaries but that is all I can find. Where can I download php4-devel, cgi, gd, mysql, pear, etc.?
Thanks again for all the help.
|

29th August 2005, 18:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Quote:
|
Originally Posted by ProTrooper
Okay, I have PHP 4.4 binaries but that is all I can find. Where can I download php4-devel, cgi, gd, mysql, pear, etc.?
Thanks again for all the help.
|
Normally you get them from where you got the binaries. The pacakges must be compiled together to work correctly.
|

29th August 2005, 18:25
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That's what I thought. I got the binaries from PHP.net. I see nothing else on the site though...
|

29th August 2005, 18:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Quote:
|
Originally Posted by ProTrooper
That's what I thought. I got the binaries from PHP.net. I see nothing else on the site though...
|
Maybe it is all compiled in statically.
|

29th August 2005, 18:32
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Oh okay, I'll try.
|

29th August 2005, 18:48
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Okay I installed it and I think they are all combined. make then make install and I saw this:
Code:
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - installed: 1.1
[PEAR] Console_Getopt - installed: 1.2
[PEAR] PEAR - installed: 1.3.5
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] HTML_Template_IT- installed: 1.1
[PEAR] Net_UserAgent_Detect- installed: 2.0.1
[PEAR] XML_RPC - installed: 1.3.1
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
However... the php info page returns version 5.0.4 still and the script I am trying to run will not work. I tried make uninstall and it returns:
Code:
make: *** No rule to make target `uninstall'. Stop.
yum remove php finds no matches. I know this is now a new problem, but do you have any suggestions?
|
| Thread Tools |
|
|
| Display Modes |
Linear 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
HTML code is Off
|
|
|
All times are GMT +2. The time now is 03:12.
|
|
Recent comments
1 day 2 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 9 hours ago