Surfer
05-06-2001, 05:20 PM
hi,
How can I update my PHP4 on my raq4 to the latest 4.0.5 version?
Thanks
Michael
How can I update my PHP4 on my raq4 to the latest 4.0.5 version?
Thanks
Michael
![]() | View Full Version : PHP update for RAQ4i Surfer 05-06-2001, 05:20 PM hi, How can I update my PHP4 on my raq4 to the latest 4.0.5 version? Thanks Michael Surfer 05-07-2001, 04:56 PM anyone? Juan 05-08-2001, 03:51 AM I use this method on all my servers, in 10 mins you'll have 4.0.5 installed. tar zxvf php4.0.4pl1.tar.gz cd php-4.0.4pl1 ./configure --with-mysql --with-apxs --with-zlib --with-ftp make make install cd /etc/httpd/conf pico httpd.conf ## change the loadmodule of php4 to: LoadModule php4_module /usr/lib/apache/libphp4.so ## it could also be duplicate ## save httpd.conf /etc/rc.d/init.d/httpd restart ## you can check if it runs through: ## telnet localhost 80 ## HEAD / HTTP/1.0 ## 2x enter ## read the Server: line. Surfer 05-08-2001, 05:33 AM Thanks for your help juan! How come I need to change the LoadModule PHP4 in the httpd.conf? Will I be overwriting my old version? What should I include when I configure? I guess mysql, zlib, safe-mode is a must, any other...? Thanks Juan 05-08-2001, 05:35 AM this will work for most common tasks, maybe you can think about ftp, but I 'shouldnt do that. The path of your php module has changed. Why? I don't know, but it works :) kentaurus 05-08-2001, 11:49 PM If you already have php installed in your server and you overwrite the old version you don't need to make any change in the httpd.conf There are a lot of threads about installing php in this forums, you should check them out, as the instructions still apply. afriq 05-14-2001, 03:50 AM Juan, Thanks for the snippet on the PHP upgrade ... I have some mySQL/PostgreSQL questions (related to your post): [1] mySQL is supposed to be pre-installed on a RaQ 4i. How does one check to see that is is actualy installed? [2] If it isn't, should one install mySQL before doing the PHP upgrade? And are there any specific settings during the mySQL installation process to watch out for? [3] PostgreSQL is used for the control panel - how does one use a 2nd instance of PostgreSQL (i.e. 2nd process) to allow clients to use PostgreSQL for their own sites? Thanks, Johan ps - this forum is great :) Juan 05-18-2001, 09:06 AM you should install mysql before php. and configure php with --with-mysql |