Re: Script stops working since activate new php version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 27, 2015 at 4:14 PM, Release Edl <release_editorial@xxxxxxxxxxxx
> wrote:

> I Replace all instances of PHP code that starts with "<?" to "<?php and
> try the Lester Caine suggestion too, loading conexao.php only one time.
> But, still doesn't work....
>
> "Aziz Saleh" <azizsaleh@xxxxxxxxx> escreveu na mensagem
> news:CAPJtNhVEC_nP79xWy+XVQhDPeo2rahAicME_bfWFgiaoJtqUxg@xxxxxxxxxxxxxx...
>
>  On Fri, Feb 27, 2015 at 2:40 PM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>>  On 2/27/2015 2:26 PM, Aziz Saleh wrote:
>>>
>>>  Replace all instances of PHP code that starts with "<?" to "<?php". Also
>>>> insure that mysql_* drivers are installed.
>>>>
>>>>
>>>>  Actually - make sure mysqlI or PDO is installed and forget the mysql
>>> drivers.  They are deprecated and have been for awhile now, so it's time
>>> to
>>> update your code while upgrading your server.
>>>
>>>
>>>
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>  Sorry meant to say are activated (they should be installed by default).
>> If
>> you do have the resources and expertise to upgrade to PDO then like Jim
>> said do it.
>>
>> Also when responding please respond to the entire mailing list.
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
You seem to have ignored the most important suggestion, turn error
reporting on. Add to the top of file:

<?php
error_reporting(-1);
ini_set('display_errors', 'on');

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux