Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

cant read php4 files

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  cant read php4 on linux machine  
Author Message
arielmoshe_28

External


Since: Mar 26, 2004
Posts: 3



(Msg. 1) Posted: Fri Mar 26, 2004 8:38 pm
Post subject: cant read php4 files
Archived from groups: alt>apache>configuration (more info?)

hi,
i use redhat 8 machine to run apache 2.0.40 & php4, i can read
html pages fine from other computer that connected to the network but
can`t read php. i checked and see that the module libphp4.so is
loaded, and the php code is simple and fine.thw problem is the same in
the local machine. can someone help me with it?

 >> Stay informed about: cant read php4 files 
Back to top
Login to vote
eric11

External


Since: Mar 28, 2004
Posts: 3



(Msg. 2) Posted: Sun Mar 28, 2004 8:30 pm
Post subject: Re: cant read php4 files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > hi,
 > i use redhat 8 machine to run apache 2.0.40 & php4, i can
read
 > html pages fine from other computer that connected to the network
but
 > can`t read php. i checked and see that the module libphp4.so is
 > loaded, and the php code is simple and fine.thw problem is the same
in
 > the local machine. can someone help me with it?
 >
 >
Hi,

We need some clarification here. Does the PHP code get displayed
directly into the browser as it is in the script? If so, you should
add:

--------
AddType application/x-httpd-php .php
--------

To your httpd.conf file and then restart Apache.

[SIZE=3]Eric 'phpfreak' Rosebrock[/SIZE]

[b]When making changes to the httpd.conf file, ALWAYS
restart Apache to make the changes take effect![/b]

<a style='text-decoration: underline;' href="http://www.thewebfreaks.com" target="_blank">http://www.thewebfreaks.com</a>
<a style='text-decoration: underline;' href="http://www.linuxforum.com" target="_blank">http://www.linuxforum.com</a>
<a style='text-decoration: underline;' href="http://www.apachefreaks.com" target="_blank">http://www.apachefreaks.com</a>
<a style='text-decoration: underline;' href="http://www.mysqlfreaks.com" target="_blank">http://www.mysqlfreaks.com</a>
<a style='text-decoration: underline;' href="http://www.phpfreaks.com" target="_blank">http://www.phpfreaks.com</a>

[b]Fatal error: Call to undefined function: brain() in ./self.php on
line 1[/b]

--------------------------------------------
The post originated from ApacheFreaks.com:
--------------------------------------------
<a style='text-decoration: underline;' href="http://www.apachefreaks.com" target="_blank">http://www.apachefreaks.com</a>
<a style='text-decoration: underline;' href="http://www.apachefreaks.com/forums" target="_blank">http://www.apachefreaks.com/forums</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: cant read php4 files 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
cant read php4 on linux machine - hi, i use redhat 8 machine to run apache 2.0.40 & php4, i can read html pages fine from other computer that connected to the network but can`t read php. i checked and see that the module libphp4.so is loaded, and the php code is simple and fine.t...

I can't read .php3 files. - Hi all, I have debian linux with apache 1.3.26 and php4 4.1.2-6 I can read .php files but NOT .php3 files. PHP3 is not installed, while I'm thinking release 4 is able to run also ..php3 files. In my httpd.conf I have only LoadModule php4_module..

Apache 2.0?48, PHP4 and Win XP - Hi all I know this question must have been in this group a thousand at least but I can't find the answer. I can't add PHP4 as a module, when I add the following line in my configuration file : LoadModule php4_module "C:/serveur/php/sapi/php4apach...

Apache2 work with PHP4 - Hi all! I am running a SuSE 8.2 server with apache2 on it. I tried to use php on that server by installing mod_php and other necessary rpm's. Normally you run SuSEconfig and the whole thing is working. But with Apache2 it doesn't. On the tail of the..

apache 1.3.20, mod_rewrite, php4 - Hi all, just another mod_rewrite question i guess ... well here we go: We have an application-server (with integrated web-server) running in our intranet. Further we have an Linux box running with Apache 1.3.20 and PHP4 as our webserver both for intra....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]