![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
<? phpinfo(); ?>
I had my my php working and and was using the above statement to run a php test page. I did not reboot, or restart httpd, but when i came back to play after a 6 day vacation i found that the page no longer displayed the php info. The statement only shows <? phpinfo(); ?> as a standard html.
I have rebooted, httpd restart stop and start, i have looked through my httpd.conf file and made sure that it is loading the php modules and did httpd -T and all is running right? But, i still am not getting display of php info. Any suggestions. |
| Forum Sponsor | ||
|
|
|
||||
|
Make sure nobody changed your apache config file. You should have a line like:
AddType application/x-httpd-php .php4 .php3 .phtml .php in there somewhere, or something similar. This is how the server knows that the .php files should be processed before being served. |
|
|||
|
Ok, i have tryed the above---now for the extreme...I think.
How do i uninstall php, apache, mysql? I know how to use the gnorpm, but it complaints about all the dependencies and does not like to get them. Is there a command line way that is a little more efficient? When it comes back to installing what is the best way? System redhat 7.1 Connection Cable 400 mgz 500 ram |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| "inappropriate ioctl for device" 421 service not available, remote server has closed connection autosys awk trim bash eval bash exec bash for loop boot: cannot open kernel/sparcv9/unix close_wait command copy/move folder in unix curses.h cut command in unix dead.letter find grep find null character in a unix file grep multiple lines grep or grep recursive inaddr_any inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix date command unix forum unix forums unix interview questions unix mtime unix simulator unix.com vi select all vi tab size vi+substitute+end+of+line+character while loop within while loop shell script |