Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i set up apache and php under mandrake8.2

Status
Not open for further replies.

mit99mh

Programmer
Sep 24, 2002
246
GB
when i installed mandrake I selected to install apache how do I get it working and also how do i get it working with php 4.0?

I'm very new to Linux so assume no knowledge!

regards........
 
Have you tried browsing to if Apache has been installed and configured to start, you should get the default Apache webpage. Similarly, if you've ensure that mod_php was installed (when you chose the packages for install) then you should be able to run php scripts as well.

Online documentation is online at the Mandrake website;
 
Check for Apache server running:
ps -ef|grep httpd

If not running:
/etc/init.d/httpd start

To see if PHP is enabled find the httpd.conf file (/etc/httpd/conf/ ?) and do a search for PHP modules defined in there.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
 
First off, make sure that Apache is installed...

rpm -qa | grep apache
...or...
rpm -qa | grep httpd

Next, locate the httpd binary using the locate command...

locate httpd

You may have to update the locate database by running 'updatedb' before running locate.

Run the following to see if Apache is compiled with PHP support...

/path_to_httpd -l


You can start Apache with this command...

service apache start
...or...
service httpd start


...I'm not sure if the package is called httpd or apache. I think older versions called it apache and newer versions label it as httpd.


ChrisP


 
thanks for all the replies -
I followed the instructions but I get a timeout when I open a browser and enter


Michael
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top