?
Solved

PHP server doesnt work properly

Posted on 2003-03-02
7
Medium Priority
?
145 Views
Last Modified: 2010-04-20
I installed my Apache server on my Redhat 8 machine, I also installed the PHP module.
When I put a page in place with the phpinfo() function, I receive a correct page (compared to my professional hosting).
When I make a little exercice with an HTML page that fills in a form and calls a PHP page to display the entries of the form, it doesn show the correct things.
When I upload this page to my payed hosting, it seems to do it correct.
What am I doing wrong ?


Thanks,


Oliver
0
Comment
Question by:oliware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Expert Comment

by:NoSanity
ID: 8052994
you need to check the settings in your PHP.ini file (on my windows box its C:\windows\php.ini but i dont know about linux cos i havnt got PHP or apache on it yet). If possible ask your host to send you a copy of their php.ini ifle and replace yours with it or vopy the contents
0
 
LVL 8

Expert Comment

by:heskyttberg
ID: 8055784
Hi!

I'm not sure this has to do with php.ini, but it can be found in:
/etc

Full path:
/etc/php.ini

Check the settings there so they are waht you want them to be.

You should not take a php.ini file from any other computers, that is a BAD idea, since paths will most likely be diffrent.

Regards
/Hans - Erik Skyttberg
0
 

Author Comment

by:oliware
ID: 8066085
Thanks for your answers, it still doesn't work.
I made another file with the phpinfo() function in it and this works great.
Can somebody with more or less the same config please send me their http.conf file and their php.ini file ?
Thankz,


GoldWing@beer.com
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 
LVL 8

Expert Comment

by:heskyttberg
ID: 8068201
Hi!

Why not backup httpd.conf and php.ini.

Then do this:
download apache* and php* from redhat updates.

rpm -Uvh --force --nodeps apache* php*

Edit /etc/httpd/conf/httpd.conf
set servername don't change anything else.

Start apache and try your php page.

Regards
/Hans - Erik Skyttberg
0
 

Author Comment

by:oliware
ID: 8073312
It was not necessary.
The problem was that the variables were case-sensitive.

Thanks anyway
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 11741772
PAQed, with points refunded (50)

Netminder
Site Admin
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question