|
|
|
| |||||||||
![]() |
|
|
«
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
|
|||
|
|||
|
Redhat 7.1/php
Dear Members
I am new to linux just installed Red hat 7.1 and it works fine. i tried to parse php file but failed. i put the php file at my document root at /var/www/html/test.php although Apache is running and Directory index in httpd.conf file has index.php option. second problem i am unable to execute linuxconfg from command line. please help to solve this problem. Regards |
|
#2
|
|||
|
|||
|
No where near enough information to help. First what is the error message that your browser is returning. Are you sure PHP is configured into Apache, all the index.php in the Directory index does is tell Apache that it can be used as a default document. You need to check to make sure that the php module is configured to be loaded by Apache.
The same goes for the linuxconfig, what is the error message that you are getting if any. Also check the logs, that is one of beautiful things about *nix systems is that error logs tend to be very informative. |
|
#3
|
|||
|
|||
|
as a result i get the php code it self in the browser at http://localhost/test.php
how can i test Apache is configured for php ? when run Linuxconfg from command line get error message command not found? thanks comidio |
|
#4
|
|||
|
|||
|
Sorry for the long delay. With the Linuxconfig, your Path is probably not configured correctly, so you can just use the absoute path to run it for now.
If you are getting the code then no php is probably not installed. I would get the php installed and see what happens. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Redhat 7.1/php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|