|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
how to install php on linux
Dear All
i installed redt hat linux 7.1 and trying to parse php file but failed. i get the php code in browser. how i can install php although i find php stuff in rpm. yeh |
|
#2
|
|||
|
|||
|
rpm -ivh php*.rpm
|
|
#3
|
||||
|
||||
|
sounds like apache isn't running.
as root: /usr/local/apache/bin/apachectl restart christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#4
|
|||
|
|||
|
apache is runnunig. but i am not sure about php whether it is installed or not if not then how?
|
|
#5
|
|||
|
|||
|
Have you installed PHP yourself? Type rpm -qa |grep php and see if anything comes back. Have you followed the install directions in the PHP manual or any other tutorials on the web? Did you change the httpd.conf to recognize PHP?
|
|
#6
|
|||
|
|||
|
i did not install php my self.
when i run rpm -qa |grep php find few things related to php. yes httpd.conf file i changed for php. but i did not follow any manual to how install php. i have this impression when i installed linux then php will be automatically installed but not. |
|
#7
|
||||
|
||||
|
or you could try
$whereis php to see if a path is returned. or just try and install it - go to php.net, download the rpm and try $rpm -i long-name-of-rpm-file christo |
|
#8
|
|||
|
|||
|
Your best bet is to just download the php manual from php.net and follow the install instructions in it. Never just assume something is installed if you haven't installed it.
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > how to install php on linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|