how do i activate php on linux....

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how do i activate php on linux....
# 1  
Old 01-02-2004
how do i activate php on linux....

i have activated mysql, and apache on my redhat 9 box, i went to mr BASH and wrote a php script, and it wouldn't execute.

any help?????????????????????????????????????
is there something that i need to activate???????

i have RUBY[fast and easy scripting lang unit test for c/c++ applications] on there too,does it matter or no???

Any help is appreciated........
i haven't newbie to php and sql Smilie
# 2  
Old 01-02-2004

You have apache and mysql, though you don't have PHP... install it. Then you have to add something like these to httpd.conf:
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
# 3  
Old 01-03-2004
Thanks for the fast reply!

every thing works dandy now...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Activate command when computer is idle

I would like to run a command if my computer is idle. I found this, but is not quite working. #!/bin/sh idletime=$(xprintidle) threshold=300000 # 5 min = 5 * 60 * 1000 ms if ; then echo "idle for 5 minutes." fi (4 Replies)
Discussion started by: drew77
4 Replies

2. Shell Programming and Scripting

Activate all Linux services script

Now i'm up to making a script from which you could activate all Linux services without being an expert. It's gonna be a powerful tool, I'll look forward to make it able to change the port which the service is assigned to. But I need some help, post some script to activate services and I'll fusion... (8 Replies)
Discussion started by: Dax01
8 Replies

3. Red Hat

activate ftp from xinetd

Hello all, Im trying to configure the ftp service (port 21) in a Red Hat Enterprise 4 from xinetd. Anybody have done this? Thank you in advance. (3 Replies)
Discussion started by: mig28mx
3 Replies

4. Red Hat

Unable to activate Gedit plugin

Hi everyone I downloaded the multi-edit plugin for Gedit from this link: Multi-edit | Jon Walsh I copied all the files in ~/.gnome2/gedit/plugins/ as described in the website but I can't activate the plugin. I can see it but I can't activate it in Gedit preferences. Does anyone come... (0 Replies)
Discussion started by: goude
0 Replies

5. Forum Support Area for Unregistered Users & Account Problems

Cannot post thread or activate account

Please help i cannot post a new thread or activate my account i have tried everything!!!:mad: (1 Reply)
Discussion started by: pure_jax
1 Replies

6. IP Networking

How to activate a network interface?

What are the steps between "ifconfig eth0 UP" and "net_device->open"? ifconfig eth0 UP => ioctl(skfd, SIOCSIFFLAGS, &ifr) (ifr.ifr_flags = IFF_UP | IFF_RUNNING) => ????? => what are these steps? net_device->open Thanks! (1 Reply)
Discussion started by: samuncle
1 Replies

7. UNIX for Advanced & Expert Users

activate and deactivate

hi all by using gethostbyname, i can know whether the net is available or not. it is working fine when i activate or deactivate in neat. the problem is when i remove cable(netcable) it is not working proparly, i would like to know it. am using fedora5, AMD can u please help me . thank... (3 Replies)
Discussion started by: munna_dude
3 Replies

8. AIX

How to activate the NTP on AIX 5.3

Hello everyone; can any help me to know how to activate the NTP on mein AIX server? The proprosal its thet 3 oder servers are synv on time. Thaks, and regards (3 Replies)
Discussion started by: GEIER
3 Replies

9. Solaris

Find and activate a terminal window

I am writing some java code to automate running an application on a Sun system. The application opens 9 terminal windows. Of those nine windows, I have to find two and give them focus long enough to send a keystroke. Since there seems to be no way to do this using java, is there a unix command I... (0 Replies)
Discussion started by: cmp1jrv
0 Replies

10. Slackware

how to activate USB mouse

:confused: I am using Linux for a while and now changed to slackware for my study and it is not as good as redhat everytime when you add this or that it needs either configure modules or recompile kernel Now I changed from PS/2 mouse to USB trouble starts it refuse to work I know I can... (3 Replies)
Discussion started by: slackware
3 Replies
Login or Register to Ask a Question

Featured Tech Videos