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

php code displayed instead of execution

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Links to index.htm?directory/...  
Author Message
craig4

External


Since: Jan 29, 2005
Posts: 22



(Msg. 1) Posted: Tue Oct 04, 2005 4:27 pm
Post subject: php code displayed instead of execution
Archived from groups: alt>apache>configuration (more info?)

what does this mean?

Installed apache 2.0.53
php-4.4.0
mysql-4.1.14

I do have php-5.0.5 but I can not get it to compile with mysql-4.1.14 so
I have to use a version of php that comes with the mysql library.

 >> Stay informed about: php code displayed instead of execution 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Wed Oct 05, 2005 7:08 am
Post subject: Re: php code displayed instead of execution [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: php code displayed instead of execution 
Back to top
Login to vote
craig4

External


Since: Jan 29, 2005
Posts: 22



(Msg. 3) Posted: Wed Oct 05, 2005 7:31 pm
Post subject: Re: php code displayed instead of execution [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> it means that your PHP is not executed,
will do
> AddType directives.
I had this apache and php05.0.4 working in the past and not remember
having to mess with the AddType directives
Your referring to those in the httpd.conf y/n
>
>
>>I do have php-5.0.5 but I can not get it to compile with mysql-4.1.14
>
>
> See the documentation for PHP for this.
mysql-standard-4.1.14-pc-linux-gnu-i686-icc-glibc23.tar.gz
php-5.0.5 ->
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/home/craig/mysql --prefix=/usr/local/apache2/php
--with-config-file-path=/usr/local/apache2/php
--enable-force-cgi-redirect --disable-cgi --with-zlib --with-bz2
--with-gettext --with-gdbm --enable-mbstring --with-gd
--enable-gd-imgstarttf --enable-gd-native-tff

the errors ->
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no

which I've yet to find a solution for so I returned to php-4.4.0

>
> Davide
>
 >> Stay informed about: php code displayed instead of execution 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Thu Oct 06, 2005 1:55 am
Post subject: Re: php code displayed instead of execution [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
Related Topics:
Max execution time - Fatal error: Maximum execution time of 30 seconds exceeded in d:\admin\phpmyadmin_2\read_dump.php on line 19 Windows NT 5.0 build 2195 Apache/1.3.24 (Win32) PHP/4.2.0 MySQL/3.23.49 Timeout 300 KeepAliveTimeout 15 Where in http.conf is set the maximum....

no execution of user CGI scripts - Hello, I'm using Apache 1.3.26 on Debian GNU/Linux 3.0r1. I have enabled the ExecCGI option for user WWW directories (like /home/wolfgang/public_html) and have the line AddHandler cgi-script .cgi .sh .pl in my httpd.conf file. I have several small....

page cannot be displayed - - Hi All, I just installed Apache 2.0 on windows 2000 pro. I just can't see the default web page online (ip address 24.95.234.192) but I can see it in my internal ip address. I have a router and I have forward port 80 to the computer with apache on it. ...

Same page displayed again and again - Hello all, Say my compiled from source server : Apache/2.0.49 (Unix) mod_ssl/2.0.49 OpenSSL/0.9.7c DAV/2 PHP/4.3.6 SVN/1.0.4 configured When i request a php home page (index.php for example), all display well. But when (let's say phpBB for example) i....

ErrorDocument not displayed - Im using apache 1.3 and mod_proxy + vhosts to forward requests from a firewall computer to a series of internal webservers. If one of the internal servers isn't online when a request is made, the user will get a proxy error(502). Instead of this, I want...
   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 ]