I know I’m missing something and feel stupid.
I’ve been developing a web application using php and Mysql on a server running ubuntu 11 over the past year of so. I do this part time. I wanted to make it more secure and when I started working on it again I found I had to update my version of PHP. Now none of the functions I had in my include files will work. I include the files and then called the functions from in the include files.
Was there a change somewhere along the updates where this will no longer work?
My guess is you don’t have error reporting turned on:
[php]/* Turn on error reporting */
ini_set(‘display_errors’, 1);
ini_set(‘display_startup_errors’, 1);
error_reporting(-1);[/php]
Put this in your configuration file or at the very top of your page. My guess is that you have depreciated code somewhere.
Well, which version did you have before and which did you upgrade to?
Here is a link to migrating from various versions. You can find the ones you did and maybe it will help, to.
http://php.net/manual/en/migration53.php
That was it… Thanks Strider64. I have depreciated code.
I think I was using php5.0 or something. Now I know where to go from here…
to make your life easier. Update it to either 5.6 or 7. If you go the 5.6 route, make sure that the functions you are using are still viable in 7 to prevent the code from failing in the near future.