Need help on apache and PHP


 
Thread Tools Search this Thread
Operating Systems Linux Need help on apache and PHP
# 1  
Old 02-21-2012
Network Need help on apache and PHP

Hi All,

I just ordered unmanaged server for my application testing. But when I try to install the application it is showing blank page.

Done know, what will be reason it showing blank page


This is my output


[root@localhost share]# rpm -q php
php-5.3.10-5.el5.art
[root@localhost share]# rpm -q mysql
mysql-5.0.95-1.el5_7.1
mysql-5.0.95-1.el5_7.1
[root@localhost share]# rpm -q httpd
httpd-2.2.3-53.el5.centos.3


[root@localhost share]# php -v
PHP 5.3.10 (cli) (built: Feb 3 2012 08:20:28)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies


[root@localhost share]# mysql -V
mysql Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (x86_64) using readline 5.1

When i ran my application


http://IP/application path ---->showing blank page.


I can see test.html and readme.html. But i am not able to install the application
# 2  
Old 02-21-2012
IF am getting right .. You want .php page to be displayed over Apache ... right ... ?

Assuming you have complied apache with php modules and done necessary changes in httpd.conf

Code:
<html>
<head>
<title> PHP Test Script </title>
</head>
<body>
<?php
 phpinfo( );
 ?>
 </body>
</html>

Save this as your index.php for your base dir ... and reload httpd (if default) else apachectl from installed bin path ...

--Shirish Shukla
# 3  
Old 02-21-2012
I can see the phpinfo from my website
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

apache and php installation..

hi i need to install apache and php on my solaris server .. can u tell me the procedure... tell me as soon as possible.. (4 Replies)
Discussion started by: senkerth
4 Replies

2. Web Development

Can't restart apache. PHP is broken.

I need to restart my apache, but apachectl configtest tells me that Syntax error on line 208 of /etc/httpd/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: ap_signal I've tried rebuilding php, I'm not... (2 Replies)
Discussion started by: tatebn
2 Replies

3. UNIX for Advanced & Expert Users

how to know which version of PHP and apache is in my server?

Hi, How to get the version of php, apache and WebSphere instealled in my server. The OS is AIX. Thanks in advance. R R VARMA (1 Reply)
Discussion started by: RRVARMA
1 Replies

4. Web Development

Apache + DSO PHP

Hello, guys! I have a web server that uses PHP as DSO. Do you know any tool that can help me monitoring the CPU usage for any domain/subdomain that is hosted on this server? (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

5. Linux

Installing Php for apache

Hi i am using Fedora 8 and it comes with precompiled rpm distribution of php. I want to configure my Apache web server for php . Did i need to recompile php.... or it can be configured accordingly for apache... Thanks for any sort of help (1 Reply)
Discussion started by: joshighanshyam
1 Replies

6. UNIX for Advanced & Expert Users

configure php with postgresql and apache

Hi, I'm trying to configure php4 to run alongside postgresql and apache. Postgres and apache are already installed and running, but I am getting an error when doing: host84:~/php-4.4.9#./configure --with-apache=/usr/local/apache --with-postgresql=/usr/local/pgsql loading cache ./config.cache... (5 Replies)
Discussion started by: sdbeng
5 Replies

7. AIX

PHP,Apache on AIX machine

I have done charts in PHP with following environment; 1) PHP 5.2.x 2) Webserver Apache 2.2.4 or higher 3) Perl 5.8.7 4) GD 2.0.1 5) JPgraph 2.1.1 It works fine in Windowx XP, Red hat linux 3.x.Now I need to move this PHP programs to AIX machine which has following environment: PHP 4.0.6... (6 Replies)
Discussion started by: kumarangopi
6 Replies

8. Shell Programming and Scripting

Books on PHP & APACHE

Can anybody please suggest me a good book to learn PHP and Apache. I want to use it for general programming and espeacially as front end tool for INFORMIX RDBMS. The book should guide me from the basics, as I am a beginer for PHP & Apache on SUSE Linux 9.0. (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

9. UNIX for Dummies Questions & Answers

apache, php on solaris

Hi, our spark 5, os 2.8, solaris 8, came with Apache. But this Apache is some kind of bastardized wrapper that has no configuration files, nothing. So, I got the real version of Apache that is configurable. That is so I can configure it with PHP-4. I installed this new Apache version but now I... (6 Replies)
Discussion started by: softarch
6 Replies
Login or Register to Ask a Question