HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   PHP Website Not Displaying correctly (http://www.howtoforge.com/forums/showthread.php?t=60871)

supanatral 8th March 2013 22:53

PHP Website Not Displaying correctly
 
2 Attachment(s)
I'm trying to websites from an old Linux RHEL 8.0 server to a new ISPConfig server but there are a few websites giving me trouble. I've confirmed that the database is contactable and I've setup the database to be the same database name, username and password.

If you take a look at the one that's displaying improperly (running on ISPConfig), I noticed that there is a link to a picture that isn't showing. When I checked the picture URL, this is what I get:
Quote:

http://domain.com/phpThumb/phpThumb.php?src=images/products/%3C?=%20mysql_result($rs,$i,
On the server thats displaying correctly, the link to a picture shows as the following:
What could be the cause of this?

falko 9th March 2013 17:49

I guess PHP versions differ on both servers, and the programming is not compatible with newer PHP versions.

supanatral 9th March 2013 18:50

Thanks for your response.

I logged into the old web server and found PHP version 5.1.0 installed and on my ISPConfig, I have version 5.3.3 installed.

Is it possible to install both versions of PHP on the server?

supanatral 9th March 2013 20:05

Update: I found another server (running Windows Server) that had an old version of PHP when I tried hosting the website on this server, it worked.

Although this is somewhat of a success and allows me to completely retire the old Linux server, I am still very interested in migrating the website to the ISPConfig server if possible since the Windows Server is nearing retirement as well. Not to mention, the Windows server doesn't have MySQL installed on it so it's currently using the ISPConfig server as a database server which will create confusion in the future.

Once again, is it possible to install PHP 5.1.0 on my ISPConfig server?

ressel 11th March 2013 11:39

Quote:

Originally Posted by supanatral (Post 293614)
Update: I found another server (running Windows Server) that had an old version of PHP when I tried hosting the website on this server, it worked.

Although this is somewhat of a success and allows me to completely retire the old Linux server, I am still very interested in migrating the website to the ISPConfig server if possible since the Windows Server is nearing retirement as well. Not to mention, the Windows server doesn't have MySQL installed on it so it's currently using the ISPConfig server as a database server which will create confusion in the future.

Once again, is it possible to install PHP 5.1.0 on my ISPConfig server?

It should be...
http://www.php.net/releases/


All times are GMT +2. The time now is 08:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.