Welcome to WebmasterWorld Guest from 188.8.131.52
I have a small little php script that worked on an old 2005 dedicated linux server that worked great.
linux fedora core 2
now my host -(godaddy made me go to a new server)
fedora core 7
This simple little php page just will not work. I am certain it is due to the server is not set up to work on old PHP extensions/versions But I cannot figure out how to change it on the new server.
I have spent weeks reading php.ini file info, php data handling/extension books. And Im still in the dar.
I was hoping some one could help
here is some info to help
OLD Server - data-
----------------Fedorea Core 2 Linux-------from phptest.php results--
PHP Extension 20020429
New Server - data-
---------------Fedorea Core 7 Linux-------from phptest.php results--
PHP Extension 20060613
any ideas, thoughts, or just links to resources would help me tackle this needle in a haystack problem
Hello I have spent years on this forum taking in all the info. I try to contribute but this time I must ask for help.
But you did not spend a few seconds scrolling down the one page before the last one :)
Check that thread [webmasterworld.com]
if it does not help then we will need more details...
I will tackle this 1 thing at a time a php page that worked on a 2 year old,server does not work on a brand new php 5 server?
Im assuming this is an option in php.ini and not aserver module problem
any ideas anyone. My server tells me to f my self and google code is starting to look like alphabet soup
thank you for any help or hints
1. view source in the browser, what do you see? php code?
2. what extension do the files have?
3. do you use short tags, as mentioned in the thread henry0 linked to
Try something really simple (the good old <?php echo 'hello world!';?>) just to test if php is actually there.
If you have any rewrites in your htaccess then comment everything out, so that you are working with a blank system. You can add them back in afterwards.
Got a little bit firther. I can now get the page to load. It just will not return the rest of the query in the for of a nested array.
1. As far as the host wish I could - long story - hundreds of sites
2. short and long tags have been tried neither cahnges result
3. the good old <?php echo 'hello world!';?> - indeed gives "hello world result
4. Im guessing their is a syntax problem in php5 with the nested array query result but it works fine on other servers ?
anymore insights would be greatly appreciated
you could check to see if the path is right
you could try turning up error_reporting [php.net] and see if that guves you more info
It is not working on php5 server but worked on an older php 3 server any ideas?